style.css
style.css
—
CSS stylesheet,
5 ko (5409 bytes)
Contenu du fichier
/* default: 320*32px, gray */ .smil-controlBar { width: 320px; color: white; background-color: #555; user-select : none; -o-user-select : none; -moz-user-select : none; -webkit-user-select : none; border-radius : 5px; -o-border-radius : 5px; -moz-border-radius : 5px; -webkit-border-radius : 5px; } .smil-controlBar button, .smil-timeSegments a { background-color: #999; color: white !important; } .smil-controlBar button:hover, .smil-timeSegments a:hover { background-color: #bbb; } .smil-controlBar button { border: 1px solid #777; } /* left/right toolbars */ .smil-left { float: left; margin-left: 5px; display: table-cell; vertical-align: middle; } .smil-right { float: right; margin-right: 5px; display: table-cell; vertical-align: middle; } /* toolbar buttons */ .smil-controlBar button { /*display: block;*/ /*float: left;*/ width: 24px; margin: 0 -3px; padding: 1px 4px; vertical-align: middle; font-size: 12px; text-align: center; } .smil-left button:first-child, .smil-right button:first-child { border-top-left-radius : 10px; -o-border-top-left-radius : 10px; -moz-border-radius-topleft : 10px; -webkit-border-top-left-radius : 10px; border-bottom-left-radius : 10px; -o-border-bottom-left-radius : 10px; -moz-border-radius-bottomleft : 10px; -webkit-border-bottom-left-radius : 10px; } .smil-left button:last-child, .smil-right button:last-child { border-top-right-radius : 10px; -o-border-top-right-radius : 10px; -moz-border-radius-topright : 10px; -webkit-border-top-right-radius : 10px; border-bottom-right-radius : 10px; -o-border-bottom-right-radius : 10px; -moz-border-radius-bottomright : 10px; -webkit-border-bottom-right-radius : 10px; } /* play/pause button */ button.smil-play { border-radius : 10px !important; -o-border-radius : 10px !important; -moz-border-radius : 10px !important; -webkit-border-radius : 10px !important; height: 32px; width: 36px; /* border-radius : 16px !important; -o-border-radius : 16px !important; -moz-border-radius : 16px !important; -webkit-border-radius : 16px !important; height: 32px; width: 32px; */ background-position: center center; background-repeat: no-repeat; z-index: 2; } button.smil-play span { display: none; } button.smil-play { background-image: url(media-play.png); } .pause button.smil-play { background-image: url(media-pause.png); } * html button.smil-play { /* IE6 */ background-image: url(media-play.gif); } * html .pause button.smil-play { /* IE6 */ background-image: url(media-pause.gif); } /* ToC button */ button.smil-tocDisplay { border-radius : 5px !important; -o-border-radius : 5px !important; -moz-border-radius : 5px !important; -webkit-border-radius : 5px !important; height: 24px; width: 24px; background-image: url(media-toc.png); background-position: center center; background-repeat: no-repeat; z-index: 2; } * html button.smil-tocDisplay { /* IE6 */ background-image: url(media-toc.gif); } button.smil-tocDisplay span { display: none; } /* timeline: segments */ .smil-timeline { float: left; margin-left: 8px; margin-top: 5px; padding: 0; height: 24px; width: 130px; /*overflow: hidden;*/ /*overflow-x: hidden;*/ /*overflow-y: hidden;*/ position: relative; border-radius : 5px; -o-border-radius : 5px; -moz-border-radius : 5px; -webkit-border-radius : 5px; } .smil-timeSegments a { display: block; float: left; margin: 5px 0; padding: 0; height: 12px; text-decoration: none; } /* .smil-timeSegments a:first-child { border-top-left-radius : 10px; -o-border-top-left-radius : 10px; -moz-border-radius-topleft : 10px; -webkit-border-top-left-radius : 10px; border-bottom-left-radius : 10px; -o-border-bottom-left-radius : 10px; -moz-border-radius-bottomleft : 10px; -webkit-border-bottom-left-radius : 10px; } .smil-timeSegments a:last-child { border-top-right-radius : 10px; -o-border-top-right-radius : 10px; -moz-border-radius-topright : 10px; -webkit-border-top-right-radius : 10px; border-bottom-right-radius : 10px; -o-border-bottom-right-radius : 10px; -moz-border-radius-bottomright : 10px; -webkit-border-bottom-right-radius : 10px; } */ .smil-timeSegments a span { display: none; } .smil-timeSegments a:hover span { display: block; position: absolute; top: -16px; left: 0; /*width: 100%;*/ /*width: 800px;*/ width: 130px; text-align: center; color: white !important; } /* timeline: elapsed time */ .smil-timeCursor { position: absolute; left: 0; height: 24px; width: 0; z-index: 10; border-right: 2px solid white; cursor: col-resize; } .smil-currentTime { margin-top: 5px; padding: 0 8px; height: 24px; font-size: 12px; line-height: 24px; } /* active item in the table of contents */ .smil-toc li.current > a { font-weight: bold; color: #ff9966; } /* IE6 sucks badly */ * html .smil-toc li.current a { font-weight: bold; color: #ff9966; } * html .smil-toc li.current li a { font-weight: normal; color: #cc0000; } * html .smil-toc li li.current a { font-weight: bold; color: #ff9966; }