Files
attract/src/styles/_base.sass

206 lines
3.5 KiB
Sass
Raw Normal View History

body
background-color: $color-background
position: absolute
top: 0
left: 0
right: 0
bottom: 0
height: 100%
width: 100%
margin: 0
padding: 0
font-family: 'Roboto'
a
color: $color-primary
&:hover
color: $color-primary-dark
#app-main
display: flex
align-items: stretch
height: 100%
nav.sidebar
position: fixed
left: 0
width: $sidebar-width
height: 100%
background-color: $color-background-nav
dl
dd
margin: 0
a
display: flex
color: $color-text-light-hint
font-size: 1.5em
align-items: center
justify-content: center
padding: 10px 0
&:hover
color: $color-text-light-primary
#col_sidebar
width: $sidebar-width
min-width: $sidebar-width
#col_left, #col_main, #col_right
display: flex
flex-direction: column
position: relative
flex: 0 0 auto
height: 100%
min-width: 150px
#col_main
background-color: white
2016-09-22 16:43:19 +02:00
border-right: thin solid $color-background-dark
#col_right
2016-09-21 18:26:34 +02:00
background-color: $color-background-light
flex: 1 1 auto
.col_header
position: relative
display: flex
align-items: center
width: 100%
2016-09-21 18:26:34 +02:00
min-height: 50px
background-color: white
padding: 10px 15px
2016-09-23 18:07:20 +02:00
font-size: 1.2em
border-bottom: thin solid $color-background
&.scrolled
box-shadow: 0 -2px 20px rgba(black, .2)
2016-09-23 18:07:20 +02:00
.header_text::first-letter
text-transform: capitalize
.col-list-item
display: flex
align-items: center
width: 100%
background-color: white
border-bottom: thin solid $color-background
.col-splitter
flex: 0 0 auto
width: 8px
background-color: $color-background
min-height: 200px
cursor: col-resize
position: relative
z-index: 1
.input-group-flex
display: flex
.input-transparent-group+.input-transparent-group
margin-left: 10px
.input-transparent-group
width: 100%
display: flex
align-items: center
label
padding-right: 10px
font-weight: normal
color: $color-text-dark-primary
min-width: 80px
&.select_multiple
margin-bottom: 10px
select.input-transparent
background-color: $color-background
option
background-color: white
.input-transparent
border: thin solid transparent
border-radius: 3px
padding: 5px
margin-top: 10px
margin-bottom: 10px
width: 100%
&:hover
border: thin solid $color-text-dark-hint
#status-bar
color: $color-text-dark-secondary
margin-left: auto
text-align: right
.table
display: table
width: 100%
position: relative
.table-row
display: table-row
&:hover
background-color: $color-background-light
.table-head
display: table-header-group
.table-cell
font-size: .9em
color: $color-text-dark-secondary
.table-body
display: table-row-group
.table-cell
display: table-cell
border-bottom: thin solid $color-background-dark
2016-09-22 16:43:19 +02:00
vertical-align: middle
.table-cell-spacer
background-color: $color-background-light
width: 6px
min-width: 4px
height: 100%
display: table-cell
border: 2px solid $color-background
border-top: none
border-bottom: none
cursor: e-resize
2016-09-22 16:43:19 +02:00
/* Generic Statuses */
2016-09-22 16:43:19 +02:00
.processing
+stripes(rgba($color-background, .2), rgba($color-background, .5), -45deg, 25px)
2016-09-22 16:43:19 +02:00
+stripes-animate
animation-duration: 2s
.flash-on
background-color: lighten($color-success, 50%) !important
border-color: lighten($color-success, 40%) !important
color: $color-success !important
text-shadow: 1px 1px 0 white
transition: all .1s ease-in
img
transition: all .1s ease-in
opacity: .8
.flash-off
transition: all 1s ease-out
img
transition: all 1s ease-out
2016-09-23 18:07:20 +02:00
.btn:active
box-shadow: none
.bg-status
@include status-color-property(background-color, '', 'dark')
.fg-status
@include status-color-property(color, '', 'dark')