SVG Octicon fixes (#10237)
* SVG fixes Signed-off-by: jolheiser <john.olheiser@gmail.com> * Colorize span->svg only Signed-off-by: jolheiser <john.olheiser@gmail.com> * @silverwind suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Alphabetical Signed-off-by: jolheiser <john.olheiser@gmail.com> * Convert suburl and staticPrefix to window.config Signed-off-by: jolheiser <john.olheiser@gmail.com> * De-structure Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
This commit is contained in:
parent
2399bad1f1
commit
d67e9b9629
8 changed files with 72 additions and 60 deletions
|
@ -1168,13 +1168,13 @@ i.icon.centerlock {
|
|||
}
|
||||
|
||||
.svg {
|
||||
&.green {
|
||||
span.green & {
|
||||
color: #21ba45;
|
||||
}
|
||||
&.red {
|
||||
span.red & {
|
||||
color: #db2828;
|
||||
}
|
||||
&.purple {
|
||||
span.purple & {
|
||||
color: #a333c8;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
.svg.octicon-repo-forked {
|
||||
margin-top: -1px;
|
||||
font-size: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.button {
|
||||
|
@ -670,7 +670,7 @@
|
|||
|
||||
.svg {
|
||||
width: 23px;
|
||||
font-size: 23px;
|
||||
height: 23px;
|
||||
margin-top: 0.45em;
|
||||
}
|
||||
}
|
||||
|
@ -935,36 +935,36 @@
|
|||
|
||||
&.octicon-circle-slash {
|
||||
margin-top: 5px;
|
||||
margin-left: -34.5px;
|
||||
font-size: 20px;
|
||||
margin-left: -35.5px;
|
||||
height: 20px;
|
||||
color: #bd2c00;
|
||||
}
|
||||
|
||||
&.octicon-primitive-dot {
|
||||
margin-top: -1px;
|
||||
margin-left: -28.5px;
|
||||
margin-left: -35.5px;
|
||||
margin-right: -1px;
|
||||
font-size: 30px;
|
||||
height: 30px;
|
||||
color: #6cc644;
|
||||
}
|
||||
|
||||
&.octicon-bookmark {
|
||||
margin-top: 2px;
|
||||
margin-left: -31px;
|
||||
margin-left: -35.5px;
|
||||
margin-right: -1px;
|
||||
font-size: 25px;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
&.octicon-eye {
|
||||
margin-top: 3px;
|
||||
margin-left: -36px;
|
||||
margin-left: -35.5px;
|
||||
margin-right: 0;
|
||||
font-size: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
&.octicon-x {
|
||||
margin-left: -33px;
|
||||
font-size: 25px;
|
||||
margin-left: -35.5px;
|
||||
height: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1724,7 +1724,7 @@
|
|||
padding-bottom: 100px;
|
||||
|
||||
.svg {
|
||||
font-size: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue