MM-54723 - Updating btn icon sizes (#24679)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5f0aac70ac
Коммит
5b25519890
@@ -52,7 +52,6 @@ button {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: rgba(var(--center-channel-color-rgb), 0.56);
|
color: rgba(var(--center-channel-color-rgb), 0.56);
|
||||||
font-size: 24px;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: rgba(var(--center-channel-color-rgb), 0.08);
|
background-color: rgba(var(--center-channel-color-rgb), 0.08);
|
||||||
@@ -66,40 +65,49 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
font-size: inherit;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.btn-xs {
|
&.btn-xs {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
font-size: 14.4px;
|
|
||||||
|
|
||||||
&.btn-compact {
|
&.btn-compact {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
font-size: 14.4px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.btn-sm {
|
&.btn-sm {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
font-size: 18px;
|
|
||||||
|
|
||||||
&.btn-compact {
|
&.btn-compact {
|
||||||
width: 28px;
|
width: 28px;
|
||||||
height: 28px;
|
height: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.btn-lg {
|
&.btn-lg {
|
||||||
width: 48px;
|
width: 48px;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
font-size: 31.2px;
|
|
||||||
|
|
||||||
&.btn-compact {
|
&.btn-compact {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
font-size: 31.2px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user