From 58f69e634e954fc9e2d3f767722ffbae32ee0047 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 4 Apr 2015 20:40:58 +0200 Subject: Move Styles completely into their own assemblies --- assets/css/_overview.less | 110 +++++++++++++++++++++++----------------------- 1 file changed, 56 insertions(+), 54 deletions(-) (limited to 'assets/css/_overview.less') diff --git a/assets/css/_overview.less b/assets/css/_overview.less index 86098b3..9337cb0 100644 --- a/assets/css/_overview.less +++ b/assets/css/_overview.less @@ -1,80 +1,82 @@ -.room { - text-align: center; +body.overview { + .room { + text-align: center; - .panel-heading { - display: none; - } + .panel-heading { + display: none; + } - &.has-preview { - .title { - text-align: left; - line-height: 120px; + &.has-preview { + .title { + text-align: left; + line-height: 120px; + } } - } - &.has-schedule.has-preview { - text-align: left; + &.has-schedule.has-preview { + text-align: left; - .panel-heading { - display: block; - } - .title { - display: none; - line-height: inherit; + .panel-heading { + display: block; + } + .title { + display: none; + line-height: inherit; + } } - } - .preview { - float: left; - margin-right: @padding-base-horizontal; + .preview { + float: left; + margin-right: @padding-base-horizontal; - @media (max-width: @screen-xs-min) { - margin-bottom: @padding-base-vertical; + @media (max-width: @screen-xs-min) { + margin-bottom: @padding-base-vertical; + } } - } - a.title { - font-size: 2.5em; - display: block; - } + a.title { + font-size: 2.5em; + display: block; + } - .program-schedule .talk { - display: inline; - margin-right: @padding-base-horizontal; - } - - &.has-schedule.has-preview { .program-schedule .talk { - display: block; + display: inline; + margin-right: @padding-base-horizontal; } - @media (max-width: @screen-xs-min) { - .program-schedule { - clear: both; + &.has-schedule.has-preview { + .program-schedule .talk { + display: block; + } + + @media (max-width: @screen-xs-min) { + .program-schedule { + clear: both; + } } } - } - &.has-preview { - .program-schedule .next-talk { - margin-top: @padding-base-vertical; + &.has-preview { + .program-schedule .next-talk { + margin-top: @padding-base-vertical; + } } } -} -.recordings a { - font-size: @jumbo-font-size; - line-height: @jumbo-line-height; + .recordings a { + font-size: @jumbo-font-size; + line-height: @jumbo-line-height; - @media (max-width: @screen-xs-min) { - font-size: @jumbo-font-size-xs; - } + @media (max-width: @screen-xs-min) { + font-size: @jumbo-font-size-xs; + } - display: block; - text-align: center; + display: block; + text-align: center; - &:hover { - text-decoration: none; + &:hover { + text-decoration: none; + } } } -- cgit v1.2.3