Changeset 3869:97af47e1ee7d for admin/style/default.css
- Timestamp:
- 09/11/18 15:45:42 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r3868 r3869 3211 3211 border: 1px solid #c9c9c9; } 3212 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 */ 3213 /* Badges (common.js) */ 3226 3214 .badgeable { 3227 3215 /* class to set to badge parent's, not mandatory for menu items */ … … 3236 3224 padding: 0 .6em; } 3237 3225 3226 .badge-icon { 3227 background-color: #708090; } 3228 3229 /* Badge background override */ 3230 .badge-std { 3231 background-color: #d54e21; } 3232 3238 3233 .badge-info { 3239 3234 background-color: #3f51b5; } 3240 3235 3241 .badge-icon { 3242 border-radius: 5px; } 3243 3244 .badge-block-icon { 3236 .badge-soft { 3245 3237 background-color: #708090; } 3246 3238 3247 3239 /* Badge position */ 3248 .badge-icon {3249 /* Dashboard icon → badge on top rigt */3250 position: absolute;3251 top: 0;3252 right: 20px; }3253 3254 3240 .badge-block { 3255 /* Dashboard module → badge on top left */3241 /* Dashboard module → badge on top right */ 3256 3242 position: absolute; 3257 3243 top: -10px; 3258 3244 right: -10px; } 3259 3245 3260 .badge- block-icon {3261 /* Dashboard icon /module → badge on top rigt */3246 .badge-icon { 3247 /* Dashboard icon → badge on top right */ 3262 3248 right: 20px; } 3263 3249
Note: See TracChangeset
for help on using the changeset viewer.