Skip to content

Commit

Permalink
Merge pull request #872 from lmcapacho/develop
Browse files Browse the repository at this point in the history
 Add style to js-codeblock-io-edit for light and dark themes
  • Loading branch information
Obijuan authored Feb 7, 2025
2 parents d30e2be + ffe612d commit 4d4bc29
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
8 changes: 8 additions & 0 deletions app/resources/uiThemes/dark/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -948,3 +948,11 @@
.modal-content ul li:hover {
background-color: #555;
}

.js-codeblock-io-edit {
color: white;
background-color: #404040;
}
.js-codeblock-io-edit:hover {
color: #7ccff4;
}
9 changes: 9 additions & 0 deletions app/resources/uiThemes/light/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -957,3 +957,12 @@
.modal-content ul li:hover {
background-color: #eee;
}

.js-codeblock-io-edit {
color: #777;
background-color: #c0dfeb;
border: 1px solid #aaa;
}
.js-codeblock-io-edit:hover {
color: #aaa;
}
13 changes: 6 additions & 7 deletions app/styles/design.css
Original file line number Diff line number Diff line change
Expand Up @@ -932,24 +932,23 @@ g {
fill: white;
stroke: white;
}

.js-codeblock-io-edit {
position: absolute;
top: 0px;
right: 0px;
z-index: 99999999;
color: white;
background-color: #404040;
border-radius: 0 0 0 100%;
font-size: 18px;
width: 36px;
height: 36px;
width: 30px;
height: 30px;
text-align: center;
vertical-align: middle;
line-height: 25px;
cursor: pointer;
pointer-events: auto;
}

.js-codeblock-io-edit:hover {
color: #7ccff4;
.js-codeblock-io-edit .fa-edit:before {
padding-left: 8px;
font-size: small;
}

0 comments on commit 4d4bc29

Please sign in to comment.