Skip to content

Commit

Permalink
Release v1.2
Browse files Browse the repository at this point in the history
Add auth style
Fix body background image
  • Loading branch information
Fyelne authored Jun 9, 2022
1 parent 3183720 commit 482185b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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/*"]
}
]
}
30 changes: 14 additions & 16 deletions style.css
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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
}
Expand All @@ -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
Expand Down Expand Up @@ -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{
Expand All @@ -155,7 +154,6 @@ footer::after{
text-shadow: none;
}


/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
Expand Down

0 comments on commit 482185b

Please sign in to comment.