mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-11 17:50:29 +03:00
Refector sass
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
85c3240b54
commit
ce9f140ddf
46 changed files with 407 additions and 703 deletions
|
|
@ -1,3 +1,6 @@
|
|||
@use '../../partials/text';
|
||||
@use '../../partials/dir';
|
||||
|
||||
.context-menu {
|
||||
background-color: var(--bg-surface);
|
||||
box-shadow: var(--bs-popup);
|
||||
|
|
@ -29,10 +32,8 @@
|
|||
border-bottom: 1px solid var(--bg-surface-border);
|
||||
|
||||
.text {
|
||||
@extend .cp-txt__ellipsis;
|
||||
color: var(--tc-surface-low);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&:not(:first-child) {
|
||||
|
|
@ -50,17 +51,11 @@
|
|||
white-space: nowrap;
|
||||
|
||||
.text:first-child {
|
||||
margin: {
|
||||
left: calc(var(--ic-small) + var(--sp-ultra-tight));
|
||||
right: var(--sp-extra-tight);
|
||||
}
|
||||
|
||||
[dir=rtl] & {
|
||||
margin: {
|
||||
left: var(--sp-extra-tight);
|
||||
right: calc(var(--ic-small) + var(--sp-ultra-tight));
|
||||
}
|
||||
}
|
||||
@include dir.side(
|
||||
margin,
|
||||
calc(var(--ic-small) + var(--sp-ultra-tight)),
|
||||
var(--sp-extra-tight)
|
||||
);
|
||||
}
|
||||
}
|
||||
.btn-surface:focus {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue