assets/ableplayer/styles/ableplayer.css in wai-website-theme-1.2 vs assets/ableplayer/styles/ableplayer.css in wai-website-theme-1.3

- old
+ new

@@ -6,10 +6,11 @@ * Modal dialog div.able-modal-dialog = 10000 div.able-modal-overlay = 9500 * Items that should always be on top (9000): + #able-vts-alert = 9400 .able-alert = 9400 .able-window-toolbar .able-button-handler-preferences = 9300 .able-popup = 9200 .able-volume-head = 9175 .able-volume-slider = 9150 @@ -243,11 +244,11 @@ background-color: #464646; /* same as .able-controller */ padding: 10px 0; position: absolute; right: 0px; top: -74px; - display: none; + display: block; z-index: 9100; } .able-volume-track { display: block; position: relative; @@ -405,11 +406,11 @@ width: 100%; margin: 0; padding: 0; text-align: center; line-height: 1.35em; - display: none; + display: block; z-index: 6000; } div.able-captions { display: none; padding: 0.15em 0.25em; @@ -648,10 +649,11 @@ background-color: #464646; min-height: 15px; padding: 10px; border-style: solid; border-width: 0 0 1px 0; + overflow: scroll; } .able-draggable:hover { cursor: move; } .able-window-toolbar .able-button-handler-preferences { @@ -676,13 +678,14 @@ .able-window-toolbar .able-button-handler-preferences:focus { outline-color: #ffbb37 !important; /* yellow */ } .able-window-toolbar .able-popup { position: absolute; + cursor: default; right: 0; top: 0; - display: none; + display: block; } .able-drag { border: 2px dashed #F90; cursor: move; } @@ -816,11 +819,11 @@ color: #000 !important; background-color: #CCCCCC; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; - display: none; + display: block; } .able-alert { background-color: #FFFFCC; box-shadow: 0px 0px 16px #262626; z-index: 9400; @@ -844,41 +847,35 @@ background-color: #000; opacity: 0.85; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; - display: none; + display: block; + cursor: default; + list-style: none; } -.able-popup ul { +ul.able-popup { list-style-type: none; - margin: 0; - padding: 0; } .able-popup li { padding: 0.25em 1em 0.25em 0.25em; margin: 1px; -} -.able-popup label { - padding-left: 0.25em; color: #FFF; } .able-popup li.able-focus { background-color: #CCC; -} -.able-popup li.able-focus label { color: #000; } - -/* - Popup Menus with hidden radio buttons - e.g., chapters and preferences -*/ -.able-popup-no-radio > ul > li > input { - position: absolute !important; - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); +.able-popup-captions li { + padding-left: 1em; } +.able-popup-captions li[aria-checked="true"] { + padding-left: 0; +} +.able-popup-captions li[aria-checked="true"]::before { + content: "\2713 "; /* check mark; for heavier mark us 2714 */ +} /* Transcript */ @@ -886,10 +883,11 @@ border-width: 1px; border-style: solid; height: 400px; z-index: 7000; outline: none; + padding-bottom: 25px; /* keep content above 16x16px drag icon */ } .able-transcript { position: relative; /* must be positioned for scrolling */ overflow-y: scroll; padding-left: 5%; @@ -940,26 +938,30 @@ margin-right: 10px; color: #FFF; } .able-window-toolbar input:focus, .able-window-toolbar input:hover, +.able-window-toolbar select:focus, +.able-window-toolbar select:hover, .able-controller input:focus, .able-controller input:hover, .able-controller button:focus, .able-controller button:hover, .able-seekbar-head:focus, .able-seekbar-head:hover { outline-style: solid; outline-width: 2px; } .able-window-toolbar input:focus, +.able-window-toolbar select:focus, .able-controller input:focus, .able-controller button:focus, .able-seekbar-head:focus { outline-color: #ffbb37; /* yellow */ } .able-window-toolbar input:hover, +.able-window-toolbar select:hover, .able-controller input:hover, .able-controller button:hover, .able-seekbar-head:hover { outline-color: #8AB839; /* green */ } @@ -1051,9 +1053,110 @@ padding-left: 1em; } .able-search-term { background-color: #FFC; font-weight: bold; +} + +/* + Video Transcript Sorter (VTS) +*/ +#able-vts-instructions { + margin-bottom: 1.5em; + padding: 1em; + border: 1px solid #999; + width: 720px; + max-width: 90%; +} +#able-vts fieldset { + margin: 1em; + border: none; +} +#able-vts fieldset legend { + color: #000; + font-weight: bold; +} +#able-vts fieldset div { + float: left; + padding-right: 1em; +} +#able-vts table { + clear: left; +} + +#able-vts table, +#able-vts table th, +#able-vts table td { + border: 1px solid black; + border-collapse: collapse; + padding: 0.5em 0.75em; +} +#able-vts table th.actions { + min-width: 140px; +} +#able-vts table td button { + width: auto; + padding: 0; + margin: 2px; +} +#able-vts table td button svg { + width: 16px; + height: 16px; +} +#able-vts table button:hover, +#able-vts table button:focus { + /* border: 3px solid #66c2ff; */ +} +#able-vts table button:hover svg { + fill: #C00; +} +tr.kind-chapters, +tr.kind-subtitles { + background-color: #FFF; +} +tr.kind-descriptions { + background-color: #FEE; +} +tr.kind-chapters { + background-color: #e6ffe6; +} +.able-vts-dragging { + background-color: #FFC; +} +div#able-vts-icon-credit { + margin: 1em; +} +div#able-vts-alert { + display: none; + position: fixed; + top: 5px; + left: 5px; + border: 2px solid #666; + background-color: #FFC; + padding: 1em; + font-weight: bold; + z-index: 9400; +} +button#able-vts-save { + font-size: 1em; + padding: 0.25em; + border-radius: 5px; + margin-bottom: 1em; + font-weight: bold; +} +button#able-vts-save:hover, +button#able-vts-save:focus { + color: white; + background-color: #060; +} +.able-vts-output-instructions { + width: 720px; + max-width: 90%; +} +#able-vts textarea { + height: 200px; + width: 720px; + max-width: 90%; } /* Misc */