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.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. background: none !important;
  37. }
  38. .welcome-message {
  39. font-size: large;
  40. }
  41. @media (max-width: 479px){
  42. .seven-cols .col-sm-1 {
  43. width: 100%;
  44. *width: 100%;
  45. }
  46. }
  47. @media (min-width: 480px) {
  48. .seven-cols .col-sm-1 {
  49. width: 14.285714285714285714285714285714%;
  50. *width: 14.285714285714285714285714285714%;
  51. }
  52. }
  53. @calendar-height: 24*30px;
  54. @grey-color: #dddddd;
  55. @course-font-size: 12px;
  56. @header-text-color: rgba(255, 255, 255, 0.70);
  57. @header-bg-color: #F44336;
  58. .day-column {
  59. .text-center();
  60. border-left: solid @grey-color 1px;
  61. border-top: solid @grey-color 1px;
  62. border-bottom: solid @grey-color 1px;
  63. height: @calendar-height;
  64. padding: 0;
  65. }
  66. .day-column-header {
  67. background-color: @header-bg-color;
  68. color: @header-text-color;
  69. //font-weight: bold;
  70. }
  71. .day-column-header-current {
  72. background-color: #D32F2F;
  73. }
  74. .day-column-header-today {
  75. color: white;
  76. font-weight: bold;
  77. }
  78. .day-column-header-day {
  79. padding-top: 5px;
  80. }
  81. .day-column-header-date {
  82. padding-bottom: 5px;
  83. border-bottom: solid @grey-color 1px;
  84. }
  85. .day-column-course {
  86. position: absolute;
  87. background-color: #FFCDD2;
  88. width: 100%;
  89. border-top: solid @grey-color 1px;
  90. border-bottom: solid @grey-color 1px;
  91. overflow: hidden;
  92. cursor: pointer;
  93. &:hover {
  94. left: 0 !important;
  95. width: 100% !important;
  96. z-index: 10;
  97. opacity: 0.8;
  98. }
  99. }
  100. .day-column-courses {
  101. height: @calendar-height - 50px;
  102. position: relative;
  103. }
  104. .day-column-course-name {
  105. font-weight: bold;
  106. font-size: @course-font-size;
  107. }
  108. .day-column-room-name {
  109. font-size: @course-font-size;
  110. text-decoration: underline;
  111. }
  112. .day-column-staff-name {
  113. font-size: @course-font-size;
  114. font-style: italic;
  115. }
  116. .day-column-course-hour {
  117. font-size: @course-font-size;
  118. }
  119. .day-column-group-name {
  120. font-size: @course-font-size;
  121. }
  122. .days-container {
  123. padding-left: 0;
  124. width: 90%;
  125. }
  126. .hour-column {
  127. .day-column();
  128. margin-top: 50px;
  129. height: @calendar-height - 50px;
  130. width: 50px;
  131. }
  132. .day-column-hours {
  133. .day-column-courses();
  134. }
  135. .day-column-hour {
  136. position: absolute;
  137. width: 100%;
  138. margin-top: -10px;
  139. text-align: right;
  140. color: rgba(0, 0, 0, 0.54)
  141. }
  142. .sidebar-group-list {
  143. height: 100%;
  144. min-height: 75px;
  145. }
  146. .course-dialog {
  147. min-width: 400px;
  148. }