From 482185bef6eb6dc98c44544c50b69d3abd9c1a20 Mon Sep 17 00:00:00 2001 From: Fyelne <76248983+Fyelne@users.noreply.github.com> Date: Thu, 9 Jun 2022 11:16:14 +0200 Subject: [PATCH] Release v1.2 Add auth style Fix body background image --- manifest.json | 6 +++--- style.css | 30 ++++++++++++++---------------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/manifest.json b/manifest.json index 89c255e..3306d5d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { - "manifest_version": 3, + "manifest_version": 2, "name": "Dark Moodle", - "version": "1.1", + "version": "1.2", "icons": { "16": "images/icon16.png", "32": "images/icon32.png", @@ -12,7 +12,7 @@ "content_scripts": [ { "css": ["./style.css"], - "matches": ["https://moodle.univ-ubs.fr/*"] + "matches": ["https://moodle.univ-ubs.fr/*", "https://cas.univ-ubs.fr/*"] } ] } \ No newline at end of file diff --git a/style.css b/style.css index 5223245..f6d0941 100644 --- a/style.css +++ b/style.css @@ -1,24 +1,24 @@ -.card,.block,.list-group-item,.btn-light,.menu,.dropdown-menu,.dropdown-item,.bg-pulse-grey,.empty-icon-container,.overlay-icon-container,div.message-app,div.bg-white,div.bg-light,.popover-region-container,.popover-region-footer-container,.moodle-dialogue-content,select,.fp-thumbnail,.conversationcontainer,.body-container,.editor_atto_toolbar, .dndupload-target,.editor_atto_content_wrap,.course-summaryitem,.filemanager th.yui3-datatable-header, .filemanager .yui3-datatable-even td.yui3-datatable-cell,.filemanager .yui3-datatable-odd td.yui3-datatable-cell, .modal-content { - background-color:#333!important +#region-main,.card,.block,.list-group-item,.btn-light,.menu,.dropdown-menu,.dropdown-item,.bg-pulse-grey,.empty-icon-container,.overlay-icon-container,div.message-app,div.bg-white,div.bg-light,.popover-region-container,.popover-region-footer-container,.moodle-dialogue-content,.fp-thumbnail,.conversationcontainer,.body-container,.editor_atto_toolbar, .dndupload-target,.editor_atto_content_wrap,.course-summaryitem,.filemanager th.yui3-datatable-header, .filemanager .yui3-datatable-even td.yui3-datatable-cell,.filemanager .yui3-datatable-odd td.yui3-datatable-cell, .modal-content { + background-color:#222!important } body{ background-image:url('https://raw.githubusercontent.com/Fyelne/Dark-Moodle/main/images/background.png') !important; } -input,.message,.preferences-container .preference-table tr th:nth-child(even),.preferences-container .preference-table tr td:nth-child(even),textarea.form-control,.btn-icon:focus,.btn-icon:hover,.path-mod-assign td.submissionnotgraded,.editor_atto_content { - background-color:#555!important +select,select option,body,.mdc-text-field,input,.card-deck,.profile_tree,.message,.preferences-container .preference-table tr th:nth-child(even),.preferences-container .preference-table tr td:nth-child(even),textarea.form-control,.btn-icon:focus,.btn-icon:hover,.path-mod-assign td.submissionnotgraded,.editor_atto_content { + background-color:#333!important } .editor_atto_content::placeholder{ content: "Ecrire ici..."; } .course-summaryitem{ - border-color: #555 !important; + border-color: #333 !important; border-width: 2px !important; } .editor_atto, button[class^='atto_'] { border-radius: 5px !important; } .dropdown-item:active,.dropdown-item:hover { - background-color:#999!important + background-color:#777!important } .yui3-skin-sam .yui3-datatable-sort-indicator{ bottom: 0 !important; @@ -35,7 +35,7 @@ input,.message,.preferences-container .preference-table tr th:nth-child(even),.p a.popover-region-toggle:focus,p.message,.fp-filename,.list-group-item-action,.dropdown-item:focus,.atto_group{ background-color:transparent!important } -.dropdown-item:focus-within,.dropdown-item.active,.btn-secondary:hover,.btn-primary:hover,.btn-secondary:focus,.btn-primary:focus,.nav-items:focus,.nav-items:hover,a:focus,option,.nav-pills .nav-link.active,.dropdown-toggle,.btn-outline-secondary,span.input-group-text,div.editor_atto_toolbar button:hover, .filemanager .ygtvfocus{ +.dropdown-item:focus-within,.dropdown-item.active,.btn-secondary:hover,.btn-primary:hover,.btn-secondary:focus,.btn-primary:focus,.nav-items:focus,.nav-items:hover,a:focus,.nav-pills .nav-link.active,.dropdown-toggle,.btn-outline-secondary,span.input-group-text,div.editor_atto_toolbar button:hover, .filemanager .ygtvfocus{ background-color:#4e5760!important; background-image: none!important; box-shadow:none!important; @@ -63,19 +63,15 @@ a.popover-region-toggle:focus,p.message,.fp-filename,.list-group-item-action,.dr } .dropdown-item,option{ border-bottom:1px solid #6c757d; - color:#fff!important } #region-main{ - background-color:#333!important; border:none!important } .card-deck{ - background-color:#555!important; border-radius:5px; padding-top:8px } .profile_tree{ - background-color:#555!important; border-radius:5px; padding:8px 8px 0px } @@ -85,14 +81,17 @@ a,footer::after{ .custom-control-input:checked~.custom-control-label::before, .progress-bar{ background-color:#8fd8eb!important } -#page-footer,.bg-white,.navbar-bootswatch,.btn-secondary,.btn-primary,.navbar-brand:focus,.navbar-brand:hover,.page-link,.nav-link,#action-menu-toggle-0,div.editor_atto_toolbar button{ +.reveal-password,header,footer,.bg-white,.navbar-bootswatch,.btn-secondary,.btn-primary,.navbar-brand:focus,.navbar-brand:hover,.page-link,.nav-link,#action-menu-toggle-0,div.editor_atto_toolbar button{ background-color:#343a40!important } .btn-primary,.btn-secondary,.border,.page-link{ border-color:#343a40!important } -.btn-outline-secondary,p,h1,h2,h3,h4,h5,.dropdown-header,small,span.text-muted,small.text-muted,div.text-muted,div,.btn-secondary,.navbar-brand,th,td,textarea.form-control::placeholder,select,input.form-control,.closebutton,.close,strong,.navbar-bootswatch a i.icon,i.icon,.day, pre{ - color:#fff!important +.accesskey,.mdc-floating-label,input,input::placeholder,.dropdown-item,option,.btn-outline-secondary,p,h1,h2,h3,h4,h5,.h6,.dropdown-header,small,span.text-muted,small.text-muted,div.text-muted,div,.btn-secondary,.navbar-brand,th,td,textarea.form-control::placeholder,select,input.form-control,.closebutton,.close,strong,.navbar-bootswatch a i.icon,i.icon,.day, pre{ + color:#eee!important +} +input::-moz-placeholder,input::-webkit-input-placeholder{ + color:#eee!important } .resourcelinkdetails{ color:#999!important @@ -130,7 +129,7 @@ div.border-top, .modal-footer{ div.border-bottom, .modal-header{ border-bottom-color:#999!important } -div.border{ +div.border,.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{ border-color:#999!important } .policiesfooter{ @@ -155,7 +154,6 @@ footer::after{ text-shadow: none; } - /* Scrollbar */ ::-webkit-scrollbar { width: 8px;