File: shared_style.css

package info (click to toggle)
chromium 138.0.7204.183-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 6,080,960 kB
  • sloc: cpp: 34,937,079; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,954; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,811; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (177 lines) | stat: -rw-r--r-- 3,790 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
/* Copyright 2024 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=chrome://resources/cr_elements/cr_shared_style_lit.css.js
 * #import=chrome://resources/cr_elements/cr_shared_vars.css.js
 * #import=./shared_vars.css.js
 * #include=cr-shared-style-lit
 * #css_wrapper_metadata_end */

a[href] {
  color: var(--cr-link-color);
}

.activity-message {
  color: var(--md-loading-message-color);
  font-size: 123%;  /* Should be 16px when 100% is 13px. */
  font-weight: 500;
  margin-top: 80px;
  text-align: center;
}

.activity-subpage-header {
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px;
}

.activity-table-headings {
  align-items: center;
  display: flex;
  flex-direction: row;
  font-weight: 500;
  margin-inline-end: auto;

  /* Match separator height. */
  min-height: calc(var(--cr-section-min-height) - var(--separator-gap));
  padding: 0 var(--cr-section-padding);
}

.clear-activities-button {
  margin: 0 8px;
}

.matching-restricted-sites-warning {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
}

.matching-restricted-sites-warning cr-icon {
  fill: var(--warning-color);
  margin-inline-end: 8px;
  min-height: var(--cr-icon-size);
  min-width: var(--cr-icon-size);
}

.page-container {
  height: 100%;
}

.page-content {
  background-color: var(--cr-card-background-color);
  box-shadow: var(--cr-card-shadow);
  box-sizing: border-box;
  margin: auto;
  min-height: 100%;
  padding-bottom: 64px;
  width: var(--cr-toolbar-field-width);
}

.page-header {
  align-items: center;
  display: flex;
  height: 40px;
  margin-bottom: 12px;
  padding: 8px 12px 0;
}

.link-icon-button {
  align-items: center;
  display: flex;
  justify-content: center;
}

.separator {
  border-inline-start: var(--cr-separator-line);
  flex-shrink: 0;

  /* Section height - gap. */
  height: calc(var(--cr-section-min-height) - var(--separator-gap));
  margin-inline-end: var(--cr-section-padding);

  /* Makes the tappable area fill its parent.
   * TODO(crbug.com/41451251): This is an explicit reminder to override
   * once .separator styling is extracted from settings. */
  margin-inline-start: 0;
}

.site-favicon {
  background-size: 100% 100%;
  height: var(--cr-icon-size);
  min-width: var(--cr-icon-size);
}

.panel-title {
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 16px 5px;
}

.panel-background {
  background-color: var(--cr-card-background-color);
  border-radius: var(--cr-card-border-radius);
  box-shadow: var(--cr-card-shadow);
  padding: 0px var(--cr-section-padding);
  container-type: inline-size;
}

.panel-header {
  align-items: center;
  display: flex;
  padding: var(--cr-section-padding) 0px;
}

.panel-header-text {
  padding-inline-start: 20px;
}

.panel-header-text h3 {
  margin: 0;
  font-weight: 400;
}

.panel-header-icon {
  align-items: center;
  fill: var(--panel-icon-color);
}

.panel-extensions {
  border-top: var(--cr-separator-line);
  /* Extension rows have a min height that adds extra padding. Thus, we
     subtract an adjustment to account for it */
  padding: calc(var(--cr-section-padding) - 6px) 0px;
}

.panel-extension-row {
  border-top: none;
}

.panel-extension-info {
  padding-inline-start: 18px;
  margin-inline: 8px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-extension-icon {
  height: var(--cr-icon-size);
  width: var(--cr-icon-size);
}

/* Reformat panel when the panel is the width of one extension card */
/* clean-css ignore:start */
@container (max-width:450px) {
  .panel-header-icon {
    display: none;
  }

  .panel-header-text {
    padding-inline-start: 0;
  }
}
/* clean-css ignore:end */