Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

app.less 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. .text-center() {
  2. text-align: center;
  3. }
  4. .border-radius(@radius) {
  5. -webkit-border-radius: @radius;
  6. -moz-border-radius: @radius;
  7. border-radius: @radius;
  8. }
  9. .no-text-select {
  10. -webkit-touch-callout: none;
  11. -webkit-user-select: none;
  12. -khtml-user-select: none;
  13. -moz-user-select: none;
  14. -ms-user-select: none;
  15. user-select: none;
  16. }
  17. /**
  18. ========================================================
  19. **/
  20. .md-group-button {
  21. margin: 0;
  22. padding: 0;
  23. min-height: 0;
  24. line-height: 30px;
  25. font-weight: bold;
  26. }
  27. .md-group-button-checked {
  28. background-color: rgba(0, 0, 0, 0.12);
  29. }
  30. .md-sidebar md-content {
  31. height: 100%;
  32. min-height: 150px;
  33. }
  34. .md-main-content {
  35. margin-left: 5px;
  36. }
  37. .welcome-message {
  38. font-size: large;
  39. }
  40. @media (max-width: 479px){
  41. .seven-cols .col-sm-1 {
  42. width: 100%;
  43. *width: 100%;
  44. }
  45. }
  46. @media (min-width: 480px) {
  47. .seven-cols .col-sm-1 {
  48. width: 14.285714285714285714285714285714%;
  49. *width: 14.285714285714285714285714285714%;
  50. }
  51. }
  52. @calendar-height: 24*30px;
  53. @grey-color: #505050;
  54. @course-font-size: 12px;
  55. .day-column {
  56. .text-center();
  57. border-left: solid @grey-color 1px;
  58. border-top: solid @grey-color 1px;
  59. border-bottom: solid @grey-color 1px;
  60. height: @calendar-height;
  61. padding: 0;
  62. }
  63. .day-column-header {
  64. background-color: darkorange;
  65. color: #2e6da4;
  66. font-weight: bold;
  67. }
  68. .day-column-header-current {
  69. color: red;
  70. }
  71. .day-column-header-today {
  72. color: green;
  73. }
  74. .day-column-header-day {
  75. padding-top: 5px;
  76. }
  77. .day-column-header-date {
  78. padding-bottom: 5px;
  79. border-bottom: solid @grey-color 1px;
  80. }
  81. .day-column-course {
  82. position: absolute;
  83. background-color: cadetblue;
  84. width: 100%;
  85. border-top: solid @grey-color 1px;
  86. border-bottom: solid @grey-color 1px;
  87. overflow: hidden;
  88. cursor: pointer;
  89. &:hover {
  90. left: 0 !important;
  91. width: 100% !important;
  92. z-index: 10;
  93. }
  94. }
  95. .day-column-courses {
  96. height: @calendar-height - 50px;
  97. position: relative;
  98. }
  99. .day-column-course-name {
  100. font-weight: bold;
  101. font-size: @course-font-size;
  102. }
  103. .day-column-room-name {
  104. font-size: @course-font-size;
  105. text-decoration: underline;
  106. }
  107. .day-column-staff-name {
  108. font-size: @course-font-size;
  109. font-style: italic;
  110. }
  111. .day-column-course-hour {
  112. font-size: @course-font-size;
  113. }
  114. .day-column-group-name {
  115. font-size: @course-font-size;
  116. }
  117. .days-container {
  118. padding-left: 0;
  119. width: 90%;
  120. }
  121. .hour-column {
  122. .day-column();
  123. margin-top: 50px;
  124. height: @calendar-height - 50px;
  125. width: 50px;
  126. }
  127. .day-column-hours {
  128. .day-column-courses();
  129. }
  130. .day-column-hour {
  131. position: absolute;
  132. width: 100%;
  133. margin-top: -10px;
  134. text-align: right;
  135. }
  136. .sidebar-group-list {
  137. height: 100%;
  138. min-height: 75px;
  139. }
  140. .course-dialog {
  141. min-width: 400px;
  142. }