Changeset 3868:dae3038ae341 for admin/style/default-dark.css
- Timestamp:
- 09/08/18 11:11:21 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default-dark.css
r3858 r3868 224 224 Colors 225 225 --------------------------------------------------- */ 226 /* bright red */ 227 /* slategray */ 228 /* soft dark blue */ 226 229 /** -------------------------------------------------- 227 230 Common rules … … 3208 3211 border: 1px solid #c9cbcf; } 3209 3212 3213 /* Badges */ 3214 /* 3215 Set .badgeable to badge parent's (not mandatory for menu items), then use: 3216 .badge (standard badge) 3217 which must be combined with : 3218 .badge-icon (dashboard icon) → top right, or 3219 .badge-block (dashboard module) → top left, or 3220 .badge-inline (menu item) → right centered 3221 and may be combined with : 3222 .badge-info → blue background 3223 and may be combined with (only in dashboard, not in menu) : 3224 .badge-block-icon (dashboard icon or module) → soft badge on top right 3225 */ 3226 .badgeable { 3227 /* class to set to badge parent's, not mandatory for menu items */ 3228 position: relative; } 3229 3230 /* Badge design */ 3231 .badge { 3232 color: #fff; 3233 background-color: #d54e21; 3234 vertical-align: top; 3235 border-radius: 10px; 3236 padding: 0 .6em; } 3237 3238 .badge-info { 3239 background-color: #3f51b5; } 3240 3241 .badge-icon { 3242 border-radius: 5px; } 3243 3244 .badge-block-icon { 3245 background-color: #708090; } 3246 3247 /* Badge position */ 3248 .badge-icon { 3249 /* Dashboard icon → badge on top rigt */ 3250 position: absolute; 3251 top: 0; 3252 right: 20px; } 3253 3254 .badge-block { 3255 /* Dashboard module → badge on top left */ 3256 position: absolute; 3257 top: -10px; 3258 right: -10px; } 3259 3260 .badge-block-icon { 3261 /* Dashboard icon/module → badge on top rigt */ 3262 right: 20px; } 3263 3264 .badge-inline { 3265 /* Menu item */ 3266 margin-left: .5em; } 3267 3210 3268 /* ------------------------------------------------------------------------------------ 3211 3269 UN POIL DE MEDIA QUERIES
Note: See TracChangeset
for help on using the changeset viewer.