-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathadmin.css
More file actions
executable file
·101 lines (83 loc) · 1.89 KB
/
Copy pathadmin.css
File metadata and controls
executable file
·101 lines (83 loc) · 1.89 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
/**
* Custom Admin area styling.
* Lots of !important because overwriting default cmb2 styles. Quite hacky.
*/
/**
* cmb2 repeater with only one item in the group.
*/
.cmb-repeat--single .cmb-group-description {
border-bottom: 0 !important;
}
.cmb-repeat--single .cmb-repeat-group-field {
border-bottom: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
.cmb-repeat--single .cmb-remove-field-row {
margin: 0 !important;
}
/**
* cmb2 fields without the container / wrapper
*/
.cmb-row--nowrap {
padding: 0 !important;
background: none !important;
border: none !important;
box-shadow: none !important;
}
.cmb-row--nowrap .cmb-group-title {
border-bottom: 1px solid #eee !important;
background: none !important;
}
.cmb-row--nowrap .postbox.closed h3 {
border: none !important;
}
.cmb2-options-page .cmb2-type-title--simple {
margin-top: -1px !important;
background-color: #fff !important;
}
/**
* cmb2 Style fixes and tweaks
*/
h2.cmb-group-name {
display: block !important;
padding: 5px 0 !important;
font-weight: 600 !important;
}
.cmb-nested.cmb-field-list.cmb-repeatable-group > .cmb-row {
border: 0;
}
/**
* Fancy colored backgrounds for radio button labels. TODO: Use the real colors!
*/
.cmb2-radio-bg {
display: inline-flex;
align-items: center;
height: 20px;
padding: 4px;
font-weight: 500;
font-size: 15px;
}
.cmb2-radio-bg--gray-standard {
background: #F7F7F9;
color: #151931;
}
.cmb2-radio-bg--gray-gradient {
background: #F7F7F9;
}
.cmb2-radio-bg--gray-gradient span {
background: linear-gradient(135deg, #FC845B, #FE497A);
font-family: serif;
font-weight: 600;
font-size: 16px;
margin-top: 3px;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.cmb2-radio-bg--orange {
background: linear-gradient(135deg, #FC835E, #FE5284);
color: #FFF;
}
.cmb2-radio-bg--gray {
background: gray;
}