Нема описа

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. // Fonts
  2. // @import url('https://fonts.googleapis.com/css?family=Nunito');
  3. // Variables
  4. @import 'variables';
  5. // Bootstrap
  6. @import '~bootstrap/scss/bootstrap';
  7. // Material Design
  8. @import '@material/layout-grid/mdc-layout-grid';
  9. @import '@material/typography/mdc-typography';
  10. @import '@material/button/mdc-button';
  11. @import '@material/icon-button/mdc-icon-button';
  12. @import '@material/checkbox/mdc-checkbox';
  13. @import '@material/data-table/mdc-data-table';
  14. body {
  15. padding-top: 80px;
  16. }
  17. /* Rules for sizing the icon. */
  18. .material-icons {
  19. .md-18 { font-size: 18px; }
  20. .md-24 { font-size: 24px; }
  21. .md-36 { font-size: 36px; }
  22. .md-48 { font-size: 48px; }
  23. }
  24. .landing-page-grid {
  25. // @include mdc-layout-grid-inner('desktop', 10vw, 32px);
  26. @media screen and (min-width: map-get($mdc-layout-grid-breakpoints, desktop)) {
  27. width: 80%;
  28. margin: auto 10%;
  29. }
  30. text-align: center;
  31. * {
  32. margin: 8px;
  33. }
  34. }
  35. .dashboard-grid {
  36. @media screen and (min-width: map-get($mdc-layout-grid-breakpoints, desktop)) {
  37. width: 80%;
  38. margin: auto 10%;
  39. }
  40. text-align: center;
  41. }
  42. // MDC card media
  43. #home-button-course {
  44. background-image: url('/images/course_1312478.png');
  45. }
  46. #home-button-professor {
  47. background-image: url('/images/chalkboard-teacher-solid.png');
  48. }
  49. #home-button-dashboard {
  50. background-image: url('/images/file-alt-regular.png');
  51. }
  52. #dash-button-csv {
  53. background-image: url('/images/file-csv.png');
  54. }
  55. #dash-button-schedule {
  56. background-image: url('/images/calendar-alt.png')
  57. }
  58. /* Rules for using icons as black on a light background. */
  59. .material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
  60. .material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
  61. /* Rules for using icons as white on a dark background. */
  62. .material-icons.md-light { color: rgba(255, 255, 255, 1); }
  63. .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
  64. .center-text {
  65. vertical-align: middle;
  66. text-align: center;
  67. white-space: nowrap;
  68. }
  69. // Fixes column headers in place
  70. // Apply to table wrapper
  71. .table-fixed-col-head {
  72. overflow-y: scroll;
  73. table thead th{
  74. position: -webkit-sticky;
  75. position: sticky;
  76. top: 0;
  77. background: white;
  78. }
  79. }
  80. // Fixes row headers in place
  81. // Apply to table wrapper
  82. .table-fixed-row-head {
  83. overflow-x: scroll;
  84. table tbody th {
  85. position: -webkit-sticky;
  86. position: sticky;
  87. left: 0;
  88. background: white;
  89. }
  90. table thead th:first-child {
  91. position: -webkit-sticky;
  92. position: sticky;
  93. left: 0;
  94. background: white;
  95. z-index: 1;
  96. }
  97. }
  98. .mdc-data-table {
  99. th {
  100. font-weight: bold;
  101. }
  102. .mdc-button {
  103. position: inherit;
  104. }
  105. .mdc-icon-button {
  106. position: inherit;
  107. }
  108. }
  109. .mdc-data-table__header-cell {
  110. font-weight: bold;
  111. }
  112. .table--fit-screen {
  113. height: 80vh;
  114. }
  115. .course-sections-table {
  116. @include mdc-data-table-column-widths(10% 10% 40% 10% 10% 10%);
  117. }
  118. #prof-table {
  119. }
  120. #course-table {
  121. @include mdc-data-table-column-widths(20px 10px 56px);
  122. }
  123. .ellipsis {
  124. @include mdc-typography-overflow-ellipsis;
  125. }
  126. #edit-course-btn {
  127. position: sticky;
  128. right: 0;
  129. }
  130. [onclick] {
  131. cursor: pointer;
  132. }
  133. [id|="delete-confirm"] {
  134. padding-top: 4px;
  135. }