user.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /* user.less */
  2. .user-box {
  3. margin: 8px;
  4. width: 115px;
  5. height: 160px;
  6. text-align: center;
  7. float: left;
  8. clear: none;
  9. }
  10. .userlist .action-icon img {
  11. vertical-align: middle;
  12. }
  13. .userlist #showall {
  14. margin: 10px 0;
  15. }
  16. .userlist .buttons {
  17. text-align: center;
  18. }
  19. .userlist .buttons label {
  20. padding: 0 3px;
  21. }
  22. .userlist table#participants {
  23. text-align: center;
  24. }
  25. .userlist table#participants td,
  26. .userlist table#participants th {
  27. vertical-align: middle;
  28. text-align: left;
  29. padding: 4px;
  30. }
  31. .userlist table.controls {
  32. width: 100%;
  33. }
  34. .userlist table.controls tr {
  35. vertical-align: top;
  36. }
  37. .userlist table.controls td.right,
  38. .userlist table.controls td.left {
  39. padding: 4px;
  40. }
  41. .userlist table.controls .right {
  42. text-align: right;
  43. }
  44. .userinfobox {
  45. width: 100%;
  46. border: 1px solid;
  47. border-collapse: separate;
  48. padding: 10px;
  49. }
  50. .userinfobox .left,
  51. .userinfobox .side {
  52. width: 100px;
  53. vertical-align: top;
  54. }
  55. .userinfobox .userpicture {
  56. width: 100px;
  57. height: 100px;
  58. }
  59. .userinfobox .content {
  60. vertical-align: top;
  61. }
  62. .userinfobox .links {
  63. width: 100px;
  64. padding: 5px;
  65. vertical-align: bottom;
  66. }
  67. .userinfobox .links a {
  68. display: block;
  69. }
  70. .userinfobox .list td {
  71. padding: 3px;
  72. }
  73. .userinfobox .username {
  74. padding-bottom: 20px;
  75. font-weight: bold;
  76. }
  77. .userinfobox td.label {
  78. text-align: right;
  79. white-space: nowrap;
  80. vertical-align: top;
  81. font-weight: bold;
  82. }
  83. .groupinfobox {
  84. .well
  85. }
  86. .groupinfobox .left {
  87. padding: 10px;
  88. width: 100px;
  89. vertical-align: top;
  90. }
  91. .course-participation #showall {
  92. text-align: center;
  93. margin: 10px 0;
  94. }
  95. #user-policy .noticebox {
  96. text-align: center;
  97. margin-left: auto;
  98. margin-right: auto;
  99. margin-bottom: 10px;
  100. width: 80%;
  101. height: 250px;
  102. }
  103. #user-policy #policyframe {
  104. width: 100%;
  105. height: 100%;
  106. }
  107. .iplookup #map {
  108. margin: auto;
  109. }
  110. .userselector select {
  111. width: 100%;
  112. }
  113. .userselector div {
  114. margin-top: 0.2em;
  115. }
  116. .userselector div label {
  117. margin-right: 0.3em;
  118. }
  119. /* Next style does not work in all browsers but looks nicer when it does */
  120. .userselector .userselector-infobelow {
  121. font-size: 0.8em;
  122. }
  123. #userselector_options {
  124. padding: 0.3em 0;
  125. }
  126. #userselector_options .collapsibleregioncaption {
  127. font-weight: bold;
  128. }
  129. #userselector_options p {
  130. margin: 0.2em 0;
  131. text-align: left;
  132. }
  133. /** user full profile */
  134. #page-user-profile .messagebox {
  135. text-align: center;
  136. margin-left: auto;
  137. margin-right: auto;
  138. }
  139. /** user course profile */
  140. #page-course-view-weeks .messagebox {
  141. text-align: center;
  142. margin-left: auto;
  143. margin-right: auto;
  144. }