diff options
author | MaZderMind | 2015-03-01 13:01:15 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-01 13:01:15 +0100 |
commit | 911e7ac836aa61641c90e3bdb10b96c614b2aa2f (patch) | |
tree | 0ed467dfd4f27327ab422ec9f7a9ea24ccfc50b3 /assets/css/_program.less | |
parent | 787b5b657f6fa3251f8b0b4a770784f0ddaed407 (diff) |
program view
Diffstat (limited to 'assets/css/_program.less')
-rw-r--r-- | assets/css/_program.less | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/assets/css/_program.less b/assets/css/_program.less new file mode 100644 index 0000000..db87d04 --- /dev/null +++ b/assets/css/_program.less @@ -0,0 +1,94 @@ +.program { + &.scroll-container { + overflow: hidden; + overflow-x: scroll; + } + + .scroll-element { + position: relative; + } + + .room { + overflow: hidden; + } + + .now { + position: absolute; + left: 0; + width: 150px; + height: 500px; + background-color: @program-now-bg; + font-size: 14px; + + //z-index: -5; + + span { + display: block; + position: absolute; + right: -28px; + color: @program-now; + } + } + + .block { + overflow: hidden; + float: left; + height: 100px; + + /* and now for small screens: */ + @media all and (max-width: @screen-xs-max) { + height: 75px; + } + + + padding: 10px; + border: 1px solid white; + + h3 { + margin: 0; + padding: 0; + + /* and now for small screens: */ + @media all and (max-width: @screen-xs-max) { + font-size: 22px; + } + } + + h4 { + margin: 3px 0; + color: @program-room; + a { + color: @program-room; + } + } + + h5 { + color: @program-author; + } + + &.event h3 { + overflow: hidden; + } + + &.gap { + background-image: url(../img/stripes/gap.png); + background-color: @program-gap-bg; + color: @program-gap; + } + + &.daychange { + background-image: url(../img/stripes/gap.png); + background-color: @program-daychange-bg; + color: @program-daychange; + } + + &.pause { + background-color: @program-pause-bg; + color: @program-pause; + } + } + + .room.highlight .block { + background-color: @program-selected-room; + } +} |