Changeset 3770:75566f4ffead
- Timestamp:
- 07/10/18 13:41:19 (7 years ago)
- Branch:
- default
- Files:
-
- 3 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/_charte.php
r3731 r3770 11 11 12 12 dcPage::check('usage,contentadmin'); 13 $core->auth->user_prefs->addWorkspace('interface'); 13 14 ?> 14 15 <!DOCTYPE html> … … 21 22 <title>Bibliothèque de styles - Dotclear - 2.7</title> 22 23 <link rel="icon" type="image/png" href="images/favicon96-login.png" /> 23 <link rel="stylesheet" href="style/default.css" type="text/css" media="screen" /> 24 <?php 25 $core->auth->user_prefs->addWorkspace('interface'); 24 <?php 25 if ($core->auth->user_prefs->interface->dark_mode) { 26 echo dcPage::cssLoad('style/default-dark.css'); 27 } else { 28 echo dcPage::cssLoad('style/default.css'); 29 } 26 30 if ($core->auth->user_prefs->interface->htmlfontsize) { 27 31 echo -
admin/preferences.php
r3731 r3770 41 41 42 42 $core->auth->user_prefs->addWorkspace('interface'); 43 $user_ui_darkmode = $core->auth->user_prefs->interface->darkmode; 43 44 $user_ui_enhanceduploader = $core->auth->user_prefs->interface->enhanceduploader; 44 45 $user_ui_hidemoreinfo = $core->auth->user_prefs->interface->hidemoreinfo; … … 237 238 # Update user prefs 238 239 $core->auth->user_prefs->accessibility->put('nodragdrop', !empty($_POST['user_acc_nodragdrop']), 'boolean'); 240 $core->auth->user_prefs->interface->put('darkmode', !empty($_POST['user_ui_darkmode']), 'boolean'); 239 241 $core->auth->user_prefs->interface->put('enhanceduploader', !empty($_POST['user_ui_enhanceduploader']), 'boolean'); 240 242 $core->auth->user_prefs->interface->put('hidemoreinfo', !empty($_POST['user_ui_hidemoreinfo']), 'boolean'); … … 527 529 '<h4 id="user_options_interface">' . __('Interface') . '</h4>' . 528 530 531 '<p><label for="user_ui_darkmode" class="classic">' . 532 form::checkbox('user_ui_darkmode', 1, $user_ui_darkmode) . ' ' . 533 __('Activate dark mode') . '</label></p>' . 534 529 535 '<p><label for="user_ui_enhanceduploader" class="classic">' . 530 536 form::checkbox('user_ui_enhanceduploader', 1, $user_ui_enhanceduploader) . ' ' . -
admin/style/default.css
r3769 r3770 886 886 a:visited img { 887 887 border: none; 888 background: in herit; }888 background: initial; } 889 889 890 890 a:hover, … … 1011 1011 border-style: solid; 1012 1012 border-color: #dbdbdb; } 1013 1014 input[type=file] { 1015 color: #323232; 1016 background: #fff; } 1013 1017 1014 1018 input:invalid:not(:required), textarea:invalid:not(:required), select:invalid:not(:required), input:not([type=file]):invalid:not(:focus):not(:required) { … … 2097 2101 padding-bottom: 6px; 2098 2102 font-size: 1em; } 2103 #login-screen input.details-cmd { 2104 width: auto; 2105 margin: 0 5px 0 0; 2106 padding: 0; } 2099 2107 #login-screen #issue { 2100 2108 margin-left: 1.33em; … … 2128 2136 border-radius: 8px; 2129 2137 border: 1px solid #dbdbdb; 2130 display: inline-block; } 2138 display: inline-block; 2139 filter: contrast(100%); } 2131 2140 #icons a:focus { 2132 2141 outline: 0; } … … 2929 2938 .ac_loading { 2930 2939 background: transparent url("loader.gif") right center no-repeat; } 2940 2941 .ac_odd { 2942 background-color: #fff; } 2931 2943 2932 2944 .ac_over { -
admin/style/scss/partials/_auth.scss
r3763 r3770 51 51 font-size: 1em; 52 52 } 53 input.details-cmd { 54 width: auto; 55 margin: 0 5px 0 0; 56 padding: 0; 57 } 53 58 #issue { 54 59 margin-left: 1.33em; -
admin/style/scss/partials/_classes.scss
r3763 r3770 29 29 } 30 30 31 .ac_odd { 32 background-color: $ac-results-background; 33 } 34 31 35 .ac_over { 32 36 color: $ac-results-over; -
admin/style/scss/partials/_forms.scss
r3767 r3770 104 104 border-color: $input-border; 105 105 } 106 input[type=file] { 107 color: $input-file-color; 108 background: $input-file-background; 109 } 106 110 // Special for invalid but not required fields 107 111 input:invalid:not(:required), textarea:invalid:not(:required), select:invalid:not(:required), input:not([type=file]):invalid:not(:focus):not(:required) { -
admin/style/scss/partials/_index.scss
r3764 r3770 34 34 border: 1px solid $index-icon-border; 35 35 display: inline-block; 36 filter: contrast($index-icon-contrast); 36 37 } 37 38 &:focus { -
admin/style/scss/partials/_markup.scss
r3767 r3770 182 182 img { 183 183 border: none; 184 background: in herit;184 background: initial; 185 185 } 186 186 } -
admin/style/scss/themes/_light.scss
r3768 r3770 170 170 $input-focus: $link-outline; // #bee74b 171 171 172 $input-file-color: $body-color; 173 $input-file-background: $body-background; 174 172 175 $form-note-color: $gray-dark; // #676e78 173 176 … … 279 282 280 283 // Application pages: 281 // - Auth 284 // - Auth (white background page) 282 285 283 286 $login-fieldset-background: $white; // #ffffff … … 291 294 $index-icon-border: shade($gray-very-light, 10%); // #dbdbdb 292 295 $index-icon-outline: $link-outline; // #bee74b 296 $index-icon-contrast: 100%; 293 297 294 298 $quick-background: $gray-very-light; // #f3f3f3 -
inc/admin/lib.dc.page.php
r3769 r3770 165 165 ' <meta name="GOOGLEBOT" content="NOSNIPPET" />' . "\n" . 166 166 ' <meta name="viewport" content="width=device-width, initial-scale=1.0" />' . "\n" . 167 ' <title>' . $title . ' - ' . html::escapeHTML($core->blog->name) . ' - ' . html::escapeHTML(DC_VENDOR_NAME) . ' - ' . DC_VERSION . '</title>' . "\n" . 168 169 self::cssLoad('style/default.css'); 167 ' <title>' . $title . ' - ' . html::escapeHTML($core->blog->name) . ' - ' . html::escapeHTML(DC_VENDOR_NAME) . ' - ' . DC_VERSION . '</title>' . "\n"; 168 169 if ($core->auth->user_prefs->interface->darkmode) { 170 echo self::cssLoad('style/default-dark.css'); 171 } else { 172 echo self::cssLoad('style/default.css'); 173 } 170 174 if (l10n::getTextDirection($GLOBALS['_lang']) == 'rtl') { 171 175 echo self::cssLoad('style/default-rtl.css'); … … 433 437 434 438 ' <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" />' . "\n" . 435 ' <meta name="GOOGLEBOT" content="NOSNIPPET" />' . "\n" . 436 437 self::cssLoad('style/default.css'); 439 ' <meta name="GOOGLEBOT" content="NOSNIPPET" />' . "\n"; 440 441 if ($core->auth->user_prefs->interface->darkmode) { 442 echo self::cssLoad('style/default-dark.css'); 443 } else { 444 echo self::cssLoad('style/default.css'); 445 } 438 446 if (l10n::getTextDirection($GLOBALS['_lang']) == 'rtl') { 439 447 echo self::cssLoad('style/default-rtl.css'); -
locales/fr/main.po
r3757 r3770 2196 2196 msgstr "Interface" 2197 2197 2198 msgid "Activate dark mode" 2199 msgstr "Activer le mode sombre" 2200 2198 2201 msgid "Activate enhanced uploader in media manager" 2199 2202 msgstr "Activer l'interface avancée de la médiathèque" -
plugins/tags/style.css
r3447 r3770 2 2 3 3 .tag10 { 4 4 font-size: 140%; 5 5 } 6 6 7 7 .tag20 { 8 8 font-size: 150%; 9 9 } 10 10 11 11 .tag30 { 12 12 font-size: 160%; 13 13 } 14 14 15 15 .tag40 { 16 16 font-size: 170%; 17 17 } 18 18 19 19 .tag50 { 20 20 font-size: 180%; 21 21 } 22 22 23 23 .tag60 { 24 24 font-size: 190%; 25 25 } 26 26 27 27 .tag70 { 28 28 font-size: 200%; 29 29 } 30 30 31 31 .tag80 { 32 32 font-size: 210%; 33 33 } 34 34 35 35 .tag90 { 36 36 font-size: 220%; 37 37 } 38 38 39 39 .tag100 { 40 40 font-size: 230%; 41 41 } 42 42 43 43 table.tags { 44 44 margin-left: 3em; 45 45 } 46 46 47 47 tr.tagLetter span { 48 49 50 51 52 53 54 48 font-size: 250%; 49 border: none; 50 display: block; 51 width: 1ex; 52 position: relative; 53 top: 0.80em; 54 left: -2ex; 55 55 } 56 56 57 57 ul.metaList { 58 59 58 margin: 0 0 1em 0; 59 padding: 0; 60 60 } 61 61 62 62 ul.metaList li { 63 margin: 0; 64 padding: 0; 65 list-style: none; 66 list-style-position: inside; 67 } 68 69 70 /* 71 a.metaRemove { 72 color : #999 !important; 73 border: none; 74 } 75 a.metaRemove:hover, a.metaRemove:focus { 76 color : #2373A8 !important; 77 } 78 .addMeta a { 79 border: none; 80 } 81 .addMeta a:hover, .addMeta a:focus { 82 background: #fc0; 83 color: #000; 84 } 85 .addMeta a.metaGetMore { 86 font-weight: bold; 87 } 88 */ 89 90 91 /* Auto Complete */ 92 93 .ac_results { 94 padding: 0px; 95 border: 1px dotted #f90; 96 background-color: white; 97 overflow: hidden; 98 z-index: 99999; 99 } 100 101 .ac_results ul { 102 width: 100%; 103 list-style-position: outside; 104 list-style: none; 105 padding: 0; 106 margin: 0; 107 } 108 109 .ac_results li { 110 margin: 0px; 111 padding: 2px 5px; 112 cursor: default; 113 display: block; 114 /* 115 if width will be 100% horizontal scrollbar will apear 116 when scroll mode will be used 117 */ 118 /*width: 100%;*/ 119 font: menu; 120 font-size: 1em; 121 /* 122 it is very important, if line-height not setted or setted 123 in relative units scroll will be broken in firefox 124 */ 125 line-height: 16px; 126 overflow: hidden; 127 } 128 129 .ac_loading { 130 background: transparent url('index.php?pf=tags/img/loader.gif') right center no-repeat; 131 } 132 133 .ac_odd { 134 background-color: #eee; 135 } 136 137 .ac_over { 138 background-color: #2373A8; 139 color: white; 63 margin: 0; 64 padding: 0; 65 list-style: none; 66 list-style-position: inside; 140 67 } 141 68 142 69 #post_meta_input:focus { 143 70 -moz-box-sizing: content-box; 144 71 } 145 72 146 73 #tags-edit input[type=text] { 147 74 width: 11.5em; 148 75 } 149 76 150 77 .tag-actions form { 151 152 78 display: inline-block; 79 margin-right: 1.5em; 153 80 }
Note: See TracChangeset
for help on using the changeset viewer.