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

Side by Side Diff: static/src/scss/components/_pre-icon.scss

Issue 29633564: Issue 5765 - Remove custom spacing units in help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Rebased Created Dec. 11, 2017, 4:32 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
« no previous file with comments | « static/src/scss/components/_lists.scss ('k') | static/src/scss/components/_search-form.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 18 matching lines...) Expand all
29 padding-right: 1.3em; 29 padding-right: 1.3em;
30 padding-left: auto; 30 padding-left: auto;
31 } 31 }
32 32
33 .pre-icon 33 .pre-icon
34 { 34 {
35 display: inline-block; 35 display: inline-block;
36 position: absolute; 36 position: absolute;
37 top: 50%; 37 top: 50%;
38 left: 0; 38 left: 0;
39 width: 1em; 39 width: $small-space;
40 height: 1em; 40 height: $small-space;
41 margin-top: -0.55em; 41 margin-top: -$x-small-space - 0.05em; /* Height of .pre-icon minus 0.05em */
42 background-repeat: no-repeat; 42 background-repeat: no-repeat;
43 background-position: center; 43 background-position: center;
44 background-size: 0.9em; 44 background-size: 0.9em;
45 } 45 }
46 46
47 [dir="rtl"] .pre-icon 47 [dir="rtl"] .pre-icon
48 { 48 {
49 right: 0; 49 right: 0;
50 left: auto; 50 left: auto;
51 } 51 }
OLDNEW
« no previous file with comments | « static/src/scss/components/_lists.scss ('k') | static/src/scss/components/_search-form.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld