123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- @import 'variables/colors.scss';
- @import 'variables/fonts.scss';
- html {
- overflow: auto !important;
- color: $dark-grey;
- }
- body, button, input, select, textarea {
- font-family: $nunitoFont;
- }
- a {
- color: $primary-color;
- text-decoration: none;
- }
- .app {
- background-color: $light-grey;
- }
- .modal-card {
- margin: 0 !important;
- }
- .absolute-a {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- }
- .alert {
- padding: 20px;
- color: $white;
- background-color: $red;
- position: fixed;
- top: 50px;
- right: 50px;
- font-size: 2em;
- border-radius: 5px;
- z-index: 10000000;
- }
- .tooltip {
- position: relative;
- &:after {
- position: absolute;
- min-width: 80px;
- margin-left: -75%;
- text-align: center;
- padding: 7.5px 6px;
- border-radius: 2px;
- background-color: $dark-grey;
- font-size: 0.9em;
- color: $white;
- content: attr(data-tooltip);
- opacity: 0;
- transition: all 0.2s ease-in-out 0.1s;
- visibility: hidden;
- }
- &:hover:after {
- opacity: 1;
- visibility: visible;
- }
- }
- .tooltip-top {
- &:after {
- bottom: 150%;
- }
- &:hover {
- &:after {
- bottom: 120%;
- }
- }
- }
- .tooltip-bottom {
- &:after {
- top: 155%;
- }
- &:hover {
- &:after {
- top: 125%;
- }
- }
- }
- .tooltip-left {
- &:after {
- bottom: -10px;
- right: 130%;
- min-width: 100px;
- }
- &:hover {
- &:after {
- right: 110%;
- }
- }
- }
- .tooltip-right {
- &:after {
- bottom: -10px;
- left: 190%;
- min-width: 100px;
- }
- &:hover {
- &:after {
- left: 200%;
- }
- }
- }
- .button:focus,
- .button:active {
- border-color: #dbdbdb !important;
- }
- .input:focus,
- .input:active {
- border-color: $primary-color !important;
- }
- button.delete:focus {
- background-color: rgba(10, 10, 10, 0.3);
- }
- .tag {
- padding-right: 6px !important;
- }
- .button {
- &.is-success {
- background-color: $green !important;
- &:hover,
- &:focus {
- background-color: darken($green, 5%) !important;
- }
- }
- &.is-primary {
- background-color: $primary-color !important;
- &:hover,
- &:focus {
- background-color: darken($primary-color, 5%) !important;
- }
- }
- &.is-danger {
- background-color: $red !important;
- &:hover,
- &:focus {
- background-color: darken($red, 5%) !important;
- }
- }
- &.is-info {
- background-color: $blue !important;
- &:hover,
- &:focus {
- background-color: darken($blue, 5%) !important;
- }
- }
- }
- .center {
- text-align: center;
- }
- #toast-container {
- z-index: 10000 !important;
- }
|