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

Delta Between Two Patch Sets: 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
Left Patch Set: Created Oct. 10, 2017, 6:09 p.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « includes/index.tmpl ('k') | static/css/index-mobile.css » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 89
90 #video-container 90 #video-container
91 { 91 {
92 position: relative; 92 position: relative;
93 box-sizing: border-box; 93 box-sizing: border-box;
94 width: 100%; 94 width: 100%;
95 max-width: 520px; 95 max-width: 520px;
96 } 96 }
97 97
98 #video, 98 #video
99 #video img 99 {
100 { 100 display: block;
101 position: relative;
101 width: 100%; 102 width: 100%;
102 } 103 }
103 104
104 #video, 105 #video-thumbnail
105 #video-disclaimer 106 {
106 { 107 width: 100%;
107 transition: opacity 0.8s; 108 transition: opacity 0.8s;
109 }
110
111 .no-js #video-thumbnail,
112 .show-disclaimer #video-thumbnail
113 {
114 opacity: 0.2;
108 } 115 }
109 116
110 #video-disclaimer 117 #video-disclaimer
111 { 118 {
112 visibility: hidden; 119 visibility: hidden;
113 opacity: 0; 120 opacity: 0;
114 position: absolute; 121 position: absolute;
115 bottom: 0; 122 bottom: 0;
116 left: 0; 123 left: 0;
117 box-sizing: border-box;
118 margin: 20px; 124 margin: 20px;
119 background-color: #fff; 125 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; 126 font-size: 0.9em;
122 text-align: center; 127 text-align: center;
123 } 128 transition: opacity 0.8s;
124 129 }
125 #video-container:hover a#video, 130
126 #video-container:focus a#video, 131 .no-js #video-disclaimer,
127 .no-js #video 132 .show-disclaimer #video-disclaimer
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 { 133 {
136 visibility: visible; 134 visibility: visible;
137 opacity: 1; 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;
138 } 152 }
139 153
140 html[lang^="zh_"] #content.maxthon #maxthon-instruction 154 html[lang^="zh_"] #content.maxthon #maxthon-instruction
141 { 155 {
142 display: inline-block; 156 display: inline-block;
143 padding: 0px; 157 padding: 0px;
144 } 158 }
145 159
146 #content.maxthon #feature-maxthon 160 #content.maxthon #feature-maxthon
147 { 161 {
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 line-height: 1.4; 762 line-height: 1.4;
749 color: #000; 763 color: #000;
750 background-color: #fff; 764 background-color: #fff;
751 border: 2px solid #a1a1a1; 765 border: 2px solid #a1a1a1;
752 } 766 }
753 767
754 #ready-for-windows-notice 768 #ready-for-windows-notice
755 { 769 {
756 margin-bottom: 30px; 770 margin-bottom: 30px;
757 } 771 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld