Radek Krejci | 7ddaf93 | 2018-01-26 10:53:57 +0100 | [diff] [blame] | 1 | @import "./colors"; |
| 2 | |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 3 | $colorSuccess: #def2de; |
| 4 | $colorSuccessBorder: green; |
| 5 | $colorFailure: #f2dede; |
| 6 | $colorFailureBorder: red; |
| 7 | |
| 8 | a:not([href]) { |
| 9 | cursor: pointer; |
| 10 | text-decoration: underline; |
| 11 | font-weight: bold; |
| 12 | } |
| 13 | |
| 14 | .netopeer-content { |
| 15 | display: block; |
| 16 | padding: 0.7em 1em 1em 2em; |
Radek Krejci | 7ddaf93 | 2018-01-26 10:53:57 +0100 | [diff] [blame] | 17 | background-color: $colorBackground; |
| 18 | color: $black; |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | .msg-rounded { |
| 22 | border-radius: 5px; |
| 23 | } |
| 24 | |
| 25 | .msg-close { |
| 26 | padding-right: 10px; |
| 27 | padding-left: 10px; |
| 28 | font-weight: bold; |
| 29 | font-family: monospace; |
| 30 | font-size: large; |
| 31 | cursor: pointer; |
| 32 | height: 1em; |
| 33 | } |
| 34 | |
| 35 | .msg-success { |
| 36 | background-color: $colorSuccess; |
Radek Krejci | 7ddaf93 | 2018-01-26 10:53:57 +0100 | [diff] [blame] | 37 | color: $colorSuccessBorder; |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 38 | padding: 5px 1em 5px 0em; |
| 39 | |
| 40 | .msg-close { |
| 41 | color: $colorSuccessBorder; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | .msg-failure { |
| 46 | background-color: $colorFailure; |
Radek Krejci | 7ddaf93 | 2018-01-26 10:53:57 +0100 | [diff] [blame] | 47 | color: colorFailureBorder; |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 48 | padding: 5px 1em 5px 0em; |
| 49 | |
| 50 | .msg-close { |
| 51 | color: $colorFailureBorder; |
| 52 | } |
Radek Krejci | 6be087d | 2018-02-14 08:53:20 +0100 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | .tab-add, |
| 56 | .tab-reload, |
| 57 | .tab-close { |
| 58 | cursor: pointer; |
| 59 | font-weight: bold; |
| 60 | font-family: monospace; |
| 61 | font-size: large; |
| 62 | } |
| 63 | .tab-action-first { |
| 64 | padding-left: 0.3em; |
| 65 | } |
| 66 | .tab-action-last { |
| 67 | padding-right: 0.5em; |
| 68 | } |
| 69 | |
| 70 | .tab-icon { |
| 71 | vertical-align: middle; |
| 72 | height: 1em; |
| 73 | } |
| 74 | |
| 75 | .tab-add { |
| 76 | filter: invert(100%); |
| 77 | |
| 78 | &:hover { |
| 79 | color: $green; |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | .tab-close:hover { |
| 84 | color: $colorFailureBorder; |
| 85 | } |
| 86 | .tab-reload:hover { |
| 87 | color: blue; |
| 88 | } |
| 89 | |
| 90 | #subnav { |
| 91 | position: fixed; |
| 92 | width: 100%; |
| 93 | background-color: $colorMain; |
| 94 | padding-left: 1em; |
| 95 | |
| 96 | a { |
| 97 | cursor: pointer; |
| 98 | text-decoration: none; |
| 99 | display: inline-block; |
| 100 | padding: 0.2em 0 0.1em 1em; |
| 101 | color: $colorTextInverse; |
| 102 | |
| 103 | &:visited, |
| 104 | &:link { |
| 105 | color: inherit; |
| 106 | } |
| 107 | &:hover, |
| 108 | &.active { |
| 109 | background-color: $colorBackground; |
| 110 | color: $colorText; |
| 111 | } |
| 112 | &active:hover { |
| 113 | cursor: default; |
| 114 | } |
| 115 | } |
Radek Krejci | cd1ebe1 | 2018-01-11 11:34:17 +0100 | [diff] [blame] | 116 | } |