mirror of https://github.com/astrit/css.gg.git
Merge pull request #9 from ruudwelten/battery
Add full battery icon and increase charge on regular battery
This commit is contained in:
commit
5952a50f93
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,33 @@
|
|||
.gg-battery-full {
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 12px;
|
||||
transform: scale(var(--ggs,1));
|
||||
border: 2px solid;
|
||||
border-radius: 3px;
|
||||
margin-left: -3px
|
||||
}
|
||||
|
||||
.gg-battery-full::after,
|
||||
.gg-battery-full::before {
|
||||
content: "";
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
height: 6px;
|
||||
background: currentColor;
|
||||
top: 1px
|
||||
}
|
||||
|
||||
.gg-battery-full::before {
|
||||
right: -4px;
|
||||
border-radius: 3px;
|
||||
width: 4px
|
||||
}
|
||||
|
||||
.gg-battery-full::after {
|
||||
width: 14px;
|
||||
left: 1px
|
||||
}
|
||||
|
|
@ -28,6 +28,6 @@
|
|||
}
|
||||
|
||||
.gg-battery::after {
|
||||
width: 6px;
|
||||
width: 8px;
|
||||
left: 1px
|
||||
}
|
||||
Loading…
Reference in New Issue