player/css/styles.css
author veltr
Fri, 24 May 2013 18:49:09 +0200
changeset 5 d7bcf5f39b6c
parent 3 5a4dd4e6bbe7
child 6 eddf4d5db875
permissions -rw-r--r--
Added sample slideshow data

/* Resetting the usual suspects */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

ul, li {
    list-style: none;
}

input::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
}

table {
    border-collapse: separate; border-spacing: 0;
}

th, td {
    vertical-align: top;
}

img a {
    border: none;
}

html {
    overflow: hidden;
}

/* Fonts */

@font-face {
    font-family: 'Futura-Medium';
    src: url('../fonts/Futura-Medium.woff') format('woff'),
         url('../fonts/Futura-Medium.ttf') format('truetype'),
         url('../fonts/Futura-Medium.svg#Futura-Medium') format('svg');
}

/* End of the reset part */

body {
    background: #000000; font-family: Helvetica, Arial, sans-serif;
}

/* Top Bar */

.top-bar {
    height: 40px;
}

/* Main Video Frame */

.main-video {
    height: 562px; position: relative;
}

.project-title {
    text-align: center; line-height: 40px; font-size: 17px; color: #b0b0b0;
    font-family: 'Futura-Medium';
}

.tags {
    position: absolute; top: 0; left: 0; width: 140px; z-index: 2; font-size: 12px; cursor: pointer;
}

.tags-title {
    line-height: 40px; padding: 0 15px; font-size: 11px; color: #B8155F;
    font-family: 'Futura-Medium'; text-transform: uppercase;
}

.tags:hover .tags-title {
    background: #404040; color: #ffffff;
}

.tags-list {
    background: #303030;
    padding: 10px 0; display: none;
}

.tags:hover .tags-list {
    display: block;
}

.tag {
    color: #cccccc; padding: 5px 15px;
}

.tag:hover {
    color: #B8155F; background: #202020;
}

/* Annotation colors */

.video {
    color: #be4477;
}

.audio {
    color:#63be6c;
}

.slideshow {
    color: #f69058;
}

.text {
    color:#5e90cb;
}

.quote {
    color:#00aeb5;
}

.link {
    color:#8985bb;
}


/* Pictograms on the left */

.pictolist {
    position: absolute;
    left: 20px; bottom: 115px;
}

.pictolist li {
    height: 34px; margin-top: 12px; line-height: 34px; display: none;
}

.picto {
    float: left; padding: 7px; background:black;
    border-radius: 19px; cursor: pointer;
}

.picto-title {
    margin-left: 10px; font-size: 12px; text-transform: uppercase;
    display: none; text-shadow: 0 0 2px #000000; font-family: 'Futura-Medium';
}

.hover .picto-title {
    display: inline;
}

.picto a {
    background: url(../img/sprites.png); display: block; width: 24px; height: 24px;
}

.video.hover .picto {
    background: #be4477;
}

.video.hover .picto a {
    background-position: -24px 0;
}

.audio .picto a {
    background-position: 0 -24px;
}

.audio.hover .picto {
    background: #63be6c;
}

.audio.hover .picto a {
    background-position: -24px -24px;
}

.slideshow .picto a {
    background-position: 0 -48px;
}

.slideshow.hover .picto {
    background: #f69058;
}

.slideshow.hover .picto a {
    background-position: -24px -48px;
}

.text .picto a {
    background-position: 0 -72px;
}

.text.hover .picto {
    background: #5e90cb;
}

.text.hover .picto a {
    background-position: -24px -72px;
}

.quote .picto a {
    background-position: 0 -96px;
}

.quote.hover .picto {
    background: #00aeb5;
}

.quote.hover .picto a {
    background-position: -24px -96px;
}

.link .picto a {
    background-position: 0 -120px;
}

.link.hover .picto {
    background: #8985bb;
}

.link.hover .picto a {
    background-position: -24px -120px;
}

/* Annotations */

.annotation-templates {
    display: none;
}

.annotation {
    position: absolute;
}

.annotation-title {
    font-family: 'Futura-Medium'; text-align: center;
}

.close-annotation {
    float: right; text-decoration: none; margin: 0 5px;
    font-weight: bold; font-size: 20px;
}

.text-annotation, .slideshow-annotation, .video-annotation, .audio-annotation {
    left: 45px; top: 20px; right: 35px;
}

/* Text annotation */

.text-annotation {
    background: #ffffff; max-height: 522px; overflow: auto;
}

.text-annotation .close-annotation,
.audio-annotation .close-annotation {
    color: #000000;
}

.text-annotation .close-annotation:hover,
.audio-annotation .close-annotation:hover {
    color: #666666;
}

.text-annotation .annotation-title,
.audio-annotation .annotation-title {
    font-size: 23px; margin: 24px 0;
}

.text-annotation .annotation-contents {
    font-family: Georgia, 'Times New Roman', serif;
    margin: 0 45px 35px;
    column-count: 2; column-gap: 60px;
    -moz-column-count: 2; -moz-column-gap: 60px;
    -webkit-column-count: 2; -webkit-column-gap: 60px;
}

.text-annotation p {
    margin-bottom: 10px;
}

/* Audio annotation */

.audio-annotation {
    background: #ffffff;
}

/* Slideshow annotation */

.slideshow-center {
    position: relative; background: rgba(0,0,0,.7);
}

.slideshow-annotation .annotation-title {
    height: 35px; line-height: 35px; color: #ffffff; font-size: 14px; background: #000000;
}

.slideshow-frame {
    float: left;
}

.slideshow-image {
    max-width: 650px; max-height: 452px; margin: 0 auto; display: block;
}

.slideshow-play-pause {
    float: left; padding: 10px 15px 11px;
    background: #404040; cursor: pointer;
}

.slideshow-play-pause a {
    background-image: url(../img/sprites.png); width: 14px; height: 14px;
    background-position: 0 -194px; display: block;
}

.slideshow-play-pause.pause a {
    background-position: -24px -194px;
}

.slideshow-play-pause:hover {
    background: #606060;
}

.slideshow-bottom {
    clear: both; height: 35px; background: #000000;
}

.slideshow-annotation .close-annotation,
.video-annotation .close-annotation {
    color: #ffffff; margin-right: 10px;
}

.slideshow-annotation .close-annotation:hover,
.video-annotation .close-annotation:hover {
    color: #cccccc;
}

.slideshow-annotation p,
.video-annotation p {
    margin: 10px 25px 10px 15px;
    font-size: 12px; color: #CCCCCC;
}

.slideshow-description {
    max-height: 452px; overflow: auto;
}

.slideshow-center:after {
    content: "."; visibility: hidden; display: block; height: 1px; clear: both;
}

.slideshow-title {
    line-height: 35px; margin: 0 15px; font-family: 'Futura-Medium'; font-size: 13px; color: #cccccc; float: left;
}

.slideshow-arrow {
    position: absolute; top: 50%; margin-top: -22px; padding: 10px; cursor: pointer;
}

.slideshow-arrow a {
    display: block; height: 24px; width: 14px; background-image: url(../img/sprites.png);
}

.slideshow-arrow:hover {
    background-color: rgba(255,255,255,.5);
}

.slideshow-previous {
    left: 0;
}

.slideshow-previous a {
    background-position: 0 -208px;
}

.slideshow-next {
    right: 0;
}

.slideshow-next a {
    background-position: -14px -208px;
}

/* Bottom bar */

.bottom-bar {
    padding-top: 20px;
}

.play-button {
    float: left; width: 14px; height: 14px;
    padding: 8px; border-radius: 15px;
    background: #555555; cursor: pointer;
    margin: 8px 0 0 15px;
}

.play-button:hover {
    background: #909090;
}

.play-button a {
    background-image: url(../img/sprites.png); width: 14px; height: 14px; display: block;
    background-position: 0 -180px;
}

.play-button.pause a {
    background-position: -24px -180px;
}

.chapters-bar {
    margin: 0 20px 0 60px; height: 45px; position: relative; cursor: pointer;
}

.chapter {
    position: absolute; top: 0;
}

.chapter-block {
    width: 100%; height: 45px; background: #303030;
    margin: 0 -1px;
    border-style: none solid; border-width: 1px;
    border-color: #000000;
}

.chapter.active .chapter-block {
    background: #404040;
}

.chapter.found .chapter-block {
    background: #510829;
}

.chapter.found.active .chapter-block {
    background: #8a1249;
}

.annotation-onscreen .chapter-block {
    opacity: .5;
}

.chapter-title {
    position: absolute; top: 53px; left: 50%; width: 240px; margin-left: -120px;
    font-size: 9px; text-transform: uppercase;
    text-align: center; color: #909090; display: none;
    font-family: 'Futura-Medium';
}

.chapter.active .chapter-title {
    display: block;
}

.chip {
    position: absolute; top: 0;
}

.chip-circle {
    width: 11px; height: 11px; top: 17px; left: -5px; border-radius: 6px; position: absolute;
}

.chip-title {
    position: absolute; top: 2px; left: 0; font-size: 9px; text-transform: uppercase;
    display: none; font-family: 'Futura-Medium'; width: 200px; border-left: 1px solid; padding: 0 3px 4px; line-height: 9px;
}

.chip.hover .chip-title,
.chip.current .chip-title {
    display: block;
}

.annotation-onscreen .chip {
    opacity: .3;
}

.chip.current,
.chip.hover {
    opacity: 1;
}

.video .chip-circle {
    background: #be4477;
}

.audio .chip-circle {
    background: #63be6c;
}

.slideshow .chip-circle {
    background: #f69058;
}

.text .chip-circle {
    background: #5e90cb;
}

.quote .chip-circle {
    background: #00aeb5;
}

.link .chip-circle {
    background: #8985bb;
}

.left-hiding-block, .right-hiding-block {
    position: absolute; width: 6px; height: 11px; top: 17px; background: #000000; 
}

.left-hiding-block {
    left: -6px;
}

.right-hiding-block {
    right: -6px;
}

.prev-chapter, .next-chapter {
    width: 12px; height: 16px; margin: 8px 5px;
    background: url(../img/sprites.png); cursor: pointer;
}

.next-chapter {
    float: right; background-position: -12px -144px;
}

.next-chapter:hover {
    background-position: -36px -144px;
}

.next-chapter.inactive {
    background-position: -12px -160px;
}

.prev-chapter {
    float: left; background-position: 0 -144px;
}

.prev-chapter:hover {
    background-position: -24px -144px;
}

.prev-chapter.inactive {
    background-position: 0 -160px;
}

.progress-indicator {
    position: absolute; top: 0; width: 2px; height: 100%; background: #c0c0c0; /* margin-left: -1px; */
}

.progress-indicator:hover {
    background: #ffffff;
}

/* */