argo-cd
221 строка · 4.7 Кб
1@import 'node_modules/argo-ui/src/styles/config';
2@import 'node_modules/foundation-sites/scss/util/util';
3@import 'node_modules/argo-ui/src/styles/theme';
4
5.applications-list {
6padding: 1em;
7@media screen and (max-width: 1024px) {
8padding: 0;
9}
10min-height: 88vh;
11&__title {
12font-weight: bolder;
13font-size: 15px;
14@include themify($themes) {
15color: themed('text-1');
16}
17padding-top: 0.25em;
18padding-bottom: 0.5em;
19margin-left: 1em;
20}
21
22&__info {
23line-height: 24px;
24margin: 1em 0;
25}
26
27&__icons {
28line-height: 24px;
29}
30
31&__empty-state {
32text-align: center;
33}
34
35&__entry {
36padding-left: 1em;
37border-left: 5px solid $argo-color-gray-4;
38padding-right: 1em;
39color: $argo-color-gray-7;
40
41// healthy statuses
42&--health-Healthy {
43border-left-color: $argo-success-color;
44}
45
46// intermediate statuses
47&--health-Progressing {
48border-left-color: $argo-running-color;
49}
50
51&--health-Suspended {
52border-left-color: $argo-suspended-color;
53}
54
55// failed statuses
56&--health-Degraded {
57border-left-color: $argo-failed-color;
58}
59
60&--health-Unknown {
61border-left-color: $argo-color-gray-4;
62}
63
64&--health-Missing {
65border-left-color: $argo-status-warning-color;
66}
67
68&--actions {
69padding-top: 1em;
70}
71}
72
73&__accordion {
74cursor: pointer;
75text-align: center;
76border: none;
77outline: none;
78transition: 0.4s;
79margin-left: 10px;
80}
81
82&__view-type {
83white-space: nowrap;
84i {
85cursor: pointer;
86color: $argo-color-gray-4;
87margin-right: 1em;
88&::before {
89font-size: 1.5em;
90}
91}
92i.selected {
93cursor: default;
94color: $argo-color-teal-5;
95}
96}
97
98&__table-icon {
99display: inline-block;
100margin-right: 10px;
101width: 80px;
102}
103
104&__table-row {
105& > .columns:first-child {
106padding-left: 15px;
107}
108margin-left: -30px !important;
109}
110
111&__search-wrapper {
112margin-left: 15px;
113@include breakpoint(medium down) {
114flex-basis: 100%;
115margin-left: 0;
116}
117line-height: normal;
118}
119
120&__search {
121@include themify($themes) {
122background-color: themed('light-argo-gray-2');
123border: 1px solid themed('border');
124}
125border-radius: 7px;
126position: relative;
127padding: 0 10px;
128height: 33px;
129display: flex;
130align-items: center;
131transition: width 200ms;
132@include breakpoint(large up) {
133flex-shrink: 1;
134width: 300px;
135}
136i {
137font-size: 12px;
138color: $argo-color-gray-6;
139}
140.keyboard-hint {
141border: 1px solid $argo-color-gray-5;
142color: $argo-color-gray-7;
143border-radius: 3px;
144padding: 0 7px;
145font-size: 12px;
146font-weight: 600;
147flex-shrink: 0;
148text-align: center;
149}
150.select {
151width: 100%;
152border-radius: $border-radius;
153}
154&:focus-within {
155border: 1px solid $argo-color-teal-5;
156@include breakpoint(large up) {
157width: 500px;
158}
159i {
160color: $argo-color-gray-7;
161}
162.keyboard-hint {
163display: none;
164}
165}
166.argo-field {
167border: none;
168font-weight: 500;
169&::placeholder {
170color: $argo-color-gray-6;
171}
172}
173}
174
175&__external-link {
176position: absolute;
177top: 1em;
178right: 1em;
179
180.large-text-height {
181line-height: 1.5;
182}
183}
184
185&__external-links-icon-container {
186position: relative;
187display: inline-block;
188}
189
190.filters-group__panel {
191top: 120px;
192}
193@include breakpoint(medium down) {
194.filters-group__panel {
195top: 200px;
196}
197}
198
199ul {
200margin: 0;
201}
202
203.chart-group {
204margin: 0 0.8em;
205}
206
207.chart {
208justify-content: space-evenly;
209}
210}
211i.menu_icon {
212vertical-align: middle;
213}
214
215.argo-button {
216i {
217@media screen and (max-width: map-get($breakpoints, large)) {
218margin: 0 auto !important;
219}
220}
221}