File: cr_shared_style_lit.css

package info (click to toggle)
chromium 139.0.7258.127-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,068 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (182 lines) | stat: -rw-r--r-- 4,323 bytes parent folder | download | duplicates (3)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/* Copyright 2022 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #import=./cr_shared_vars.css.js
 * #import=./cr_hidden_style_lit.css.js
 * #import=./cr_icons_lit.css.js
 * #scheme=relative
 * #include=cr-hidden-style-lit cr-icons-lit
 * #css_wrapper_metadata_end */

[actionable] {
  cursor: pointer;
}

/* Horizontal rule line. */
.hr {
  border-top: var(--cr-separator-line);
}

iron-list.cr-separators > *:not([first]) {
  border-top: var(--cr-separator-line);
}

[scrollable] {
  border-color: transparent;
  border-style: solid;
  border-width: 1px 0;
  overflow-y: auto;
}
[scrollable].is-scrolled {
  border-top-color: var(--cr-scrollable-border-color);
}
[scrollable].can-scroll:not(.scrolled-to-bottom) {
  border-bottom-color: var(--cr-scrollable-border-color);
}
[scrollable] iron-list > :not(.no-outline):focus-visible,
[selectable]:focus-visible,
[selectable] > :focus-visible {
  outline: solid 2px var(--cr-focus-outline-color);
  /* Selectable lists usually take the full width of their containers and
   * have their overflows clipped, so the outlines need to inset. */
  outline-offset: -2px;
}

.scroll-container {
  display: flex;
  flex-direction: column;
  min-height: 1px;
}

[selectable] > * {
  cursor: pointer;
}

.cr-centered-card-container {
  box-sizing: border-box;
  display: block;
  height: inherit;
  margin: 0 auto;
  max-width: var(--cr-centered-card-max-width);
  min-width: 550px;
  position: relative;
  width: calc(100% * var(--cr-centered-card-width-percentage));
}

.cr-container-shadow {
  box-shadow: inset 0 5px 6px -3px rgba(0, 0, 0, .4);
  height: var(--cr-container-shadow-height);
  left: 0;
  margin: 0 0 var(--cr-container-shadow-margin);
  opacity: 0;
  pointer-events: none;
  position: relative;
  right: 0;
  top: 0;
  transition: opacity 500ms;
  z-index: 1;
}

/** Styles for elements that implement the CrContainerShadowMixin */
#cr-container-shadow-bottom {
  margin-bottom: 0;
  margin-top: var(--cr-container-shadow-margin);
  transform: scaleY(-1);
}

#cr-container-shadow-top:has(+ #container.can-scroll:not(.scrolled-to-top)),
#container.can-scroll:not(.scrolled-to-bottom) +
    #cr-container-shadow-bottom,
#cr-container-shadow-bottom.force-shadow,
#cr-container-shadow-top.force-shadow {
  opacity: var(--cr-container-shadow-max-opacity);
}

.cr-row {
  align-items: center;
  border-top: var(--cr-separator-line);
  display: flex;
  min-height: var(--cr-section-min-height);
  padding: 0 var(--cr-section-padding);
}

.cr-row.first,
.cr-row.continuation {
  border-top: none;
}

.cr-row-gap {
  padding-inline-start: 16px;
}

.cr-button-gap {
  margin-inline-start: 8px;
}

paper-tooltip::part(tooltip),
cr-tooltip::part(tooltip) {
  border-radius: var(--paper-tooltip-border-radius, 2px);
  font-size: 92.31%;  /* Effectively 12px if the host default is 13px. */
  font-weight: 500;
  max-width: 330px;
  min-width: var(--paper-tooltip-min-width, 200px);
  padding: var(--paper-tooltip-padding, 10px 8px);
}

/* Typography */

.cr-padded-text {
  padding-block-end: var(--cr-section-vertical-padding);
  padding-block-start: var(--cr-section-vertical-padding);
}

.cr-title-text {
  color: var(--cr-title-text-color);
  font-size: 107.6923%; /* Go to 14px from 13px. */
  font-weight: 500;
}

.cr-secondary-text {
  color: var(--cr-secondary-text-color);
  font-weight: 400;
}

.cr-form-field-label {
  color: var(--cr-form-field-label-color);
  display: block;
  font-size: var(--cr-form-field-label-font-size);
  font-weight: 500;
  letter-spacing: .4px;
  line-height: var(--cr-form-field-label-line-height);
  margin-bottom: 8px;
}

.cr-vertical-tab {
  align-items: center;
  display: flex;
}

.cr-vertical-tab::before {
  border-radius: 0 3px 3px 0;
  content: '';
  display: block;
  flex-shrink: 0;
  height: var(--cr-vertical-tab-height, 100%);
  width: 4px;
}

.cr-vertical-tab.selected::before {
  background: var(--cr-vertical-tab-selected-color, var(--cr-checked-color));
}

:host-context([dir=rtl]) .cr-vertical-tab::before {
  /* Border-radius based on block/inline is not yet supported. */
  transform: scaleX(-1);
}

.iph-anchor-highlight {
  background-color: var(--cr-iph-anchor-highlight-color);
}