| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 // This file is part of website-defaults | 1 // This file is part of website-defaults |
| 2 // Copyright (C) 2016-2017 eyeo GmbH | 2 // Copyright (C) 2016-2017 eyeo GmbH |
| 3 // | 3 // |
| 4 // website-defaults is free software: you can redistribute it and/or | 4 // website-defaults is free software: you can redistribute it and/or |
| 5 // modify it under the terms of the GNU General Public License as published by | 5 // modify 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 // website-defaults is distributed in the hope that it will be useful, | 9 // website-defaults 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 website-defaults. If not, see <http://www.gnu.org/licenses/>. | 15 // along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
| 16 | 16 |
| 17 /******************************************************************************* | 17 /******************************************************************************* |
| 18 * Buttons | 18 * Buttons |
| 19 ******************************************************************************* | 19 ******************************************************************************* |
| 20 | 20 |
| 21 /* 1. Reset | 21 /* 1. Reset |
| 22 ******************************************************************************/ | 22 ******************************************************************************/ |
| 23 | 23 |
| 24 button | 24 button |
| 25 { | 25 { |
| 26 margin: 0px; | 26 margin: 0px; |
| 27 color: inherit; | 27 color: inherit; |
|
juliandoucette
2017/11/15 12:56:42
Detail: You can push this separately.
ire
2017/11/30 14:01:19
Ack.
https://codereview.adblockplus.org/29625608
| |
| 28 font: inherit; | 28 font: inherit; |
| 29 | 29 |
| 30 /* Show the overflow in IE and Edge */ | 30 /* Show the overflow in IE and Edge */ |
| 31 overflow: visible; | 31 overflow: visible; |
| 32 | 32 |
| 33 /* Remove rounded corners in Chrome 62+ */ | 33 /* Remove rounded corners in Chrome 62+ */ |
| 34 border-radius: 0; | 34 border-radius: 0; |
| 35 | 35 |
| 36 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */ | 36 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */ |
| 37 text-transform: none; | 37 text-transform: none; |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 64 | 64 |
| 65 /* Restore the focus styles unset by the previous rule. */ | 65 /* Restore the focus styles unset by the previous rule. */ |
| 66 | 66 |
| 67 button:-moz-focusring, | 67 button:-moz-focusring, |
| 68 [type="button"]:-moz-focusring, | 68 [type="button"]:-moz-focusring, |
| 69 [type="reset"]:-moz-focusring, | 69 [type="reset"]:-moz-focusring, |
| 70 [type="submit"]:-moz-focusring | 70 [type="submit"]:-moz-focusring |
| 71 { | 71 { |
| 72 outline: 1px dotted ButtonText; | 72 outline: 1px dotted ButtonText; |
| 73 } | 73 } |
| 74 | |
| 75 /* .button-link | |
| 76 ******************************************************************************/ | |
| 77 | |
| 78 .button-link | |
| 79 { | |
| 80 @extend a; | |
| 81 } | |
| LEFT | RIGHT |