Skip to content

Commit

Permalink
v0.4 Update
Browse files Browse the repository at this point in the history
Scrollbar, Dropdown, progress bar and much more !
  • Loading branch information
Fyelne authored May 23, 2022
1 parent 7685367 commit 3cdc868
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 12 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Dark Moodle",
"version": "0.3",
"version": "0.4",
"icons": {
"16": "images/icon16.png",
"32": "images/icon32.png",
Expand Down
66 changes: 55 additions & 11 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.card,.block,.list-group-item,.btn-light,.menu,.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 {
body,.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 {
background-color:#333!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 {
Expand All @@ -7,16 +7,16 @@ input,.message,.preferences-container .preference-table tr th:nth-child(even),.p
.editor_atto_content::placeholder{
content: "Ecrire ici...";
}
.editor_atto {
border-radius: 5px;
.editor_atto, button[class^='atto_'] {
border-radius: 5px !important;
}
.dropdown-item:active,.dropdown-item:hover{
background-color:#999!important
}
a.popover-region-toggle:focus,p.message,.fp-filename,.list-group-item-action,.dropdown-item:focus{
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-menu,.dropdown-item,.dropdown-toggle,.btn-outline-secondary,span.input-group-text,div.editor_atto_toolbar button:hover{
.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{
background-color:#4e5760!important;
background-image: none!important;
box-shadow:none!important;
Expand All @@ -36,8 +36,10 @@ a.popover-region-toggle:focus,p.message,.fp-filename,.list-group-item-action,.dr
.btn-light,.form-control:focus{
border:none!important
}
.dropdown-menu,.popover-region-container,select{
.dropdown-menu,.popover-region-container,select,div.editor_atto_toolbar button {
border:2px solid #6c757d!important;
}
.dropdown-menu,.popover-region-container,select{
padding:0px 0px!important
}
.dropdown-item,option{
Expand All @@ -64,7 +66,7 @@ a.popover-region-toggle:focus,p.message,.fp-filename,.list-group-item-action,.dr
a,footer::after{
color:#8fd8eb!important;font-weight:600!important
}
.custom-control-input:checked~.custom-control-label::before{
.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{
Expand All @@ -88,8 +90,8 @@ a,footer::after{
.btn-secondary{
font-weight:600!important
}
.card-footer,#inst136783,#inst138764,.popover-region-toggle::after,.tail{
display:none
.card-footer,#inst136783,#inst138764,.popover-region-toggle::after,.tail,.text-info{
display:none !important
}
#page-content{
margin:10px 0px
Expand Down Expand Up @@ -126,6 +128,48 @@ footer::after{
text-align: center;
display: block;
}
.fa-check-square-o:before {
content: "";
.fp-path-folder{
background: none !important;
}
.fp-path-folder::before{
font:normal normal normal 14px/1 FontAwesome;
content: "\f07b";
}
.atto_group{
border-color: transparent !important;
}

/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-button {
width: 0px;
height: 0px;
}
::-webkit-scrollbar-thumb {
background: #4e5760;
border: 0px none #333;
border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
background: #6c757d;
}
::-webkit-scrollbar-thumb:active {
background: #333333;
}
::-webkit-scrollbar-track {
background: #333333;
border: 0px none #333;
border-radius: 50px;
}
::-webkit-scrollbar-track:hover {
background: #333333;
}
::-webkit-scrollbar-track:active {
background: #555555;
}
::-webkit-scrollbar-corner {
background: transparent;
}

0 comments on commit 3cdc868

Please sign in to comment.