-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault-styles.js
47 lines (40 loc) · 1.18 KB
/
default-styles.js
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
/**
*
*
* Use in DM Editor:
*
import { defaultStyles } from './defaultStyles';
for (const widget of Object.keys(defaultStyles)) {
registerWidgetStyleOption(widget, [defaultStyles[widget]]);
}
*/
export const defaultStyles = {
tabs:{
identifier:'_default',
name:'Default',
cssStyle:`
div[role='tablist']{
border-bottom: 1px solid #cccccc;
padding-left: 10px;
.dme-w-nav-item{
padding: 10px 15px;
border: none;
cursor: pointer;
background: white;
font-size: 1rem;
}
.dme-w-nav-item:hover{
font-weight: bold;
}
.dme-w-nav-item.dme-w-active{
border-top: 1px solid #cccccc;
border-left: 1px solid #cccccc;
border-right: 1px solid #cccccc;
border-bottom: 1px solid white;
margin-bottom: -1px;
border-radius: 4px 4px 0px 0px;
}
}
`
}
}