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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. }
  26. .md-group-button-checked {
  27. background-color: rgba(0, 0, 0, 0.12);
  28. }
  29. .md-sidebar md-content {
  30. height: 100%;
  31. min-height: 150px;
  32. }
  33. .md-main-content {
  34. margin-left: 5px;
  35. }
  36. .welcome-message {
  37. font-size: large;
  38. }
  39. @media (max-width: 479px){
  40. .seven-cols .col-sm-1 {
  41. width: 100%;
  42. *width: 100%;
  43. }
  44. }
  45. @media (min-width: 480px) {
  46. .seven-cols .col-sm-1 {
  47. width: 14.285714285714285714285714285714%;
  48. *width: 14.285714285714285714285714285714%;
  49. }
  50. }
  51. @calendar-height: 24*30px;
  52. @grey-color: #505050;
  53. @course-font-size: 12px;
  54. .day-column {
  55. .text-center();
  56. border-left: solid @grey-color 1px;
  57. border-top: solid @grey-color 1px;
  58. border-bottom: solid @grey-color 1px;
  59. height: @calendar-height;
  60. padding: 0;
  61. }
  62. .day-column-header {
  63. background-color: darkorange;
  64. color: #2e6da4;
  65. font-weight: bold;
  66. }
  67. .day-column-header-current {
  68. color: red;
  69. }
  70. .day-column-header-today {
  71. color: green;
  72. }
  73. .day-column-header-day {
  74. padding-top: 5px;
  75. }
  76. .day-column-header-date {
  77. padding-bottom: 5px;
  78. border-bottom: solid @grey-color 1px;
  79. }
  80. .day-column-course {
  81. position: absolute;
  82. background-color: cadetblue;
  83. width: 100%;
  84. border-top: solid @grey-color 1px;
  85. border-bottom: solid @grey-color 1px;
  86. overflow: hidden;
  87. cursor: pointer;
  88. }
  89. .day-column-courses {
  90. height: @calendar-height - 50px;
  91. position: relative;
  92. }
  93. .day-column-course-name {
  94. font-weight: bold;
  95. font-size: @course-font-size;
  96. }
  97. .day-column-room-name {
  98. font-size: @course-font-size;
  99. text-decoration: underline;
  100. }
  101. .day-column-staff-name {
  102. font-size: @course-font-size;
  103. font-style: italic;
  104. }
  105. .day-column-course-hour {
  106. font-size: @course-font-size;
  107. }
  108. .days-container {
  109. padding-left: 0;
  110. width: 90%;
  111. }
  112. .hour-column {
  113. .day-column();
  114. margin-top: 50px;
  115. height: @calendar-height - 50px;
  116. width: 50px;
  117. }
  118. .day-column-hours {
  119. .day-column-courses();
  120. }
  121. .day-column-hour {
  122. position: absolute;
  123. width: 100%;
  124. margin-top: -10px;
  125. text-align: right;
  126. }
  127. .sidebar-group-list {
  128. height: 100%;
  129. min-height: 75px;
  130. }
  131. .course-dialog {
  132. min-width: 400px;
  133. }