Skip to content

Commit 4d4bc29

Browse files
authored
Merge pull request #872 from lmcapacho/develop
Add style to js-codeblock-io-edit for light and dark themes
2 parents d30e2be + ffe612d commit 4d4bc29

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

Diff for: app/resources/uiThemes/dark/dark.css

+8
Original file line numberDiff line numberDiff line change
@@ -948,3 +948,11 @@
948948
.modal-content ul li:hover {
949949
background-color: #555;
950950
}
951+
952+
.js-codeblock-io-edit {
953+
color: white;
954+
background-color: #404040;
955+
}
956+
.js-codeblock-io-edit:hover {
957+
color: #7ccff4;
958+
}

Diff for: app/resources/uiThemes/light/light.css

+9
Original file line numberDiff line numberDiff line change
@@ -957,3 +957,12 @@
957957
.modal-content ul li:hover {
958958
background-color: #eee;
959959
}
960+
961+
.js-codeblock-io-edit {
962+
color: #777;
963+
background-color: #c0dfeb;
964+
border: 1px solid #aaa;
965+
}
966+
.js-codeblock-io-edit:hover {
967+
color: #aaa;
968+
}

Diff for: app/styles/design.css

+6-7
Original file line numberDiff line numberDiff line change
@@ -932,24 +932,23 @@ g {
932932
fill: white;
933933
stroke: white;
934934
}
935+
935936
.js-codeblock-io-edit {
936937
position: absolute;
937938
top: 0px;
938939
right: 0px;
939940
z-index: 99999999;
940-
color: white;
941-
background-color: #404040;
942941
border-radius: 0 0 0 100%;
943942
font-size: 18px;
944-
width: 36px;
945-
height: 36px;
943+
width: 30px;
944+
height: 30px;
946945
text-align: center;
947946
vertical-align: middle;
948947
line-height: 25px;
949948
cursor: pointer;
950949
pointer-events: auto;
951950
}
952-
953-
.js-codeblock-io-edit:hover {
954-
color: #7ccff4;
951+
.js-codeblock-io-edit .fa-edit:before {
952+
padding-left: 8px;
953+
font-size: small;
955954
}

0 commit comments

Comments
 (0)