UNPKG

1.85 kBCSSView Raw
1@import "../global/variables.css";
2
3@value unit from "../global/global.css";
4
5.services {
6 max-width: calc(calc(unit * 50) + 2px);
7 padding: calc(unit * 4) calc(unit * 4) calc(unit * 3);
8
9 background-color: var(--ring-navigation-background-color);
10
11 line-height: 10px; /* Eliminate gap between clickable blocks rows */
12}
13
14.active {
15 font-weight: bold;
16}
17
18.item {
19 display: inline-block;
20 overflow-x: hidden;
21
22 box-sizing: border-box;
23 width: calc(unit * 14);
24 height: calc(unit * 14);
25
26 text-align: center;
27 text-overflow: ellipsis;
28
29 color: var(--ring-dark-text-color);
30
31 line-height: initial;
32
33 &::after {
34 height: calc(unit * 14);
35
36 vertical-align: middle;
37 }
38
39 &:not(:hover),
40 &:visited:not(:hover) {
41 color: var(--ring-dark-text-color);
42 }
43
44 /* Disable animation .ring-icon_loading in Header in Edge, see https://youtrack.jetbrains.com/issue/RG-928 */
45 /* Supports MS Edge */
46 @supports (-ms-accelerator: true) {
47 animation-name: none;
48 }
49}
50
51.itemLogo {
52 display: inline-block;
53
54 width: calc(unit * 6);
55 height: calc(unit * 6);
56 margin: calc(unit * 2) 0 calc(unit + 1px);
57
58 background-repeat: no-repeat;
59 background-size: contain;
60}
61
62.activeItem {
63 composes: item;
64 composes: active;
65
66 &:hover {
67 color: var(--ring-dark-text-color);
68 }
69}
70
71.line {
72 height: 1px;
73 margin: calc(unit * 4) 0 calc(unit * 2);
74
75 background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
76}
77
78.itemStacked {
79 display: inline-block;
80
81 width: 100%;
82 margin-bottom: calc(unit * 2);
83
84 text-decoration: none;
85
86 line-height: calc(unit * 2);
87
88 &,
89 &:visited {
90 color: var(--ring-secondary-color);
91 }
92
93 &:last-child {
94 margin-bottom: calc(unit * -3);
95 }
96}
97
98.activeItemStacked {
99 composes: itemStacked;
100 composes: active;
101
102 &:hover {
103 color: var(--ring-secondary-color);
104 }
105}