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 3.0KB

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