Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/css/index.css

Issue 29572820: Issue 5727 - Implement non-embedded homepage video on abp.org (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created Oct. 10, 2017, 6:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #content h1, #content h2 1 #content h1, #content h2
2 { 2 {
3 font-size: 16px; 3 font-size: 16px;
4 } 4 }
5 5
6 #content .sprite 6 #content .sprite
7 { 7 {
8 background-image: url(../img/sprite-index.png); 8 background-image: url(../img/sprite-index.png);
9 } 9 }
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 { 57 {
58 display: block; 58 display: block;
59 } 59 }
60 60
61 #content.ua-android #adblock-browser-notification, 61 #content.ua-android #adblock-browser-notification,
62 #content.ua-ios #adblock-browser-notification 62 #content.ua-ios #adblock-browser-notification
63 { 63 {
64 display: none; 64 display: none;
65 } 65 }
66 66
67 #main, #video 67 #main, #video-container
68 { 68 {
69 display: inline-block; 69 display: inline-block;
70 vertical-align: top; /* Fix for https://bugzil.la/1320660 */ 70 vertical-align: top; /* Fix for https://bugzil.la/1320660 */
71 } 71 }
72 72
73 #video, #maxthon-instruction, #edge-teaser 73 #video-container, #maxthon-instruction, #edge-teaser
74 { 74 {
75 background: #ffffff; 75 background: #ffffff;
76 padding: 10px; 76 padding: 10px;
77 border: 1px solid #c9c9c9; 77 border: 1px solid #c9c9c9;
78 box-shadow: 1px 1px 0 0 #dbdbdb; 78 box-shadow: 1px 1px 0 0 #dbdbdb;
79 } 79 }
80 80
81 #maxthon-instruction, 81 #maxthon-instruction,
82 html[lang^="zh_"] #content.maxthon #video, 82 html[lang^="zh_"] #content.maxthon #video,
83 #content.maxthon #feature-free, 83 #content.maxthon #feature-free,
84 #content.maxthon #terms-message, 84 #content.maxthon #terms-message,
85 #feature-maxthon 85 #feature-maxthon
86 { 86 {
87 display: none; 87 display: none;
88 } 88 }
89 89
90 #video-container
91 {
92 position: relative;
93 box-sizing: border-box;
94 width: 100%;
95 max-width: 520px;
96 }
97
98 #video,
99 #video img
100 {
101 width: 100%;
102 }
103
104 #video,
105 #video-disclaimer
106 {
107 transition: opacity 0.8s;
108 }
109
110 #video-disclaimer
111 {
112 visibility: hidden;
113 opacity: 0;
114 position: absolute;
115 bottom: 0;
116 left: 0;
117 box-sizing: border-box;
118 margin: 20px;
119 background-color: #fff;
120 background-color: rgba(255,255,255,0.8);
juliandoucette 2017/10/11 15:52:37 NIT: I think this opacity makes a negligible diffe
121 font-size: 0.9em;
122 text-align: center;
123 }
124
125 #video-container:hover a#video,
126 #video-container:focus a#video,
127 .no-js #video
128 {
129 opacity: 0.2;
130 }
131
132 #video-container:hover a#video + #video-disclaimer,
133 #video-container:focus a#video + #video-disclaimer,
134 .no-js #video-disclaimer
135 {
136 visibility: visible;
137 opacity: 1;
138 }
139
90 html[lang^="zh_"] #content.maxthon #maxthon-instruction 140 html[lang^="zh_"] #content.maxthon #maxthon-instruction
91 { 141 {
92 display: inline-block; 142 display: inline-block;
93 padding: 0px; 143 padding: 0px;
94 } 144 }
95 145
96 #content.maxthon #feature-maxthon 146 #content.maxthon #feature-maxthon
97 { 147 {
98 display: inline-block; 148 display: inline-block;
99 } 149 }
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 line-height: 1.4; 748 line-height: 1.4;
699 color: #000; 749 color: #000;
700 background-color: #fff; 750 background-color: #fff;
701 border: 2px solid #a1a1a1; 751 border: 2px solid #a1a1a1;
702 } 752 }
703 753
704 #ready-for-windows-notice 754 #ready-for-windows-notice
705 { 755 {
706 margin-bottom: 30px; 756 margin-bottom: 30px;
707 } 757 }
OLDNEW
« includes/index.tmpl ('K') | « includes/index.tmpl ('k') | static/css/index-mobile.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld