Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 0686be6

Browse files
committed
cleanup css
1 parent 9c59c70 commit 0686be6

15 files changed

+32
-27
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -330,3 +330,6 @@ release.zip
330330
release/
331331

332332
public
333+
.idea/JetClient
334+
.idea/lastEditedFileState.xml
335+

new/app/themed/accessibility/_axBreadcrumbs.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.ax-breadcrumbs .ax-node::before {
22
background-color: $foreground;
3+
34
&:hover {
45
background-color: $accent1;
56
}

new/app/themed/animation/_animationTimeline.scss

+1-7
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,7 @@ circle.animation-keyframe-point {
4242
}
4343

4444
.animation-scrubber-line {
45-
background-image: linear-gradient(
46-
to right,
47-
rgba(255, 255, 255, 0) 5px,
48-
$accent1 5px,
49-
$accent1 6px,
50-
rgba(255, 255, 255, 0) 6px
51-
);
45+
background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 5px, $accent1 5px, $accent1 6px, rgba(255, 255, 255, 0) 6px);
5246
}
5347

5448
.animation-scrubber-head {

new/app/themed/audits/_lightHouseReport.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
.lh-vars,
22
.lh-vars.dark {
33
--font-family-sans: #{$uiFontFamily}, Roboto, Helvetica, Arial, sans-serif;
4-
--font-family-monospace: #{$fontFamily}, 'Roboto Mono', 'Menlo', 'dejavu sans mono', 'Consolas', 'Lucida Console',
5-
monospace;
4+
--font-family-monospace: #{$fontFamily}, 'Roboto Mono', 'Menlo', 'dejavu sans mono', 'Consolas', 'Lucida Console', monospace;
65
--body-background-color: #{$background};
76
--body-text-color: #{$foreground};
87
--subheader-color: #{$primary};

new/app/themed/colorpicker/_index.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@
8484

8585
.palette-color-shades {
8686
background-color: $background;
87-
box-shadow: rgba(230, 230, 230, 0.14) 0 4px 5px 0, rgba(230, 230, 230, 0.12) 0 1px 10px 0,
87+
box-shadow:
88+
rgba(230, 230, 230, 0.14) 0 4px 5px 0,
89+
rgba(230, 230, 230, 0.12) 0 1px 10px 0,
8890
rgba(230, 230, 230, 0.4) 0 2px 4px -1px;
8991
}
9092

new/app/themed/elements/_breadcrumbs.scss

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
.crumbs {
3333
background: $bg;
3434
}
35+
3536
.node-label-name {
3637
color: $tag-name-color;
3738
}

new/app/themed/elements/_elementsTreeOutline.scss

+1-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
background-color: transparent;
2424
}
2525

26-
2726
.elements-disclosure li.selected {
2827
position: relative;
2928
}
@@ -94,11 +93,7 @@
9493
@include indicator;
9594
}
9695

97-
.elements-disclosure
98-
.elements-tree-outline.hide-selection-when-blurred
99-
.selected:focus[data-keyboard-focus='true']
100-
.highlight
101-
> * {
96+
.elements-disclosure .elements-tree-outline.hide-selection-when-blurred .selected:focus[data-keyboard-focus='true'] .highlight > * {
10297
box-shadow: 0 0 0 2px $tree;
10398
}
10499

new/app/themed/inline_editor/_colorSwatch.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.color-swatch {
22
background: transparent;
33
}
4+
45
.color-swatch-inner {
56
border-top-color: $border;
67
border-right-color: $border;

new/app/themed/network/_networkLogView.scss

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676

7777
.network-log-grid.data-grid table.data {
7878
border-top-color: $borderLight;
79+
7980
> tr {
8081
background-color: $background;
8182

new/app/themed/ui/_checkbox.scss

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
input[type="checkbox"]:not(.-theme-preserve),
1+
input[type='checkbox']:not(.-theme-preserve),
22
input[type='checkbox']:not(.dt-checkbox-themed) {
33
filter: none !important;
44
}
55

6-
input[type="checkbox"]:not(.-theme-preserve):not(.enabled-button),
6+
input[type='checkbox']:not(.-theme-preserve):not(.enabled-button),
77
input[type='checkbox']:not(.dt-checkbox-themed):not(.enabled-button) {
88
position: absolute !important; // take it out of document flow
99
opacity: 0 !important; // hide it
@@ -81,8 +81,13 @@ input[type='checkbox']:not(.dt-checkbox-themed):not(.enabled-button) {
8181
background: $background !important;
8282
width: 2px !important;
8383
height: 2px !important;
84-
box-shadow: 2px 0 0 $background, 4px 0 0 $background, 4px -2px 0 $background, 4px -4px 0 $background,
85-
4px -6px 0 $background, 4px -8px 0 $background !important;
84+
box-shadow:
85+
2px 0 0 $background,
86+
4px 0 0 $background,
87+
4px -2px 0 $background,
88+
4px -4px 0 $background,
89+
4px -6px 0 $background,
90+
4px -8px 0 $background !important;
8691
transform: rotate(45deg) !important;
8792
}
8893
}

new/app/themed/ui/_inspectorCommon.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ input {
147147
}
148148

149149
.chrome-select:enabled:focus {
150-
box-shadow: $highlight 0 1px 2px, $highlight 0 0 0 2px;
150+
box-shadow:
151+
$highlight 0 1px 2px,
152+
$highlight 0 0 0 2px;
151153
}
152154

153155
.chrome-select optgroup,

new/app/themed/ui/_inspectorSyntaxHighlight.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ x-link.devtools-link {
231231

232232
/* Default CodeMirror Theme */
233233
.cm-negative {
234-
color: #d44;
234+
color: #dd4444;
235235
}
236236

237237
.cm-positive {
238-
color: #292;
238+
color: #229922;
239239
}
240240

241241
.cm-line {

new/app/themed/ui/_tabbedPane.scss

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
box-sizing: content-box;
6464
width: 14px !important;
6565
height: 14px !important;
66+
6667
&::before {
6768
content: '';
6869
line-height: 1.5;

new/app/themed/ui/_textButton.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
}
1919

2020
.text-button:not(:disabled):focus {
21-
box-shadow: $highlight 0 1px 2px, $highlight 0 0 0 2px;
21+
box-shadow:
22+
$highlight 0 1px 2px,
23+
$highlight 0 0 0 2px;
2224
}
2325

2426
.text-button.primary-button {

new/app/themed/ui/_toolbar.scss

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
color: $link-color;
2525
}
2626

27-
.toolbar-toggled-gray:not(.toolbar-render-as-links)
28-
.toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.largeicon-menu):hover {
27+
.toolbar-toggled-gray:not(.toolbar-render-as-links) .toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.largeicon-menu):hover {
2928
background-color: $contrast;
3029
border-color: $contrast;
3130
}
@@ -118,7 +117,6 @@ select.toolbar-item[data-keyboard-focus='true']:focus > * {
118117
background-color: $bg;
119118
border: none;
120119
box-shadow: none;
121-
122120
}
123121

124122
.toolbar-divider {

0 commit comments

Comments
 (0)