Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d6a92fc4bf | |||
| cdce71a3d7 | |||
| 9c4fbaeaa2 | |||
| 8a83e90369 | |||
| ac7b707ebd |
30
css/check.css
Normal file
30
css/check.css
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
i.icon.check {
|
||||||
|
--width: 2em;
|
||||||
|
--height: 1.5em;
|
||||||
|
--up: 10px;
|
||||||
|
--down: 6px;
|
||||||
|
position: relative;
|
||||||
|
width: var(--width);
|
||||||
|
height: var(--height);
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: block;
|
||||||
|
border-radius: 100px;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
top: -0.3em;
|
||||||
|
left: 0.4em;
|
||||||
|
width: var(--down);
|
||||||
|
height: var(--up);
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: block;
|
||||||
|
border-width: 0 2px 2px 0;
|
||||||
|
border-style: solid;
|
||||||
|
transform-origin: bottom left;
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,31 +1,36 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
i.icon.close {
|
i.icon.close {
|
||||||
--diameter: 22px;
|
--diameter: 2em;
|
||||||
box-sizing: border-box;
|
--size: 1.5em;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
|
||||||
width: var(--diameter);
|
width: var(--diameter);
|
||||||
height: var(--diameter);
|
height: var(--diameter);
|
||||||
border: 2px solid transparent;
|
|
||||||
border-radius: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
i.icon.close::after,
|
|
||||||
i.icon.close::before {
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: absolute;
|
display: block;
|
||||||
width: 16px;
|
border-radius: 40px;
|
||||||
height: 2px;
|
border: 0.2em solid transparent;
|
||||||
background: currentColor;
|
|
||||||
transform: rotate(45deg);
|
|
||||||
border-radius: 5px;
|
|
||||||
top: 8px;
|
|
||||||
left: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
i.icon.close::after {
|
&:is(.small) {
|
||||||
transform: rotate(-45deg);
|
--size: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::after,
|
||||||
|
&::before {
|
||||||
|
top: 0.7em;
|
||||||
|
left: 0.2em;
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
width: var(--size, 1.5em);
|
||||||
|
height: 2px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: block;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: currentColor;
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
59
css/eye.css
Normal file
59
css/eye.css
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
i.icon.eye {
|
||||||
|
position: relative;
|
||||||
|
width: 24px;
|
||||||
|
height: 18px;
|
||||||
|
display: block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
border-bottom-right-radius: 100px;
|
||||||
|
border-bottom-left-radius: 100px;
|
||||||
|
|
||||||
|
:is(.small) {
|
||||||
|
width: 21px;
|
||||||
|
height: 15px;
|
||||||
|
border-bottom-right-radius: 70px;
|
||||||
|
border-bottom-left-radius: 70px;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
left: var(--left, 7px);
|
||||||
|
bottom: var(--bottom, 3px);
|
||||||
|
width: 7px;
|
||||||
|
height: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
width: 21px;
|
||||||
|
height: 21px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&::before,
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
border-radius: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
left: var(--left, 8px);
|
||||||
|
bottom: var(--bottom, 4px);
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
border: 2px solid var(--text-color-active, #000);
|
||||||
|
transition: var(--transition, 0) ease-out;
|
||||||
|
transform: rotateX(var(--offset-x, 0)) rotateY(var(--offset-y, 0));
|
||||||
|
}
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
top: 2px;
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
box-shadow:
|
||||||
|
inset 0 -8px 0 2px,
|
||||||
|
inset 0 0 0 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
@charset "UTF-8";
|
|
||||||
|
|
||||||
i.icon.telegram {
|
|
||||||
position: relative;
|
|
||||||
width: 24px;
|
|
||||||
height: 24px;
|
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
top: 2px;
|
|
||||||
left: 2px;
|
|
||||||
position: absolute;
|
|
||||||
content: "";
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
&::after {
|
|
||||||
top: 7px;
|
|
||||||
left: 9px;
|
|
||||||
position: absolute;
|
|
||||||
content: "";
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-left: 5px solid transparent;
|
|
||||||
border-right: 5px solid transparent;
|
|
||||||
border-bottom: 8px solid currentColor;
|
|
||||||
color: #ffffff;
|
|
||||||
transform: rotate(-30deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user