您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

app.less 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. }
  90. .day-column-courses {
  91. height: @calendar-height - 50px;
  92. position: relative;
  93. }
  94. .day-column-course-name {
  95. font-weight: bold;
  96. font-size: @course-font-size;
  97. }
  98. .day-column-room-name {
  99. font-size: @course-font-size;
  100. text-decoration: underline;
  101. }
  102. .day-column-staff-name {
  103. font-size: @course-font-size;
  104. font-style: italic;
  105. }
  106. .day-column-course-hour {
  107. font-size: @course-font-size;
  108. }
  109. .day-column-group-name {
  110. font-size: @course-font-size;
  111. }
  112. .days-container {
  113. padding-left: 0;
  114. width: 90%;
  115. }
  116. .hour-column {
  117. .day-column();
  118. margin-top: 50px;
  119. height: @calendar-height - 50px;
  120. width: 50px;
  121. }
  122. .day-column-hours {
  123. .day-column-courses();
  124. }
  125. .day-column-hour {
  126. position: absolute;
  127. width: 100%;
  128. margin-top: -10px;
  129. text-align: right;
  130. }
  131. .sidebar-group-list {
  132. height: 100%;
  133. min-height: 75px;
  134. }
  135. .course-dialog {
  136. min-width: 400px;
  137. }