Skip to content

Commit 36f6692

Browse files
authored
Merge pull request #232 from ticlo/revert-231-fix-dark-theme-example
Revert "Fix dark theme example"
2 parents 0caa6e3 + a6a9f17 commit 36f6692

File tree

3 files changed

+63
-64
lines changed

3 files changed

+63
-64
lines changed

example/style-common.scss

Lines changed: 0 additions & 62 deletions
This file was deleted.

example/style-dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1+
@import "./style";
12
@import "../style/index-dark";
2-
@import "./style-common";

example/style.scss

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,65 @@
11
@import "../style/index-light";
2-
@import "./style-common";
32

3+
body {
4+
font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
5+
height: 100%;
6+
margin: 0;
7+
background: $background-color;
8+
color: $text-color;
9+
}
10+
11+
.dock-tabpane > div {
12+
padding: 20px;
13+
}
14+
15+
.top-panel {
16+
position: absolute;
17+
display: flex;
18+
align-items: center;
19+
padding: 0 20px;
20+
}
21+
22+
.btn {
23+
display: inline-block;
24+
margin: 5px;
25+
font-weight: 400;
26+
text-align: center;
27+
vertical-align: middle;
28+
user-select: none;
29+
-webkit-user-select: none;
30+
color: #212529;
31+
background-color: $component-background;
32+
border: 1px solid #e9ecef;
33+
padding: 3px 10px;
34+
font-size: 1rem;
35+
line-height: 1.5;
36+
border-radius: 0.25rem;
37+
cursor: pointer;
38+
}
39+
40+
41+
.btn:hover {
42+
color: #000;
43+
background-color: #f8f8f8;
44+
border-color: #cbd3da;
45+
text-decoration: none;
46+
}
47+
48+
.btn:focus {
49+
outline: 0;
50+
}
51+
52+
.btn.disabled {
53+
color: $disabled-color;
54+
background-color: #f8f8f8;
55+
border-color: #e9ecef;
56+
opacity: 0.65;
57+
}
58+
59+
iframe {
60+
box-sizing: border-box;
61+
border: none;
62+
width: 100%;
63+
height: 100%;
64+
}
465

0 commit comments

Comments
 (0)