Changeset 3774:6d9581959be6
- Timestamp:
- 07/12/18 10:49:09 (7 years ago)
- Branch:
- default
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/config.rb
r3355 r3774 5 5 css_dir = "./" 6 6 sass_dir = "scss" 7 images_dir = " img"7 images_dir = "./" 8 8 javascripts_dir = "scripts" 9 9 -
admin/style/default-dark.css
r3771 r3774 3099 3099 font-weight: bold; } 3100 3100 3101 /* ------------------------------------------------------------------------- indicateurs */ 3102 .mark-attach { 3103 display: inline-block; 3104 box-sizing: border-box; 3105 width: 12px; 3106 height: 12px; 3107 padding-left: 12px; 3108 background: url("../images/attach.svg") no-repeat; 3109 filter: hue-rotate(260deg) saturate(100) saturate(0.2) brightness(220%); } 3110 3101 3111 /* ---------------------------------------------------------------- utilisables partout */ 3102 3112 .legible { -
admin/style/default.css
r3771 r3774 3099 3099 font-weight: bold; } 3100 3100 3101 /* ------------------------------------------------------------------------- indicateurs */ 3102 .mark-attach { 3103 display: inline-block; 3104 box-sizing: border-box; 3105 width: 12px; 3106 height: 12px; 3107 padding-left: 12px; 3108 background: url("../images/attach.svg") no-repeat; 3109 filter: hue-rotate(300deg) saturate(0.64); } 3110 3101 3111 /* ---------------------------------------------------------------- utilisables partout */ 3102 3112 .legible { -
admin/style/scss/partials/_classes.scss
r3770 r3774 229 229 } 230 230 231 /* ------------------------------------------------------------------------- indicateurs */ 232 233 .mark {} 234 235 .mark-published {} 236 .mark-unpublished {} 237 .mark-scheduled {} 238 .mark-pending {} 239 .mark-locked {} 240 .mark-selected {} 241 .mark-hidden {} 242 .mark-attach { 243 display: inline-block; 244 box-sizing: border-box; 245 width: 12px; 246 height: 12px; 247 padding-left: 12px; 248 background: $mark-attach-img no-repeat; 249 filter: $mark-attach-filter; 250 } 231 251 232 252 /* ---------------------------------------------------------------- utilisables partout */ -
admin/style/scss/themes/_dark.scss
r3771 r3774 419 419 $offline: $gray-semi-dark; 420 420 421 $mark-attach-img: url('../images/attach.svg'); 422 $mark-attach-filter: hue-rotate(260deg) saturate(100) saturate(.2) brightness(220%); 423 421 424 // Utils 422 425 -
admin/style/scss/themes/_light.scss
r3771 r3774 418 418 $offline: $gray-dark; // #676e78 419 419 420 $mark-attach-img: url('../images/attach.svg'); 421 $mark-attach-filter: hue-rotate(300deg) saturate(.64); 422 420 423 // Utils 421 424 -
inc/admin/lib.pager.php
r3771 r3774 273 273 } 274 274 275 $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />';275 $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" class="mark mark-%3$s" />'; 276 276 $sts_class = ''; 277 277 switch ($this->rs->post_status) { 278 278 case 1: 279 $img_status = sprintf($img, __('Published'), 'check-on.png' );279 $img_status = sprintf($img, __('Published'), 'check-on.png', 'published'); 280 280 $sts_class = 'sts-online'; 281 281 break; 282 282 case 0: 283 $img_status = sprintf($img, __('Unpublished'), 'check-off.png' );283 $img_status = sprintf($img, __('Unpublished'), 'check-off.png', 'unpublished'); 284 284 $sts_class = 'sts-offline'; 285 285 break; 286 286 case -1: 287 $img_status = sprintf($img, __('Scheduled'), 'scheduled.png' );287 $img_status = sprintf($img, __('Scheduled'), 'scheduled.png', 'scheduled'); 288 288 $sts_class = 'sts-scheduled'; 289 289 break; 290 290 case -2: 291 $img_status = sprintf($img, __('Pending'), 'check-wrn.png' );291 $img_status = sprintf($img, __('Pending'), 'check-wrn.png', 'pending'); 292 292 $sts_class = 'sts-pending'; 293 293 break; … … 296 296 $protected = ''; 297 297 if ($this->rs->post_password) { 298 $protected = sprintf($img, __('Protected'), 'locker.png' );298 $protected = sprintf($img, __('Protected'), 'locker.png', 'locked'); 299 299 } 300 300 301 301 $selected = ''; 302 302 if ($this->rs->post_selected) { 303 $selected = sprintf($img, __('Selected'), 'selected.png' );303 $selected = sprintf($img, __('Selected'), 'selected.png', 'selected'); 304 304 } 305 305 … … 308 308 if ($nb_media > 0) { 309 309 $attach_str = $nb_media == 1 ? __('%d attachment') : __('%d attachments'); 310 $attach = sprintf($img, sprintf($attach_str, $nb_media), 'attach.png' );310 $attach = sprintf($img, sprintf($attach_str, $nb_media), 'attach.png', 'attach'); 311 311 } 312 312 -
plugins/pages/class.listpage.php
r3731 r3774 74 74 private function postLine($count, $checked) 75 75 { 76 $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />';76 $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" class="mark mark-%3$s" />'; 77 77 $sts_class = ''; 78 78 switch ($this->rs->post_status) { 79 79 case 1: 80 $img_status = sprintf($img, __('Published'), 'check-on.png' );80 $img_status = sprintf($img, __('Published'), 'check-on.png', 'published'); 81 81 $sts_class = 'sts-online'; 82 82 break; 83 83 case 0: 84 $img_status = sprintf($img, __('Unpublished'), 'check-off.png' );84 $img_status = sprintf($img, __('Unpublished'), 'check-off.png', 'unpublished'); 85 85 $sts_class = 'sts-offline'; 86 86 break; 87 87 case -1: 88 $img_status = sprintf($img, __('Scheduled'), 'scheduled.png' );88 $img_status = sprintf($img, __('Scheduled'), 'scheduled.png', 'scheduled'); 89 89 $sts_class = 'sts-scheduled'; 90 90 break; 91 91 case -2: 92 $img_status = sprintf($img, __('Pending'), 'check-wrn.png' );92 $img_status = sprintf($img, __('Pending'), 'check-wrn.png', 'pending'); 93 93 $sts_class = 'sts-pending'; 94 94 break; … … 97 97 $protected = ''; 98 98 if ($this->rs->post_password) { 99 $protected = sprintf($img, __('Protected'), 'locker.png' );99 $protected = sprintf($img, __('Protected'), 'locker.png', 'locked'); 100 100 } 101 101 102 102 $selected = ''; 103 103 if ($this->rs->post_selected) { 104 $selected = sprintf($img, __('Hidden'), 'hidden.png' );104 $selected = sprintf($img, __('Hidden'), 'hidden.png', 'hidden'); 105 105 } 106 106 … … 109 109 if ($nb_media > 0) { 110 110 $attach_str = $nb_media == 1 ? __('%d attachment') : __('%d attachments'); 111 $attach = sprintf($img, sprintf($attach_str, $nb_media), 'attach.png' );111 $attach = sprintf($img, sprintf($attach_str, $nb_media), 'attach.png', 'attach'); 112 112 } 113 113
Note: See TracChangeset
for help on using the changeset viewer.