Changeset 3868:dae3038ae341 for admin
- Timestamp:
- 09/08/18 11:11:21 (7 years ago)
- Branch:
- default
- Location:
- admin/style
- Files:
-
- 5 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 -
admin/style/default.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 #c9c9c9; } 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 -
admin/style/scss/partials/_utils.scss
r3839 r3868 21 21 border: 1px solid $color-div-border; 22 22 } 23 24 /* Badges */ 25 /* 26 Set .badgeable to badge parent's (not mandatory for menu items), then use: 27 .badge (standard badge) 28 which must be combined with : 29 .badge-icon (dashboard icon) → top right, or 30 .badge-block (dashboard module) → top left, or 31 .badge-inline (menu item) → right centered 32 and may be combined with : 33 .badge-info → blue background 34 and may be combined with (only in dashboard, not in menu) : 35 .badge-block-icon (dashboard icon or module) → soft badge on top right 36 */ 37 38 .badgeable { 39 /* class to set to badge parent's, not mandatory for menu items */ 40 position: relative; 41 } 42 43 /* Badge design */ 44 .badge { 45 color: $badge-color; 46 background-color: $badge-std-background; 47 vertical-align: top; 48 border-radius: 10px; 49 padding: 0 .6em; 50 } 51 .badge-info { 52 background-color: $badge-info-background 53 } 54 .badge-icon { 55 border-radius: 5px; 56 } 57 .badge-block-icon { 58 background-color: $badge-soft-background 59 } 60 61 /* Badge position */ 62 .badge-icon { 63 /* Dashboard icon → badge on top rigt */ 64 position: absolute; 65 top: 0; 66 right: 20px; 67 } 68 .badge-block { 69 /* Dashboard module → badge on top left */ 70 position: absolute; 71 top: -10px; 72 right: -10px; 73 } 74 .badge-block-icon { 75 /* Dashboard icon/module → badge on top rigt */ 76 right: 20px; 77 } 78 .badge-inline { 79 /* Menu item */ 80 margin-left: .5em; 81 } -
admin/style/scss/themes/_dark.scss
r3811 r3868 68 68 $add: #bee74b; 69 69 $add-alt: #9bca1c; 70 71 $badge: #d54e21; /* bright red */ 72 $badge-soft: #708090; /* slategray */ 73 $badge-info: #3f51b5; /* soft dark blue */ 70 74 71 75 // Common … … 432 436 $color-div-border: $gray-light; 433 437 438 $badge-color: $white; // #ffffff 439 $badge-std-background: $badge; // #d54e21 440 $badge-soft-background: $badge-soft; 441 $badge-info-background: $badge-info; 442 434 443 // Debug 435 444 -
admin/style/scss/themes/_light.scss
r3811 r3868 15 15 16 16 $gray-very-dark: shade($gray, 72%); // #323232 (near to #333 used before) 17 $gray-darker: shade($gray, 50%); // #595b5d 17 18 $gray-semi-dark: shade($gray, 25%); // #868686 (near to #999 used before) 18 19 $gray-light: tint($gray, 30%); // #c9c9c9 (near to #ccc used before) … … 67 68 $add: #bee74b; 68 69 $add-alt: #9bca1c; 70 71 $badge: #d54e21; /* bright red */ 72 $badge-soft: #708090; /* slategray */ 73 $badge-info: #3f51b5; /* soft dark blue */ 69 74 70 75 // Common … … 431 436 $color-div-border: $gray-light; // #c9c9c9 432 437 438 $badge-color: $white; // #ffffff 439 $badge-std-background: $badge; // #d54e21 440 $badge-soft-background: $badge-soft; 441 $badge-info-background: $badge-info; 442 433 443 // Debug 434 444
Note: See TracChangeset
for help on using the changeset viewer.