PluginProbe
Ultimate Dashboard – Custom WordPress Dashboard / trunk
Ultimate Dashboard – Custom WordPress Dashboard vtrunk
trunk 1.0 1.0.1 1.0.2 1.0.3 1.1 1.2 1.2.1 1.3 1.3.1 2.0 2.0.1 2.1 2.1.1 2.2 2.3 2.3.1 2.4 2.5 2.5.1 2.6 2.7 2.7.1 2.7.2 2.8 All 88 releases
ultimate-dashboard / assets / css / admin.css

admin.css in Ultimate Dashboard – Custom WordPress Dashboard trunk, at assets/css/admin.css

233 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .udb-is-hidden {
2 display: none;
3 }
4
5 /**
6 * --------------------------------------------------
7 * Select2 patch for heatbox and UDB metabox inside post editing screen.
8 * --------------------------------------------------
9 */
10 .heatbox-admin .select2-results__option,
11 .udb-metabox-field .select2-results__option {
12 margin-bottom: 0;
13 }
14
15 .heatbox-admin > .select2-container .select2-search,
16 .udb-metabox-field > .select2-container .select2-search {
17 padding: 6px;
18 }
19
20 .heatbox-admin > .select2-container .select2-search__field,
21 .udb-metabox-field > .select2-container .select2-search__field {
22 margin-left: 0;
23 margin-right: 0;
24 min-height: 20px;
25 line-height: normal;
26 }
27
28 .heatbox .select2-label,
29 .udb-metabox-field .select2-label {
30 display: block;
31 }
32
33 .heatbox .use-select2 {
34 position: relative;
35 width: 100%;
36 }
37
38 .heatbox .select2-selection--multiple,
39 .udb-metabox-field .select2-selection--multiple {
40 position: relative;
41 display: block;
42 width: 100%;
43 padding-top: 0;
44 padding-bottom: 5px;
45 line-height: 20px;
46 }
47
48 .heatbox .select2-selection--multiple .select2-selection__rendered,
49 .udb-metabox-field .select2-selection--multiple .select2-selection__rendered {
50 margin-top: 0;
51 margin-bottom: 0;
52 }
53
54 .heatbox .select2-selection--multiple .select2-selection__choice,
55 .udb-metabox-field .select2-selection--multiple .select2-selection__choice {
56 display: inline-flex;
57 align-items: center;
58 padding-left: 0;
59 padding-right: 5px;
60 margin-top: 5px;
61 margin-bottom: 0;
62 }
63
64 .heatbox .select2-selection--multiple .select2-selection__choice__remove,
65 .udb-metabox-field
66 .select2-selection--multiple
67 .select2-selection__choice__remove {
68 display: inline-flex;
69 align-items: center;
70 position: relative;
71 margin-right: 5px;
72 height: 20px;
73 }
74
75 .heatbox .select2-selection--multiple .select2-selection__choice__remove span,
76 .udb-metabox-field
77 .select2-selection--multiple
78 .select2-selection__choice__remove
79 span {
80 position: relative;
81 top: -1px;
82 }
83
84 .heatbox .select2-selection--multiple .select2-selection__choice__display,
85 .udb-metabox-field
86 .select2-selection--multiple
87 .select2-selection__choice__display {
88 display: inline-block;
89 padding-left: 4px;
90 line-height: 1;
91 }
92
93 .heatbox .select2-selection--multiple .select2-search--inline,
94 .udb-metabox-field .select2-selection--multiple .select2-search--inline {
95 display: inline;
96 }
97
98 .heatbox
99 .select2-selection--multiple
100 .select2-search--inline
101 .select2-search__field,
102 .udb-metabox-field
103 .select2-selection--multiple
104 .select2-search--inline
105 .select2-search__field {
106 position: relative;
107 display: inline-block;
108 margin-top: 5px;
109 height: 20px;
110 min-height: 20px;
111 line-height: inherit;
112 }
113
114 /**
115 * Fix custom admin bar menu item icon.
116 */
117 .udb-admin-bar-output--menu-link .ab-icon {
118 top: 2px;
119 }
120
121 /**
122 * Highlight PRO upgrade link.
123 */
124 #adminmenu #menu-posts-udb_widgets a[href="https://ultimatedashboard.io/pro/"],
125 #adminmenu #menu-posts-udb_widgets a[href="edit.php?post_type=udb_widgets&page=udb_plugin_onboarding"] {
126 background: #00a32a;
127 color: #fff;
128 }
129
130 /**
131 * Notices for metabox.
132 */
133 .udb-notice-metabox .heatbox-content p:last-child {
134 margin-bottom: 0;
135 }
136
137 .udb-notice-metabox.is-success {
138 border-left-width: 4px;
139 border-left-color: #00a32a;
140 }
141
142 .udb-notice-metabox.is-warning {
143 border-left-width: 4px;
144 border-left-color: #dba617;
145 }
146
147 .udb-notice-metabox.is-info {
148 border-left-width: 4px;
149 border-left-color: #72aee6;
150 }
151
152 /**
153 * BFCM Notice.
154 */
155 .udb-bfcm-notice {
156 padding: 25px 20px;
157 }
158
159 .udb-bfcm-notice .notice-body {
160 display: flex;
161 }
162
163 .udb-bfcm-notice .notice-icon {
164 padding-right: 25px;
165 }
166
167 .udb-bfcm-notice .notice-icon img {
168 max-width: 55px;
169 }
170
171 .udb-bfcm-notice .notice-content {
172 width: 100%;
173 }
174
175 .udb-bfcm-notice .notice-content h2 {
176 margin-top: 0;
177 margin-bottom: 10px;
178 font-weight: 700;
179 }
180
181 .udb-bfcm-notice .notice-content > p {
182 margin-top: 0;
183 margin-bottom: 10px;
184 }
185
186 .udb-bfcm-notice .notice-content > p:last-child {
187 margin-bottom: 0;
188 }
189
190 /**
191 * Upgrade nag.
192 */
193 .udb-pro-upgrade-nag {
194 margin-top: 15px;
195 background: #197cff;
196 color: #fff;
197 margin-bottom: 20px;
198 display: flex;
199 justify-content: space-between;
200 align-items: center;
201 padding: 20px;
202 font-weight: 700;
203 }
204
205 .udb-pro-upgrade-nag > * {
206 margin: 0;
207 }
208
209 .udb-pro-upgrade-nag .button {
210 background: rgba(0, 45, 96, 0.5);
211 padding: 5px 15px !important;
212 }
213
214 .udb-pro-upgrade-nag .button:hover {
215 background: rgba(0, 45, 96, 0.6);
216 }
217
218 .udb-pro-admin-bar-notice {
219 border-top: none;
220 margin-top: 0;
221 padding-top: 0;
222 }
223
224 @media screen and (max-width: 991px) {
225 .udb-pro-upgrade-nag {
226 flex-wrap: wrap;
227 }
228 .udb-pro-upgrade-nag .button {
229 margin-top: 20px;
230 margin-bottom: 0;
231 }
232 }
233