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

Commit d8f0db1

Browse files
committed
fix css
1 parent 63c40e1 commit d8f0db1

8 files changed

Lines changed: 39 additions & 38 deletions

File tree

.idea/codeStyles/Project.xml

Lines changed: 1 addition & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,46 +16,31 @@ const paths = {
1616
};
1717

1818
gulp.task('app', () => {
19-
return gulp.src(paths.styles.public)
20-
.pipe(sass())
21-
.pipe(gulp.dest(paths.styles.appCss));
19+
return gulp.src(paths.styles.public).pipe(sass()).pipe(gulp.dest(paths.styles.appCss));
2220
});
2321

2422
gulp.task('styles', () => {
25-
return gulp.src(paths.styles.src)
26-
.pipe(sass())
27-
.pipe(cleanCSS())
28-
.pipe(gulp.dest(paths.styles.dest));
23+
return gulp.src(paths.styles.src).pipe(sass()).pipe(cleanCSS()).pipe(gulp.dest(paths.styles.dest));
2924
});
3025

3126
gulp.task('debugStyles', () => {
32-
return gulp.src(paths.styles.src)
33-
.pipe(sass())
34-
.pipe(gulp.dest(paths.styles.dest));
27+
return gulp.src(paths.styles.src).pipe(sass()).pipe(gulp.dest(paths.styles.dest));
3528
});
3629

3730
gulp.task('watchStyles', () => {
3831
gulp.watch(paths.styles.src, gulp.parallel('styles'));
3932
});
4033

4134
gulp.task('clean', () => {
42-
return gulp.src(['release',
43-
'dist'], {read: false, allowEmpty: true})
44-
.pipe(clean());
35+
return gulp.src(['release', 'dist'], { read: false, allowEmpty: true }).pipe(clean());
4536
});
4637

4738
gulp.task('copy', () => {
48-
return gulp.src(['*.*',
49-
'!release.zip',
50-
'dist/*.css',
51-
'public/**/*'], {allowEmpty: true})
52-
.pipe(copy('release'));
39+
return gulp.src(['*.*', '!release.zip', 'dist/*.css', 'public/**/*'], { allowEmpty: true }).pipe(copy('release'));
5340
});
5441

5542
gulp.task('zip', () => {
56-
return gulp.src('release/**/*')
57-
.pipe(zip('release.zip'))
58-
.pipe(gulp.dest('.'));
43+
return gulp.src('release/**/*').pipe(zip('release.zip')).pipe(gulp.dest('.'));
5944
});
6045

6146
gulp.task('release', gulp.series('clean', 'styles', 'copy', 'zip'));

new/app/themed/console/_consoleView.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
.console-prompt-editor-container {
1616
background: $contrast;
1717

18-
1918
.widget {
2019
background: $contrast;
2120
}

new/app/themed/console/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
@import 'consolePrompt';
33
@import 'consoleSidebar';
44
@import 'consoleView';
5+
@import 'errorWarningCounter';

new/app/themed/network/_infobar.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@
1313
color: $accent1;
1414
}
1515
}
16+
17+
.infobar-warning,
18+
.-theme-with-dark-background .infobar-warning,
19+
:host-context(.-theme-with-dark-background) .infobar-warning {
20+
--override-infobar-warning-background: #{$notif} !important;
21+
22+
background: $notif !important;
23+
}

new/app/themed/ui/_filter.scss

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1+
.filter-input-container {
2+
background: $contrast;
3+
border: 1px solid $border;
4+
5+
&:hover {
6+
background: $contrast;
7+
}
8+
}
9+
110
.filter-input-container:focus-within,
211
.filter-text-filter:not(.filter-text-empty) .filter-input-container {
3-
box-shadow: none;
12+
box-shadow: 2px solid $accent1;
13+
border: none;
414
}
515

616
.filter-bar {
@@ -12,6 +22,12 @@
1222
text-shadow: rgba(0, 0, 0, 0.5) 0 1px 0;
1323
}
1424

25+
.-theme-with-dark-background .filter-bitset-filter span,
26+
.filter-bitset-filter span {
27+
outline: 1px solid $accent1;
28+
color: $foreground;
29+
}
30+
1531
.filter-bitset-filter-divider {
1632
background-color: $border;
1733
}

new/default.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ $fontSize: var(--font-size, 11);
126126
html,
127127
.-theme-with-dark-background,
128128
:host-context(.-theme-with-dark-background) {
129+
--sys-color-cdt-base-container: #{$background} !important;
130+
--override-infobar-warning-background: #{$notif} !important;
131+
--override-file-tree-item-color: #{$yellow} !important;
132+
--override-folder-tree-item-color: #{$cyan} !important;
129133
--accent-color-hover: #{$accent1Alpha} !important;
130134
--accent-color: #{$accent1} !important;
131135
--accent-fg-color: #{$accent1} !important;
@@ -155,8 +159,8 @@ html,
155159
--color-button-secondary-border: #{$button} !important;
156160
--color-checkbox-accent-color: #{$accent1} !important;
157161
--color-completion-hover: #{$hl} !important;
158-
--color-continue-to-location-async-hover-border: #{$accent1} !important;
159-
--color-continue-to-location-async-hover: #{$accent1Alpha} !important;
162+
--color-continue-to-location-async-hover-border: #{$accent1} !important;
163+
--color-continue-to-location-async-hover: #{$accent1Alpha} !important;
160164
--color-continue-to-location-hover-border: #{$accent1} !important;
161165
--color-continue-to-location-hover: #{$accent1Alpha} !important;
162166
--color-coverage-used: #{$function-color} !important;

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"main": "devtools.html",
66
"author": "Elior Boukhobza <heliosaian@gmail.com>",
77
"license": "MIT",
8-
"type": "module",
98
"dependencies": {
109
"@github/mini-throttle": "^2.1.1",
1110
"compression": "1.7.4",

0 commit comments

Comments
 (0)