-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.scss
More file actions
105 lines (94 loc) · 1.57 KB
/
common.scss
File metadata and controls
105 lines (94 loc) · 1.57 KB
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
body {
}
.demo-box {
padding: 15px 0;
&.has-pad-sm {
padding: 5px 0;
}
a, button, input {
font-weight: inherit;
color: inherit;
}
&.sd-with-icon-bg {
.has-icon {
background-color: $white-ter;
}
}
.has-icon {
&.is-medium {
.iconfont {
font-size: 1.5rem;
}
}
&.is-large {
.iconfont {
font-size: 2.5rem;
}
}
}
&.sd-form-example-cnt {
padding: 30px 25px !important;
width: 95%;
border: 1px solid #eeeeee;
border-radius: 4px;
position: relative;
margin: 40px 0;
&:after {
content: "Form Example";
position: absolute;
top: -10px;
left: 15px;
background-color: #f9da00;
color: #393f48;
font-size: 12px;
line-height: 1em;
padding: 4px 5px;
border-radius: 2px;
}
}
}
p {
// clear user agent style
&.v-help {
line-height: normal;
font-size: 0.75rem;
margin-top: 0.25rem;
}
&.v-control {
margin: 0;
}
&.v-modal-card-title {
margin: 0;
}
}
.sidebar-nav {
> section {
> h1 {
font-size: 16px;
}
}
}
.markdown-section figure, .markdown-section p, .markdown-section ul, .markdown-section ol {
margin: 0.5em 0;
}
.markdown-section ul, .markdown-section ol {
//padding-left: 1rem;
}
.sd-loading {
font-size: 2rem;
@include loader;
}
.__too-long-hl-code {
max-height: 180px;
overflow: scroll;
opacity: .6;
cursor: pointer;
position: relative;
transition: opacity .5s;
&:after {
content: "点击展开";
}
&:hover {
opacity: 1;
}
}