-
Notifications
You must be signed in to change notification settings - Fork 1
/
_styles.css
136 lines (118 loc) · 2.21 KB
/
_styles.css
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/*
Plugin administration:
Sortable not working properly when handle positioned outside draggable element
*/
ul.simple-fields-edit-field-groups-added-fields li {
padding-left: 16px;
}
/*
Page & post editing:
Adapted styling for increased usability
#post-body selector used in order to safely overwrite other definitions
*/
#post-body .sfp-wrapper {
padding: 0 0.5em;
position: relative;
}
#post-body .sfp-wrapper-repeatable {
padding: 0;
}
/* ---------------------------
Navigation */
#post-body .sfp-add,
#post-body .sfp-toggle {
margin: 0;
position: absolute;
right: 30px;
top: -29px;
z-index: 10;
}
#post-body .sfp-toggle {
cursor: pointer;
right: 80px;
}
#post-body .sfp-delete {
left: 100px;
top: 2px;
}
#post-body .sfp-delete a,
#post-body .sfp-add a,
#post-body .sfp-toggle {
background-color: #fff;
border: 1px solid #dfdfdf;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
color: #666;
display: inline-block;
padding: 0.35em 0.5em;
text-decoration: none;
}
#post-body .sfp-delete a {
opacity: 1;
padding: 0.2em 0.9em 0.2em 0.9em;
width: auto;
}
#post-body .sfp-add a:hover,
#post-body .sfp-toggle:hover {
color: #D54E21;
}
#post-body .sfp-delete a:hover {
background-color: #D54E21;
}
/* tinyMCE switch */
#post-body .sfp-editor {
float: right;
padding: 7px 45px 5px 0;
}
/* ---------------------------
Field groups */
#post-body .sfp-group {
margin-bottom: 0.5em;
margin-top: 0;
padding: 0;
}
#post-body .sfp-inner {
padding: 1em;
}
/* Title */
#post-body .sfp-handle {
display: block;
float: none;
height: auto;
margin: 0;
width: auto;
}
/* ---------------------------
Fields */
#post-body .sfp-field {
padding-left: 9em;
}
#post-body .sfp-field-checkbox {
padding: 0.5em 0;
}
#post-body .sfp-field:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#post-body .sfp-field label {
float: left;
line-height: 1.3;
margin-left: -9em;
padding-top: 0.4em;
width: 8em;
}
#post-body .sfp-field-radiobutton label {
padding-top: 0;
}
#post-body .sfp-field-checkbox label,
#post-body .sfp-field-radiobutton div label {
float: none;
font-weight: bold;
margin-left: 0;
padding-top: 0;
width: auto;
}