// customize bootstrap variables here: @import "fonts"; @import "variables"; @import "../lib/bootstrap"; $max-width: $container-lg; /* main layout */ html { width: 100%; overflow: hidden; overflow-y: scroll; /* poor support - but for the future! */ hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; } body { padding-top: $navbar-height; width: 100%; overflow: hidden; overflow-y: initial; } .top-space { padding-top: 40px; } h1 { color: $gray-dark; margin-top: 60px; line-height: 0.9em; } h1 + h2 { margin-top: -0.2em; } h2 { margin-top: 1.2em; .date { margin-right: 0.2em; color: $brand-primary; font-size: 16px; } } p { margin-bottom: 0.5em; .fa { display: inline; color: $gray-dark; font-size: 1.1em; } } .container, .container-fluid { max-width: $max-width; padding: 0; } .label { display: inline-block; border-radius: $border-radius-base; padding-top: 0.3em; padding-bottom: 0.1em; font-size: 14px; font-weight: normal; margin-right: 2px; margin-bottom: $padding-small-vertical; } /* navigation bar */ .navbar { border: none; .navbar-brand { font-size: 24px; padding: 12px 15px; } .btn.btn-default { padding: 0.2em; height: 1.8em; max-width: 2em; &:hover, &:focus, &:active { color: $brand-primary; background-color: #fff; border-color: #fff; } } .navbar-form { margin-top: 0.8em; margin-bottom: 0.8em; } input { height: 1.8em; padding-top: 6px; } .fa { min-width: 20px; font-size: 1.3em; } } /* breadcrumb */ #breadcrumb { background-color: $gray; font-size: 16px; ol { max-width: $max-width; padding: $padding-small-vertical $padding-large-horizontal; margin-bottom: 0; li + li:before { font-family: FontAwesome; font-size: 9px; } } } /* browse-by-buttons at homescreen */ .browse-button-bar { text-align: center; margin-top: $padding-large-vertical; margin-bottom: $padding-large-vertical; .btn-lg { margin: $padding-small-vertical $padding-small-horizontal; } .fa { font-size: 1.3em; } } /* news */ h1 + .news-item { margin-top: -0.5em; } /* recording detail site */ .nav.nav-tabs.nav-justified { margin-top: 16px; font-weight: bold; font-size: 24px; background-color: $gray; & > li { a { padding: $padding-large-vertical 0 0 0; margin-bottom: 0; border: none; &:hover, &:focus, &:active { background-color: #fff; } &:hover, &:focus, &:active { border: none; } } &.active > a { color: white; background-color: $gray-dark; } } } .player-wrap { background-color: $gray-dark; } .tab-content { background-color: $gray-dark; .mejs-container { margin: auto; } #switcher { padding: $padding-large-horizontal; h3 { color: $gray-light; &:first-child { margin-top: 0; } } ul { list-style-type: none; padding: 0; li { min-width: 49%; display: inline-block; } a { margin: 0 $padding-xs-horizontal; } } .filetype { text-transform: uppercase; margin-right: $padding-small-horizontal; color: #000; background-color: #fff; min-width: 4em; } a:hover, a:focus, a:active { text-decoration: none; } } } ul.metadata { list-style: none; padding: $padding-small-vertical 0; text-align: center; border-bottom: 1px solid $gray; li { display: inline-block; min-width: 24.5%; padding: $padding-small-vertical $padding-small-horizontal; } .fa { margin-right: $padding-xs-horizontal; } } /* footer */ footer { padding: 0.7em; margin-top: 2em; color: $gray-light; background-color: $gray-dark; text-align: center; } /* links */ a.inverted { color: $gray-lighter; } /* buttons */ .btn-lg { padding-top: 5px; padding-bottom: 5px; .fa { /* nicely positioned icons on large buttons */ position: relative; top: 0.15em; margin-right: 0.3em; } } /* banner area */ .banner { width: 100%; height: 300px; overflow: hidden; text-align: center; background-image: url('../img/promoted_bg.jpg'); position: relative; img { position: relative; z-index: 1; height: 190px; display: inline-block; margin-top: 12px; border: 1px solid $transparent-white; background-color: $transparent-white; } .titlebar { width: 100%; height: 112px; background-color: $transparent-white; position: absolute; line-height: 112px; bottom: 0; color: white; font-size: 30px; text-shadow: 0 1px 2px rgba(0,0,0,0.6); } } .rooms { .room-group { background-color: $gray-dark; overflow: hidden; margin-bottom: 2em; h2 { margin: 0.6em 1.2em; } ul { list-style-type: none; margin: 0; padding: 0; } li { list-style-type: none; width: 49%; &.wide { width: 100%; } margin: 0; padding: 0; margin-top: 1%; height: 6em; float: left; a { color: white; display: block; width: 100%; height: 100%; line-height: 3.4em; font-size: 1.75em; font-weight: bold; text-align: center; &:hover { background-color: #1a1a1a; text-decoration: none; } } &:nth-child(2n+1) { margin-right: 1%; } } } } .room { &.lq .player-wrap { padding: 32px 0; } &.audio .player-wrap { padding: 64px 32px; } &.party #switcher ul li { min-width: 33%; } &.slides .player-wrap .slide-audio { padding: 32px 32px; } .click-to-irc { background-image: url(../img/irc-soft.png); height: 376px; border: 2px solid $gray-dark; text-align: center; cursor: pointer; .activator { margin-top: 120px; font-size: 60px; a { font-size: 40px; } } iframe { display: none; } &.active { background-image: none; .activator { display: none; } iframe { display: block; } } } } /* extra large mejs controls on tablet & phone */ @media only screen and (max-device-width: 768px) { .mejs-container .mejs-controls { height: 48px; div { width: 52px; height: 52px; } .mejs-button button { background-size: 288px 64px !important; width: 32px; height: 32px; } .mejs-playpause-button { &.mejs-play button { background-position: 0 0; } &.mejs-pause button { background-position: 0 -32px; } } .mejs-volume-button { &.mejs-mute button { background-position: -32px -32px; } &.mejs-unmute button { background-position: -32px 0; } .mejs-volume-slider { left: 8px; } } .mejs-fullscreen-button button { background-position: -64px 0; } } } /* and now for medium screens: */ @media all and (min-width: $screen-sm-min) and (max-width: $container-desktop) { /* events overview */ .event-previews .event-preview { h3 { font-size: 17px; } } } /* and now for small screens: */ @media all and (max-width: $screen-xs-max) { /* main layout */ body { padding-top: 0; } h1 { font-size: 34px; margin-top: 30px; } h2 { font-size: 23px; } /* large buttons */ .btn-lg, .btn-group-lg>.btn { font-size: 23px; } /* navigation bar */ .navbar { position: initial; & > .container-fluid { display: inline-table; width: 100%; } form { width: 100%; } .navbar-form.navbar-right:last-child { margin-right: 0; } .navbar-header, .navbar-form { padding: 0; margin-top: 0; margin-bottom: 0; min-width: 75px; } .input-group { margin-bottom: $padding-small-vertical; } .button-wrapper { text-align: right; margin-top: $padding-large-vertical; } } /* banner area */ .banner { height: 230px; img { height: 120px; width: auto; } .titlebar { //padding-top: 20px; } } /* events overview */ .event-preview { /* one column layout */ width: 100%; } /* tabs */ .nav.nav-tabs.nav-justified > li { a { font-size: 20px; padding-top: 5px; } &.active > a { background-color: $gray; } } /* events overview */ .event-previews { .event-preview { height: auto; .video-thumbnail { margin-top: 1.5em; height: 90px; width: 120px; } .caption { margin-left: 120px; padding-left: $padding-small-horizontal; h3 { height: 90px; vertical-align: middle; display: table-cell; margin-top: 0; font-size: 17px; } } .metadata { position: relative; left: -130px; padding: 0; margin-bottom: 3px; white-space: nowrap; margin-bottom: $padding-small-vertical; } } } /* event overview for searches & tags */ .event-previews-tags .event-preview, .event-previews-search .event-preview { h3 { font-size: 17px; } .conference-logo { width: 60px; } .caption { margin-left: 60px; } } } .program { $now: red; $hightlight: #96d600; $daychange: $brand-primary; &.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: transparentize($now, 0.5); font-size: 14px; span { display: block; position: absolute; right: -25px; color: red; } } .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 { color: white; 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: $gray-lighter; } &.event h3 { height: 48px; overflow: hidden; } &.gap { background-image: url(../img/stripes/gap.png); background-color: rgba(255,255,255,0.3); } &.daychange { background-image: url(../img/stripes/gap.png); background-color: transparentize($daychange, 0.3) !important; } &.pause { background-color: rgba(255,255,255,0.3); } } .room.highlight .block { background-color: $hightlight; } }