Index: skin/firstRun.css |
=================================================================== |
--- a/skin/firstRun.css |
+++ b/skin/firstRun.css |
@@ -144,6 +144,126 @@ |
padding: 40px 100px; |
} |
+#general |
+{ |
+ padding: 40px 0px; |
+ max-width: 960px; |
+ display: table; |
+} |
Thomas Greiner
2015/09/11 18:12:00
Why do you need to deviate so much from the defaul
saroyanm
2015/09/15 09:42:37
I did this because I wanted to setup equal right a
Thomas Greiner
2015/09/15 11:19:31
Not to each element, no. It should only be applied
saroyanm
2015/09/15 12:43:31
I've made a fix accordingly so we will not need to
|
+ |
+#general > div |
+{ |
+ display: table-cell; |
+ width: 50%; |
+ vertical-align: top; |
+ padding: 0px 50px; |
+} |
+ |
+#general > div:not(:first-child) |
+{ |
+ border-left: dashed 1px #969085; |
+} |
+ |
+html[dir="rtl"] #general > div:not(:first-child) |
+{ |
+ border-left: none; |
+ border-right: dashed 1px #969085; |
+} |
+ |
+#acceptable-ads-block h2 |
+{ |
+ margin-bottom: 34px; |
+} |
+ |
+#abb-promotion-block:lang(fr) |
+{ |
+ display: none; |
+} |
+ |
+#abb-promotion-block h2 |
+{ |
+ color: #7795b6; |
+ margin-bottom: 40px; |
+} |
+ |
+#abb-promotion-block a |
+{ |
+ border: solid 1px #446a96; |
+ border-radius: 5px; |
+ display: table; |
+ padding: 6px 16px; |
+ background: -prefix-gradient(to top, #294e76, #6b92be); |
Thomas Greiner
2015/09/11 18:11:59
I suppose that "-prefix-" is a placeholder for ven
saroyanm
2015/09/15 09:42:37
That's stupid sorry :D Done.
|
+ background: linear-gradient(to top, #294e76, #6b92be); |
+ text-decoration: none; |
+ width: 100%; |
+ -webkit-box-sizing: border-box; |
+ -moz-box-sizing: border-box; |
+ box-sizing: border-box; |
+} |
+ |
+#abb-promotion-block a > div |
+{ |
+ display: table-cell; |
+ vertical-align: middle; |
+ padding: 6px; |
+} |
+ |
+#abb-promotion-block a > div:first-child |
+{ |
+ width: 1px; |
Thomas Greiner
2015/09/11 18:11:59
What is this supposed to do? Looks like it's a wor
saroyanm
2015/09/15 09:42:37
Yes, I need the first cell to be adjusted to the w
Thomas Greiner
2015/09/15 11:19:31
The behavior on small screens hasn't been specifie
saroyanm
2015/09/15 12:43:31
Well in that case we will need to specify width I
Thomas Greiner
2015/09/15 14:15:50
No, you shouldn't need to specify a width. If you'
saroyanm
2015/09/15 15:03:35
Done.
|
+} |
+ |
+#abb-promotion-block a div > div:first-child |
+{ |
+ font-size: 22px; |
+ color: #ffffff; |
+ font-weight: bold; |
+} |
+ |
+#abb-promotion-block a div > div:not(:first-child) |
Thomas Greiner
2015/09/11 18:12:00
Detail: That's a situation where assigning a class
saroyanm
2015/09/15 09:42:37
Done.
|
+{ |
+ font-size: 12px; |
+ color: #9ab7d6; |
+} |
+ |
+#abb-promotion-block a:hover |
+{ |
+ -moz-box-shadow: 0px 0px 5px #5D5D5D; |
+ -webkit-box-shadow: 0px 0px 5px #5D5D5D; |
Thomas Greiner
2015/09/11 18:11:59
According to MDN the prefixes have been removed in
saroyanm
2015/09/15 09:42:37
Safari 5.0 ? The prefixes looks to be removed from
Thomas Greiner
2015/09/15 11:19:31
1) `-moz-xxx` is still unnecessary.
2) AFAIK we do
saroyanm
2015/09/15 12:43:31
Done.
|
+ box-shadow: 0px 0px 5px #5D5D5D; |
+} |
+ |
+#abb-promotion-block a:active |
+{ |
+ -moz-box-shadow: 0px 0px 5px 1px #5D5D5D; |
+ -webkit-box-shadow: 0px 0px 5px 1px #5D5D5D; |
+ box-shadow: 0px 0px 5px 1px #5D5D5D; |
+} |
+ |
+@media (max-width: 960px) |
+{ |
+ #general |
+ { |
+ padding: 40px 0px; |
+ max-width: 960px; |
+ display: block; |
+ } |
Thomas Greiner
2015/09/11 18:11:59
Basically, all this block does is override `displa
saroyanm
2015/09/15 09:42:37
Ahh right, hmm. Done.
|
+ |
+ #general > div:not(:first-child), |
+ html[dir="rtl"] #general > div:not(:first-child) |
+ { |
+ border: none; |
+ } |
+ |
+ #general > div |
+ { |
+ display: block; |
+ width: auto; |
+ vertical-align: top; |
+ padding: 0px 50px; |
+ } |
+} |
+ |
section > p |
{ |
margin: 15px 0 0 0; |