OLD | NEW |
1 // This file is part of help.eyeo.com. | 1 // This file is part of help.eyeo.com. |
2 // Copyright (C) 2017 Eyeo GmbH | 2 // Copyright (C) 2017 Eyeo GmbH |
3 // | 3 // |
4 // help.eyeo.com is free software: you can redistribute it and/or modify | 4 // help.eyeo.com is free software: you can redistribute it and/or modify |
5 // it under the terms of the GNU General Public License as published by | 5 // it under the terms of the GNU General Public License as published by |
6 // the Free Software Foundation, either version 3 of the License, or | 6 // the Free Software Foundation, either version 3 of the License, or |
7 // (at your option) any later version. | 7 // (at your option) any later version. |
8 // | 8 // |
9 // help.eyeo.com is distributed in the hope that it will be useful, | 9 // help.eyeo.com is distributed in the hope that it will be useful, |
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 // GNU General Public License for more details. | 12 // GNU General Public License for more details. |
13 // | 13 // |
14 // You should have received a copy of the GNU General Public License | 14 // You should have received a copy of the GNU General Public License |
15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. | 15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 |
17 /******************************************************************************* | 17 /******************************************************************************* |
18 * Article | 18 * Article |
19 ******************************************************************************/ | 19 ******************************************************************************/ |
20 | 20 |
21 .article.card | 21 .article.card |
22 { | 22 { |
23 padding: $md; | 23 padding: $small-space; |
24 | 24 |
25 @media (min-width: $phablet-breakpoint) | 25 @media (min-width: $phablet-breakpoint) |
26 { | 26 { |
27 padding: $lg; | 27 padding: $medium-space; |
28 } | 28 } |
29 } | 29 } |
30 | 30 |
31 .article-heading, | 31 .article-heading, |
32 .article-browser-selector | 32 .article-browser-selector |
33 { | 33 { |
34 padding-bottom: $md; | 34 padding-bottom: 15px; |
35 margin-bottom: $md; | 35 margin-bottom: 15px; |
36 border-bottom: 1px dotted $gray; | 36 border-bottom: 1px dotted $gray; |
37 } | 37 } |
38 | 38 |
39 .article-heading .has-pre-icon | 39 .article-heading .has-pre-icon |
40 { | 40 { |
41 @media (max-width: $phablet-breakpoint - 1) | 41 @media (max-width: $phablet-breakpoint - 1) |
42 { | 42 { |
43 padding: 0; | 43 padding: 0; |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
47 .article-heading .pre-icon | 47 .article-heading .pre-icon |
48 { | 48 { |
49 display: none; | 49 display: none; |
50 | 50 |
51 @media (min-width: $phablet-breakpoint) | 51 @media (min-width: $phablet-breakpoint) |
52 { | 52 { |
53 display: block; | 53 display: block; |
54 top: 0.25em; // Align icon to first line of heading | 54 top: $small-space / 4; // Align icon to first line of heading |
55 margin-top: 0; | 55 margin-top: 0; |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 .article-browser-selector | 59 .article-browser-selector |
60 { | 60 { |
61 @extend .clearfix; | 61 @extend .clearfix; |
62 display: none; | 62 display: none; |
63 } | 63 } |
64 | 64 |
(...skipping 15 matching lines...) Expand all Loading... |
80 display: none; | 80 display: none; |
81 } | 81 } |
82 | 82 |
83 @each $browser in $supported-browsers | 83 @each $browser in $supported-browsers |
84 { | 84 { |
85 .js .ua-#{$browser} .platform-#{$browser} | 85 .js .ua-#{$browser} .platform-#{$browser} |
86 { | 86 { |
87 display: block; | 87 display: block; |
88 } | 88 } |
89 } | 89 } |
OLD | NEW |