Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

app.less 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. .md-main-content {
  2. padding-top: 10px;
  3. padding-left: 10px;
  4. }
  5. .text-center() {
  6. text-align: center;
  7. }
  8. .border-radius(@radius) {
  9. -webkit-border-radius: @radius;
  10. -moz-border-radius: @radius;
  11. border-radius: @radius;
  12. }
  13. .no-text-select {
  14. -webkit-touch-callout: none;
  15. -webkit-user-select: none;
  16. -khtml-user-select: none;
  17. -moz-user-select: none;
  18. -ms-user-select: none;
  19. user-select: none;
  20. }
  21. /**
  22. ========================================================
  23. **/
  24. .md-group-button {
  25. margin: 0;
  26. padding: 0;
  27. min-height: 0;
  28. line-height: 30px;
  29. font-weight: bold;
  30. }
  31. .md-group-button-checked {
  32. background-color: rgba(0, 0, 0, 0.12);
  33. }
  34. @media (max-width: 479px){
  35. .seven-cols .col-sm-1 {
  36. width: 100%;
  37. *width: 100%;
  38. }
  39. }
  40. @media (min-width: 480px) {
  41. .seven-cols .col-sm-1 {
  42. width: 14.285714285714285714285714285714%;
  43. *width: 14.285714285714285714285714285714%;
  44. }
  45. }
  46. @calendar-height: 24*30px;
  47. @grey-color: #dddddd;
  48. @course-font-size: 12px;
  49. @header-text-color: rgba(255, 255, 255, 0.70);
  50. @header-bg-color: #F44336;
  51. .day-column {
  52. .text-center();
  53. border-left: solid @grey-color 1px;
  54. border-top: solid @grey-color 1px;
  55. border-bottom: solid @grey-color 1px;
  56. height: @calendar-height;
  57. padding: 0;
  58. }
  59. .day-column-header {
  60. background-color: @header-bg-color;
  61. color: @header-text-color;
  62. //font-weight: bold;
  63. }
  64. .day-column-header-current {
  65. background-color: #D32F2F;
  66. }
  67. .day-column-header-today {
  68. color: white;
  69. font-weight: bold;
  70. }
  71. .day-column-header-day {
  72. padding-top: 5px;
  73. }
  74. .day-column-header-date {
  75. padding-bottom: 5px;
  76. border-bottom: solid @grey-color 1px;
  77. }
  78. .day-column-course {
  79. position: absolute;
  80. background-color: #FFCDD2;
  81. width: 100%;
  82. border-top: solid @grey-color 1px;
  83. border-bottom: solid @grey-color 1px;
  84. overflow: hidden;
  85. cursor: pointer;
  86. &:hover {
  87. left: 0 !important;
  88. width: 100% !important;
  89. z-index: 10;
  90. opacity: 0.8;
  91. }
  92. }
  93. .day-column-courses {
  94. height: @calendar-height - 50px;
  95. position: relative;
  96. }
  97. .day-column-course-name {
  98. font-weight: bold;
  99. font-size: @course-font-size;
  100. }
  101. .day-column-room-name {
  102. font-size: @course-font-size;
  103. text-decoration: underline;
  104. }
  105. .day-column-staff-name {
  106. font-size: @course-font-size;
  107. font-style: italic;
  108. }
  109. .day-column-course-hour {
  110. font-size: @course-font-size;
  111. }
  112. .day-column-group-name {
  113. font-size: @course-font-size;
  114. }
  115. .days-container {
  116. padding-left: 0;
  117. width: 90%;
  118. }
  119. .hour-column {
  120. .day-column();
  121. margin-top: 50px;
  122. height: @calendar-height - 50px;
  123. width: 50px;
  124. }
  125. .day-column-hours {
  126. .day-column-courses();
  127. }
  128. .day-column-hour {
  129. position: absolute;
  130. width: 100%;
  131. margin-top: -10px;
  132. text-align: right;
  133. color: rgba(0, 0, 0, 0.54)
  134. }
  135. .sidebar-group-list {
  136. height: 100%;
  137. min-height: 75px;
  138. }
  139. .course-dialog {
  140. min-width: 400px;
  141. }