global.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. @import 'variables/colors.scss';
  2. html {
  3. overflow: auto !important;
  4. }
  5. body {
  6. background-color: $light-grey;
  7. color: $dark-grey;
  8. font-family: "Roboto", Helvetica, Arial, sans-serif;
  9. }
  10. a {
  11. color: $primary-color;
  12. text-decoration: none;
  13. }
  14. .modal-card {
  15. margin: 0 !important;
  16. }
  17. .absolute-a {
  18. width: 100%;
  19. height: 100%;
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. }
  24. .alert {
  25. padding: 20px;
  26. color: $white;
  27. background-color: $red;
  28. position: fixed;
  29. top: 50px;
  30. right: 50px;
  31. font-size: 2em;
  32. border-radius: 5px;
  33. z-index: 10000000;
  34. }
  35. .tooltip {
  36. position: relative;
  37. &:after {
  38. position: absolute;
  39. min-width: 80px;
  40. margin-left: -75%;
  41. text-align: center;
  42. padding: 7.5px 6px;
  43. border-radius: 2px;
  44. background-color: $dark-grey;
  45. font-size: 0.9em;
  46. color: $white;
  47. content: attr(data-tooltip);
  48. opacity: 0;
  49. transition: all 0.2s ease-in-out 0.1s;
  50. visibility: hidden;
  51. }
  52. &:hover:after {
  53. opacity: 1;
  54. visibility: visible;
  55. }
  56. }
  57. .tooltip-top {
  58. &:after {
  59. bottom: 150%;
  60. }
  61. &:hover {
  62. &:after {
  63. bottom: 120%;
  64. }
  65. }
  66. }
  67. .tooltip-bottom {
  68. &:after {
  69. top: 155%;
  70. }
  71. &:hover {
  72. &:after {
  73. top: 125%;
  74. }
  75. }
  76. }
  77. .tooltip-left {
  78. &:after {
  79. bottom: -10px;
  80. right: 130%;
  81. min-width: 100px;
  82. }
  83. &:hover {
  84. &:after {
  85. right: 110%;
  86. }
  87. }
  88. }
  89. .tooltip-right {
  90. &:after {
  91. bottom: -10px;
  92. left: 190%;
  93. min-width: 100px;
  94. }
  95. &:hover {
  96. &:after {
  97. left: 200%;
  98. }
  99. }
  100. }
  101. .button:focus,
  102. .button:active {
  103. border-color: #dbdbdb !important;
  104. }
  105. .input:focus,
  106. .input:active {
  107. border-color: $primary-color !important;
  108. }
  109. button.delete:focus {
  110. background-color: rgba(10, 10, 10, 0.3);
  111. }
  112. .tag {
  113. padding-right: 6px !important;
  114. }
  115. .button {
  116. &.is-success {
  117. background-color: $green !important;
  118. &:hover,
  119. &:focus {
  120. background-color: darken($green, 5%) !important;
  121. }
  122. }
  123. &.is-primary {
  124. background-color: $primary-color !important;
  125. &:hover,
  126. &:focus {
  127. background-color: darken($primary-color, 5%) !important;
  128. }
  129. }
  130. &.is-danger {
  131. background-color: $red !important;
  132. &:hover,
  133. &:focus {
  134. background-color: darken($red, 5%) !important;
  135. }
  136. }
  137. &.is-info {
  138. background-color: $blue !important;
  139. &:hover,
  140. &:focus {
  141. background-color: darken($blue, 5%) !important;
  142. }
  143. }
  144. }
  145. .center {
  146. text-align: center;
  147. }
  148. #toast-container {
  149. z-index: 10000 !important;
  150. }