argo-cd
241 строка · 5.1 Кб
1@import 'node_modules/argo-ui/src/styles/config';
2
3.pod-logs-viewer {
4height: 90%;
5font-size: 14px;
6font-family: monospace;
7background-color: white;
8padding: 0;
9color: black;
10
11&--inverted {
12background-color: black;
13color: white;
14}
15
16&__settings {
17display: flex;
18
19.argo-checkbox,
20.argo-checkbox input,
21.argo-checkbox input:focus {
22outline: none !important;
23border: none !important;
24width: 12px;
25margin-right: 8px;
26input:checked + span,
27input + span {
28border: none;
29width: 12px !important;
30background-color: transparent;
31}
32.fa {
33display: none;
34}
35}
36
37margin-bottom: 1em;
38
39> * {
40display: flex;
41align-items: center;
42}
43
44.argo-button {
45margin-right: 5px;
46border: 1px solid transparent;
47
48.fa {
49width: 12px;
50}
51}
52}
53
54&__filter {
55display: flex;
56margin-left: auto;
57width: 320px;
58
59.argo-button {
60display: flex;
61align-items: center;
62}
63}
64
65&__menu {
66display: flex;
67margin-bottom: 1em;
68padding-left: 10px;
69.page-info {
70margin-left: auto;
71margin-right: auto;
72padding: 3px 8px;
73text-overflow: clip;
74white-space: nowrap;
75}
76.nav-container {
77display: flex;
78align-self: flex-start;
79padding: 3px 8px;
80cursor: pointer;
81border-radius: 7px;
82align-items: center;
83justify-content: center;
84border: 1px solid black;
85margin: 0 2px;
86&:hover {
87background-color: black;
88color: white;
89}
90&.disabled {
91opacity: 0.5;
92cursor: not-allowed;
93}
94}
95i {
96margin-left: 5px;
97}
98
99&--inverted {
100i {
101border-color: white;
102&:hover {
103background-color: white;
104color: black;
105}
106}
107}
108}
109
110&__line {
111padding-left: 0.5ch;
112
113&--selected {
114background-color: red;
115box-shadow: -3px 0 0 0 darkred;
116}
117
118&__menu {
119border-radius: 6px;
120text-align: center;
121min-width: 25px;
122opacity: 0;
123flex-shrink: 0;
124box-shadow: 0 0 0 1px red inset;
125&--visible {
126opacity: 1;
127}
128&:hover {
129color: red;
130}
131}
132
133&__number {
134text-align: right;
135min-width: 3ch;
136margin-right: 2ch;
137opacity: 0.5;
138cursor: pointer;
139&:hover {
140opacity: 1;
141}
142}
143
144&__pod {
145padding-left: 5px;
146padding-right: 5px;
147span {
148display: none;
149text-overflow: ellipsis;
150overflow: hidden;
151}
152width: 3ch;
153min-width: 3ch;
154}
155&__timestamp {
156padding-left: 5px;
157padding-right: 5px;
158span {
159display: none;
160text-overflow: ellipsis;
161overflow: hidden;
162}
163width: 3ch;
164min-width: 3ch;
165}
166}
167
168&--pod-name-visible {
169.pod-logs-viewer__line__pod {
170span {
171display: inherit;
172}
173i {
174display: none;
175}
176width: 30ch;
177min-width: 30ch;
178}
179}
180&--pod-timestamp-visible {
181.pod-logs-viewer__line__timestamp {
182span {
183display: inherit;
184}
185i {
186display: none;
187}
188width: 30ch;
189min-width: 30ch;
190}
191}
192
193&__pod-name-toggle {
194cursor: pointer;
195position: fixed;
196top: 50%;
197transform: translateY(2em);
198z-index: 1;
199}
200}
201
202.copySuccess {
203// ARGO_SUCCESS_COLOR
204background-color: #18be94 !important;
205}
206.copyFailure {
207// ARGO_FAILED_COLOR
208background-color: #e96d76 !important;
209}
210.copyStandard {
211background-color: #6d7f8b !important;
212}
213
214.container-item {
215font-size: 0.9em;
216color: $argo-color-teal-5;
217}
218
219code {
220background-color: inherit;
221border: none;
222padding: inherit;
223font-family: inherit;
224font-weight: inherit;
225color: inherit;
226}
227
228.ReactVirtualized__Grid__innerScrollContainer {
229overflow: initial !important;
230}
231
232/* Hide scrollbar for Chrome, Safari and Opera */
233.noscroll::-webkit-scrollbar {
234display: none;
235}
236
237/* Hide scrollbar for IE, Edge and Firefox */
238.noscroll {
239-ms-overflow-style: none; /* IE and Edge */
240scrollbar-width: none; /* Firefox */
241}