global.scss 2.3 KB

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