1 | @import "../global/variables.css";
|
2 |
|
3 | @value unit from "../global/global.css";
|
4 | @value height: calc(unit * 8);
|
5 | @value compensate: 3px;
|
6 | @value compensated: calc(height - compensate);
|
7 |
|
8 | .light {
|
9 | background-color: transparent;
|
10 | }
|
11 |
|
12 | .dark {
|
13 | color: var(--ring-dark-text-color);
|
14 | background-color: var(--ring-navigation-background-color);
|
15 |
|
16 |
|
17 | & > a {
|
18 | color: var(--ring-dark-secondary-color);
|
19 | }
|
20 | }
|
21 |
|
22 | .header {
|
23 | display: flex;
|
24 | overflow: hidden;
|
25 | align-items: center;
|
26 |
|
27 | box-sizing: border-box;
|
28 | height: height;
|
29 |
|
30 | line-height: compensated;
|
31 |
|
32 | & > * {
|
33 | display: inline-block;
|
34 |
|
35 | box-sizing: border-box;
|
36 | height: height;
|
37 | padding: 0 calc(unit * 1.5) compensate;
|
38 | }
|
39 | }
|
40 |
|
41 | .headerSpaced {
|
42 | & > *:first-child {
|
43 | padding-left: calc(unit * 4);
|
44 | }
|
45 |
|
46 | & > *:last-child {
|
47 | padding-right: calc(unit * 4);
|
48 | }
|
49 | }
|
50 |
|
51 | .logo {
|
52 | display: inline-flex;
|
53 | align-items: center;
|
54 |
|
55 | height: height;
|
56 |
|
57 | color: var(--ring-navigation-background-color);
|
58 |
|
59 | line-height: normal;
|
60 |
|
61 | & svg {
|
62 | vertical-align: bottom;
|
63 | }
|
64 | }
|
65 |
|
66 | .tray {
|
67 | align-items: flex-end;
|
68 |
|
69 | margin-left: auto;
|
70 | padding: 0 0 compensate;
|
71 | }
|
72 |
|
73 |
|
74 | .tray.tray {
|
75 | display: flex;
|
76 | }
|
77 |
|
78 | .trayItemContent {
|
79 | height: compensated;
|
80 | }
|
81 |
|
82 | .icon {
|
83 | width: calc(unit * 5);
|
84 |
|
85 | text-align: center;
|
86 |
|
87 | vertical-align: top;
|
88 | }
|
89 |
|
90 |
|
91 | .icon.icon {
|
92 | height: compensated;
|
93 |
|
94 | padding-top: calc(unit / 2);
|
95 |
|
96 | line-height: compensated;
|
97 | }
|
98 |
|
99 | .main svg {
|
100 | color: var(--ring-main-color);
|
101 | }
|
102 |
|
103 | .rotatable svg {
|
104 | transition: transform 0.3s ease-out;
|
105 | transform: rotate(0deg);
|
106 | transform-origin: 50% 50%;
|
107 | }
|
108 |
|
109 | .rotated svg {
|
110 | transform: rotate(90deg);
|
111 | }
|
112 |
|
113 | .profileEmpty {
|
114 | align-items: center;
|
115 |
|
116 | width: auto;
|
117 | height: compensated;
|
118 | padding-left: unit;
|
119 |
|
120 | vertical-align: bottom;
|
121 | }
|
122 |
|
123 |
|
124 | .profileEmpty.profileEmpty {
|
125 | display: inline-flex;
|
126 | }
|
127 |
|
128 | .profile {
|
129 | composes: profileEmpty;
|
130 |
|
131 | height: compensated;
|
132 |
|
133 | cursor: pointer;
|
134 | }
|
135 |
|
136 | .avatarWrapper {
|
137 | line-height: 0;
|
138 | }
|
139 |
|
140 | .hasUpdates {
|
141 | position: relative;
|
142 |
|
143 | &::after {
|
144 | position: absolute;
|
145 | top: calc(15% - 5px);
|
146 | right: calc(15% - 5px);
|
147 |
|
148 | display: block;
|
149 |
|
150 | width: unit;
|
151 | height: unit;
|
152 |
|
153 | content: '';
|
154 |
|
155 | border: 1px solid var(--ring-dark-text-color);
|
156 | border-radius: 50%;
|
157 | background-color: var(--ring-link-hover-color);
|
158 | }
|
159 | }
|