blob: 10ea3951adbafdd18f4e19d2665cdcc3b722236b [file] [log] [blame]
Radek Krejci7ddaf932018-01-26 10:53:57 +01001@import "./colors";
2
Radek Krejcicd1ebe12018-01-11 11:34:17 +01003$colorSuccess: #def2de;
4$colorSuccessBorder: green;
5$colorFailure: #f2dede;
6$colorFailureBorder: red;
7
8a: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 Krejci7ddaf932018-01-26 10:53:57 +010017 background-color: $colorBackground;
18 color: $black;
Radek Krejcicd1ebe12018-01-11 11:34:17 +010019}
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 Krejci7ddaf932018-01-26 10:53:57 +010037 color: $colorSuccessBorder;
Radek Krejcicd1ebe12018-01-11 11:34:17 +010038 padding: 5px 1em 5px 0em;
39
40 .msg-close {
41 color: $colorSuccessBorder;
42 }
43}
44
45.msg-failure {
46 background-color: $colorFailure;
Radek Krejci7ddaf932018-01-26 10:53:57 +010047 color: colorFailureBorder;
Radek Krejcicd1ebe12018-01-11 11:34:17 +010048 padding: 5px 1em 5px 0em;
49
50 .msg-close {
51 color: $colorFailureBorder;
52 }
Radek Krejci6be087d2018-02-14 08:53:20 +010053}
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 Krejcicd1ebe12018-01-11 11:34:17 +0100116}