Browse Source

Improve scss refactor 5

closed-social-glitch-2
ncls7615 6 years ago
parent
commit
6ecf81cacf
No known key found for this signature in database GPG Key ID: 18FE1E1E7098294A
2 changed files with 49 additions and 49 deletions
  1. +49
    -0
      app/javascript/flavours/glitch/styles/components/drawer.scss
  2. +0
    -49
      app/javascript/flavours/glitch/styles/components/index.scss

+ 49
- 0
app/javascript/flavours/glitch/styles/components/drawer.scss View File

@ -256,3 +256,52 @@
}
}
}
.drawer__pager {
box-sizing: border-box;
padding: 0;
flex-grow: 1;
position: relative;
overflow: hidden;
display: flex;
}
.drawer__inner {
position: absolute;
top: 0;
left: 0;
background: lighten($ui-base-color, 13%) url('~images/wave-drawer.png') no-repeat bottom / 100% auto;
box-sizing: border-box;
padding: 0;
display: flex;
flex-direction: column;
overflow: hidden;
overflow-y: auto;
width: 100%;
height: 100%;
&.darker {
background: $ui-base-color;
}
> .mastodon {
background: url('~images/mastodon-ui.png') no-repeat left bottom / contain;
flex: 1;
}
}
.pseudo-drawer {
background: lighten($ui-base-color, 13%);
font-size: 13px;
text-align: left;
}
.drawer__backdrop {
cursor: pointer;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba($base-overlay-background, 0.5);
}

+ 0
- 49
app/javascript/flavours/glitch/styles/components/index.scss View File

@ -528,45 +528,6 @@
}
}
.drawer__pager {
box-sizing: border-box;
padding: 0;
flex-grow: 1;
position: relative;
overflow: hidden;
display: flex;
}
.drawer__inner {
position: absolute;
top: 0;
left: 0;
background: lighten($ui-base-color, 13%) url('~images/wave-drawer.png') no-repeat bottom / 100% auto;
box-sizing: border-box;
padding: 0;
display: flex;
flex-direction: column;
overflow: hidden;
overflow-y: auto;
width: 100%;
height: 100%;
&.darker {
background: $ui-base-color;
}
> .mastodon {
background: url('~images/mastodon-ui.png') no-repeat left bottom / contain;
flex: 1;
}
}
.pseudo-drawer {
background: lighten($ui-base-color, 13%);
font-size: 13px;
text-align: left;
}
.tabs-bar {
display: flex;
background: lighten($ui-base-color, 8%);
@ -1194,16 +1155,6 @@ noscript {
100% { opacity: 1; }
}
.drawer__backdrop {
cursor: pointer;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba($base-overlay-background, 0.5);
}
@import 'boost';
@import 'accounts';
@import 'status';

Loading…
Cancel
Save