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: Addressed NITs Created Oct. 16, 2017, 8:27 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « includes/index.tmpl ('k') | static/css/index-mobile.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
100 display: block;
101 position: relative;
102 width: 100%;
103 }
104
105 #video-thumbnail
106 {
107 width: 100%;
108 transition: opacity 0.8s;
109 }
110
111 .no-js #video-thumbnail,
112 .show-disclaimer #video-thumbnail
113 {
114 opacity: 0.2;
115 }
116
117 #video-disclaimer
118 {
119 visibility: hidden;
120 opacity: 0;
121 position: absolute;
122 bottom: 0;
123 left: 0;
124 margin: 20px;
125 background-color: #fff;
126 font-size: 0.9em;
127 text-align: center;
128 transition: opacity 0.8s;
129 }
130
131 .no-js #video-disclaimer,
132 .show-disclaimer #video-disclaimer
133 {
134 visibility: visible;
135 opacity: 1;
136 }
137
138 #video-play
139 {
140 position: absolute;
141 top: 50%;
142 left: 50%;
143 width: 80px;
144 margin-top: -40px;
145 margin-left: -40px;
146 }
147
148 .no-js #video-play,
149 .show-disclaimer #video-play
150 {
151 margin-top: -60px;
152 }
153
90 html[lang^="zh_"] #content.maxthon #maxthon-instruction 154 html[lang^="zh_"] #content.maxthon #maxthon-instruction
91 { 155 {
92 display: inline-block; 156 display: inline-block;
93 padding: 0px; 157 padding: 0px;
94 } 158 }
95 159
96 #content.maxthon #feature-maxthon 160 #content.maxthon #feature-maxthon
97 { 161 {
98 display: inline-block; 162 display: inline-block;
99 } 163 }
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 line-height: 1.4; 762 line-height: 1.4;
699 color: #000; 763 color: #000;
700 background-color: #fff; 764 background-color: #fff;
701 border: 2px solid #a1a1a1; 765 border: 2px solid #a1a1a1;
702 } 766 }
703 767
704 #ready-for-windows-notice 768 #ready-for-windows-notice
705 { 769 {
706 margin-bottom: 30px; 770 margin-bottom: 30px;
707 } 771 }
OLDNEW
« no previous file with comments | « includes/index.tmpl ('k') | static/css/index-mobile.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld