7ecffc6ffa2e9c01494ff1bcae237626f69efbc5
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / css / fullscreen.css
1 :-webkit-full-screen {
2     background-color: white;
3     z-index: 2147483647 !important;
4 }
5
6 :root:-webkit-full-screen-document:not(:-webkit-full-screen), :root:-webkit-full-screen-ancestor {
7     overflow: hidden !important;
8 }
9
10 :-webkit-full-screen-ancestor:not(iframe) {
11     z-index: auto !important;
12     position: static !important;
13     opacity: 1 !important;
14     -webkit-transform: none !important;
15     -webkit-mask: none !important;
16     clip: none !important;
17     -webkit-filter: none !important;
18     transition: none !important;
19     -webkit-box-reflect: none !important;
20     -webkit-perspective: none !important;
21     -webkit-transform-style: flat !important;
22 }
23
24 video:-webkit-full-screen, audio:-webkit-full-screen {
25     background-color: transparent !important;
26     position: relative !important;
27     left: 0 !important;
28     top: 0 ! important;
29     margin: 0 !important;
30     height: 100% !important;
31     width: 100% !important;
32     flex: 1 !important;
33     display: block !important;
34 }
35
36 img:-webkit-full-screen {
37     width: auto;
38     height: 100%;
39     max-width: 100%;
40 }
41
42 iframe:-webkit-full-screen {
43     margin: 0 !important;
44     padding: 0 !important;
45     border: 0 !important;
46     position: fixed !important;
47     height: 100% !important;
48     width: 100% !important;
49     left: 0 !important;
50     top: 0 !important;
51 }