You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.less 2.8KB

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