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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. footer {
  2. margin: 50px 0;
  3. }
  4. .text-center() {
  5. text-align: center;
  6. }
  7. .border-radius(@radius) {
  8. -webkit-border-radius: @radius;
  9. -moz-border-radius: @radius;
  10. border-radius: @radius;
  11. }
  12. .no-text-select {
  13. -webkit-touch-callout: none;
  14. -webkit-user-select: none;
  15. -khtml-user-select: none;
  16. -moz-user-select: none;
  17. -ms-user-select: none;
  18. user-select: none;
  19. }
  20. /**
  21. ========================================================
  22. **/
  23. .md-group-button {
  24. margin: 0;
  25. padding: 0;
  26. min-height: 0;
  27. line-height: 30px;
  28. }
  29. .md-group-button-checked {
  30. background-color: rgba(0, 0, 0, 0.12);
  31. }
  32. .md-sidebar md-content {
  33. height: 100%;
  34. min-height: 150px;
  35. }
  36. .md-main-content {
  37. margin-left: 5px;
  38. }
  39. .welcome-message {
  40. font-size: large;
  41. }
  42. @media (max-width: 479px){
  43. .seven-cols .col-sm-1 {
  44. width: 100%;
  45. *width: 100%;
  46. }
  47. }
  48. @media (min-width: 480px) {
  49. .seven-cols .col-sm-1 {
  50. width: 14.285714285714285714285714285714%;
  51. *width: 14.285714285714285714285714285714%;
  52. }
  53. }
  54. @calendar-height: 24*30px;
  55. @grey-color: #505050;
  56. .day-column {
  57. .text-center();
  58. border-left: solid @grey-color 1px;
  59. border-top: solid @grey-color 1px;
  60. border-bottom: solid @grey-color 1px;
  61. height: @calendar-height;
  62. padding: 0;
  63. }
  64. .day-column-header {
  65. background-color: darkorange;
  66. color: #2e6da4;
  67. font-weight: bold;
  68. }
  69. .day-column-header-current {
  70. color: red;
  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: cadetblue;
  82. width: 100%;
  83. border-top: solid @grey-color 1px;
  84. border-bottom: solid @grey-color 1px;
  85. overflow: hidden;
  86. cursor: pointer;
  87. }
  88. .day-column-courses {
  89. height: @calendar-height - 50px;
  90. position: relative;
  91. }
  92. .day-column-course-name {
  93. font-weight: bold;
  94. font-size: 12px;
  95. }
  96. .day-column-room-name {
  97. font-size: 12px;
  98. }
  99. .days-container {
  100. padding-left: 0;
  101. width: 90%;
  102. }
  103. .hour-column {
  104. .day-column();
  105. margin-top: 50px;
  106. height: @calendar-height - 50px;
  107. width: 50px;
  108. }
  109. .day-column-hours {
  110. .day-column-courses();
  111. }
  112. .day-column-hour {
  113. position: absolute;
  114. width: 100%;
  115. margin-top: -10px;
  116. text-align: right;
  117. }
  118. .sidebar-group-list {
  119. height: 100%;
  120. min-height: 75px;
  121. }