Files
attract/src/styles/_base.sass

159 lines
2.6 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
#col_left, #col_main, #col_right
display: flex
flex-direction: column
position: relative
flex: 1
height: 100%
#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
.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
font:
size: 1.2em
border-bottom: thin solid $color-background
&.scrolled
box-shadow: 0 -2px 20px rgba(black, .2)
.col-list-item
display: flex
align-items: center
width: 100%
background-color: white
border-bottom: thin solid $color-background
.input-transparent-group
width: 100%
display: flex
align-items: center
label
padding-right: 10px
font-weight: normal
color: $color-text-dark-primary
&.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
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
.processing
+stripes($color-background, rgba($color-background, .5), -45deg, 25px)
+stripes-animate
animation-duration: 2s