-
Notifications
You must be signed in to change notification settings - Fork 182
/
services.css
97 lines (70 loc) · 1.76 KB
/
services.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@import "../global/variables.css";
.services {
max-width: calc(calc(var(--ring-unit) * 50) + 2px);
padding: calc(var(--ring-unit) * 4) calc(var(--ring-unit) * 4) calc(var(--ring-unit) * 3);
background-color: var(--ring-navigation-background-color);
line-height: 10px; /* Eliminate gap between clickable blocks rows */
}
.active {
font-weight: bold;
}
.item {
display: inline-block;
overflow-x: hidden;
box-sizing: border-box;
width: calc(var(--ring-unit) * 14);
height: calc(var(--ring-unit) * 14);
text-align: center;
text-overflow: ellipsis;
color: var(--ring-active-text-color);
line-height: initial;
&::after {
height: calc(var(--ring-unit) * 14);
vertical-align: middle;
}
&:not(:hover),
&:visited:not(:hover) {
color: var(--ring-active-text-color);
}
}
.itemLogo {
display: inline-block;
width: calc(var(--ring-unit) * 6);
height: calc(var(--ring-unit) * 6);
margin: calc(var(--ring-unit) * 2) 0 calc(var(--ring-unit) + 1px);
background-repeat: no-repeat;
background-size: contain;
}
.activeItem {
composes: item;
composes: active;
&:hover {
color: var(--ring-active-text-color);
}
}
.line {
height: 1px;
margin: calc(var(--ring-unit) * 4) 0 calc(var(--ring-unit) * 2);
background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}
.itemStacked {
display: inline-block;
width: 100%;
margin-bottom: calc(var(--ring-unit) * 2);
text-decoration: none;
line-height: calc(var(--ring-unit) * 2);
&,
&:visited {
color: var(--ring-secondary-color);
}
&:last-child {
margin-bottom: calc(var(--ring-unit) * -3);
}
}
.activeItemStacked {
composes: itemStacked;
composes: active;
&:hover {
color: var(--ring-secondary-color);
}
}