d80c44a1e9e878e852c355e5bae668febfe45bac
[framework/web/webkit-efl.git] / Source / WebCore / css / mediaControlsTizen.css
1 /*
2  *  Copyright (C) 2013 Samsung Electronics
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  * 1. Redistributions of source code must retain the above copyright
8  *    notice, this list of conditions and the following disclaimer.
9  * 2. Redistributions in binary form must reproduce the above copyright
10  *    notice, this list of conditions and the following disclaimer in the
11  *    documentation and/or other materials provided with the distribution.
12  *
13  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
14  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
17  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
20  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23  */
24
25 /* Media controls for Tizen */
26
27
28 audio {
29     width: 300px;
30     height: 100px;
31 }
32
33 audio::-webkit-media-slider-thumb, video::-webkit-media-slider-thumb {
34     -webkit-appearance: media-sliderthumb;
35     position: relative;
36     width: 14px;
37     height: 14px;
38     left: 0px;
39 }
40
41 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
42     bottom: 3px;
43     height: 40px;
44 }
45
46 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button {
47     display: none;
48 }
49
50 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button {
51     position: absolute;
52     left: 5px;
53
54     width: 40px;
55     height: 40px;
56 }
57
58 audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button {
59     display: none;
60 }
61
62 audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button {
63     display: none;
64 }
65
66 audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container {
67     position: absolute;
68     top: auto;
69     left: 50px;
70     right: 50px;
71
72
73     width: auto;
74     height: 40px;
75 }
76
77 audio::-webkit-media-controls-timeline-container {
78 }
79
80 video::-webkit-media-controls-timeline-container {
81 }
82
83 audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display {
84     display: none;
85 }
86
87 audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline {
88     -webkit-user-select: auto;
89
90     width: auto;
91     height: 4px;
92 }
93
94 video::-webkit-media-controls-fullscreen-button {
95     position: absolute;
96     right: 5px;
97     left: auto;
98
99     width: 40px;
100     height: 40px;
101 }
102
103 audio::-webkit-media-controls-fullscreen-button {
104     display: none;
105 }
106
107 audio::-webkit-media-controls-volume-slider-container, video::-webkit-media-controls-volume-slider-container {
108     display: none;
109 }
110
111 audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider {
112     display: none;
113 }
114
115 body:-webkit-full-page-media {
116     background-color: rgb(0, 0, 0);
117 }
118
119 video:-webkit-full-page-media {
120     width: 100% !important;
121     max-height: 100% !important;
122 }
123
124 video:-webkit-full-page-media::-webkit-media-controls-panel {
125     bottom: 6px;
126     height: 90px;
127 }
128
129 video:-webkit-full-page-media::-webkit-media-controls-play-button {
130     position: absolute;
131     left: 10px;
132
133     width: 90px;
134     height: 90px;
135 }
136
137 video:-webkit-full-page-media::-webkit-media-controls-timeline-container {
138     position: absolute;
139     top: auto;
140     bottom: 35px;
141     left: 112px;
142     right: 112px;
143
144     width: auto;
145     height: 15px;
146 }
147
148 video:-webkit-full-page-media::-webkit-media-controls-timeline {
149     -webkit-user-select: auto;
150
151     width: auto;
152     height: 15px;
153 }
154
155 video:-webkit-full-page-media::-webkit-media-controls-fullscreen-button {
156     position: absolute;
157     right: 10px;
158     left: auto;
159
160     width: 90px;
161     height: 90px;
162 }