mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-07-24 04:31:52 +00:00
Move theme helpers and some stylesheets to proper locations
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
@mixin fit-with-margin($margin) {
|
||||
$offset: $margin * 2;
|
||||
|
||||
width: calc(100% - #{$offset});
|
||||
max-width: calc(100% - #{$offset});
|
||||
height: calc(100% - #{$offset});
|
||||
margin: $margin;
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
@import '../base';
|
||||
|
||||
@mixin sticky-cell($with-separators: true) {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: 0;
|
||||
bottom: -1px;
|
||||
right: if($with-separators, -1px, 0);
|
||||
background: var(--table-border-color);
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
&:first-child:before {
|
||||
left: if($with-separators, -1px, 0);
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: if($with-separators, 1px, 0);
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: var(--primary-color);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
&:first-child:after {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user