| LEFT | RIGHT |
| (no file at all) | |
| 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 Loading... |
| 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 } |
| LEFT | RIGHT |