summaryrefslogtreecommitdiff
path: root/assets/sass
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass')
-rw-r--r--assets/sass/_form.sass25
-rw-r--r--assets/sass/_popover.sass15
-rw-r--r--assets/sass/_thumbnails.sass (renamed from assets/sass/_files.sass)0
-rw-r--r--assets/sass/app.sass2
4 files changed, 27 insertions, 15 deletions
diff --git a/assets/sass/_form.sass b/assets/sass/_form.sass
index d70d505c..8db142af 100644
--- a/assets/sass/_form.sass
+++ b/assets/sass/_form.sass
@@ -70,6 +70,14 @@ span.select2-container
padding-top: 20px
clear: both
+.form-required
+ color: red
+ padding-left: 5px
+ font-weight: bold
+
+ @include xs-device
+ display: none
+
input.form-error, textarea.form-error
border: 2px solid #b94a48
@@ -77,11 +85,6 @@ input.form-error:focus, textarea.form-error:focus
box-shadow: none
border: 2px solid #b94a48
-.form-required
- color: red
- padding-left: 5px
- font-weight: bold
-
.form-errors
color: color('error')
list-style-type: none
@@ -109,13 +112,13 @@ ul.form-errors li
display: inline
.form-columns
- display: -webkit-flex
- display: flex
- -webkit-flex-direction: row
- flex-direction: row
+ +display-flex
+ +flex-direction(row)
+ +flex-wrap
+ +justify-content(flex-start)
-.form-column
- margin-right: 25px
+ .form-column
+ margin-right: 25px
.form-login
width: 350px
diff --git a/assets/sass/_popover.sass b/assets/sass/_popover.sass
index ed58cfbc..3939f059 100644
--- a/assets/sass/_popover.sass
+++ b/assets/sass/_popover.sass
@@ -1,4 +1,5 @@
@import variables
+@import mixins
#popover-container
position: fixed
@@ -12,13 +13,21 @@
#popover-content
position: absolute
- width: 70%
- left: 15%
+ width: 75%
+ left: 12%
top: 1%
padding: 15px
background: #fff
overflow: auto
- max-height: 90%
+ max-height: 95%
+
+ @include xs-device
+ left: 0
+ width: 100%
+
+ @include sm-device
+ left: 2.5%
+ width: 85%
.popover-form
margin-bottom: 0
diff --git a/assets/sass/_files.sass b/assets/sass/_thumbnails.sass
index 9e130576..9e130576 100644
--- a/assets/sass/_files.sass
+++ b/assets/sass/_thumbnails.sass
diff --git a/assets/sass/app.sass b/assets/sass/app.sass
index 8c109ebb..9a93e4ab 100644
--- a/assets/sass/app.sass
+++ b/assets/sass/app.sass
@@ -20,8 +20,8 @@
@import sidebar
@import avatar
@import file_upload
+@import thumbnails
@import color_picker
-@import files
@import filter_box
@import project
@import project_overview