1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-11 17:42:48 +00:00

UI done for video archiving

This commit is contained in:
2018-08-23 00:07:08 -05:00
parent 5a542e0ffb
commit 94bac26903
30 changed files with 393 additions and 68 deletions

13
client/app/scss/grid.scss Normal file
View File

@@ -0,0 +1,13 @@
.archive-grid {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
@include smallScreen() {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
&__item {
height: 300px;
}
}

View File

@@ -1,5 +1,14 @@
@import '~normalize.css/normalize.css';
@import '~font-awesome/css/font-awesome.css';
@import '~nprogress/nprogress.css';
@import './mixins.scss';
@import './variables.scss';
@import './style.scss';
@import './button.scss';
@import './card.scss';
@import './input.scss';
@import './grid.scss';
@import './nprogress.scss';

View File

@@ -0,0 +1,14 @@
.input {
line-height: 38px;
border-radius: 3px;
border: 1px solid $lightGray;
padding-left: 5px;
padding-right: 5px;
height: 38px;
background: $gray5;
color: $white;
&::placeholder {
font-size: 14px;
}
}

View File

@@ -3,3 +3,9 @@
@content;
}
}
@mixin smallScreen {
@media only screen and (max-width: 768px) {
@content;
}
}

View File

@@ -0,0 +1,5 @@
// override nprogress css
#nprogress .bar {
background: $red;
}

View File

@@ -1,6 +1,3 @@
@import './variables.scss';
@import './mixins.scss';
html {
font-family: 'Roboto', sans-serif;
}
@@ -29,13 +26,16 @@ i {
body {
background-color: $gray1;
color: $white;
// padding-left: $navbarWidth;
}
.flex {
display: flex;
}
.flex--v-center {
align-items: center;
}
.content {
padding: 20px;
@include tinyScreen {
@@ -43,16 +43,6 @@ body {
}
}
.input {
border-radius: 3px;
border: 1px solid $lightGray;
padding-left: 5px;
padding-right: 5px;
height: 30px;
background: $gray5;
color: $white;
}
.column {
flex: 1;
@@ -65,3 +55,19 @@ body {
word-break: break-word;
word-wrap: break-word;
}
.color {
&__red {
color: $red;
}
&__primary {
color: $primaryBlue;
}
}
.ellipsis {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

View File

@@ -2,6 +2,7 @@ $navbarWidth: 200px;
// colors
$primaryBlue: #7289da;
$red: #dd6e6e;
$white: darken(white, 20%);
$gray1: #2e3136;