-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple-meta-boxes.css
170 lines (144 loc) · 2.93 KB
/
simple-meta-boxes.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
.smb_metabox,
.smb_repeater_table{
width: 100%;
}
.smb_metabox th,
.smb_metabox td{
padding: 20px 0;
}
.smb_metabox th {
vertical-align: top;
}
.smb_metabox_description{
text-align: left;
font-weight: bold;
}
.smb_metabox th.smb_group_title{
border-bottom: 1px solid #DDD;
padding: 0;
margin: 20px 0;
}
.smb_metabox label{
color: #222222;
text-align: left;
display: table-cell;
}
.smb_metabox input[type="text"],
.smb_metabox input[type="email"],
.smb_metabox textarea
{
width: 90%;
}
.smb_metabox .wp-editor-wrap{
width: 95% !important;
}
.smb_metabox input[type="text"].smb_file_input{
width: 70%;
}
.smb_checkbox_title{
display: inline-block;
margin-right: 15px;
}
.smb_description,
.smb_required_message{
color: #AAAAAA;
margin-top: 2px;
margin-bottom: 0;
width: 95%;
}
.smb_required_mark,
.smb_required_message{
color: #d82020;
}
.smb_required_message{
font-weight: bold;
display: none;
}
.smb_repeater_row td {
height: 30px;
padding: 0;
}
.smb_field_deleter {
margin-left: 5px;
vertical-align: top;
}
.smb_field_up,
.smb_field_down,
.smb_field_deleter{
width: 26px;
height: 26px;
}
.smb_group_up,
.smb_group_down,
.smb_group_deleter,
.smb_group_repeater{
width: 40px;
height: 30px;
cursor: pointer;
}
.smb_group_up,
.smb_group_down,
.smb_group_deleter,
.smb_field_up,
.smb_field_down,
.smb_field_deleter{
float: right;
}
.smb_group_title.smb_first_group .smb_group_up,
.smb_group_title.smb_last_group .smb_group_down,
.smb_group_title.smb_first_group.smb_last_group .smb_group_deleter,
.smb_first_field.smb_last_field td .smb_field_deleter,
.smb_first_field td .smb_field_up,
.smb_last_field td .smb_field_down,
.smb_field_repeater_field:not(.smb_first_field) > th > label{
display: none;
}
.smb_thumbnail, .smb_media_thumbnail{
min-width: 50px;
min-height: 28px;
max-width: 300px;
max-height: 300px;
display: block;
-webkit-box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.75);
box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.75);
}
.smb_thumb_container, .smb_media_container{
position: relative;
display: table-cell;
}
.smb_thumb_container > span, .smb_media_container > span{
color: #fff;
font-size: 13px;
font-weight: bold;
cursor: pointer;
display: block;
position: absolute;
top: -2px;
right: 4px;
z-index: 2;
}
.smb_thumb_container:after, .smb_media_container:after{
content: "";
position: absolute;
top: -13px;
right: -3px;
width: 0px;
height: 0px;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-left: 20px solid #930005;
-ms-transform: rotate(-45deg); /* IE 9 */
-webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
transform: rotate(-45deg);
}
.smb_media_url{ display: none; }
/* Seamless demake */
.postbox.smb_seamless{
background: transparent;
border: none;
box-shadow: none;
}
.postbox.smb_titleless > h3, .postbox.smb_seamless > .handlediv {
display: none;
}