 Issue 29730644:
  Issue 6514 - IOToggle Custom Element  (Closed)
    
  
    Issue 29730644:
  Issue 6514 - IOToggle Custom Element  (Closed) 
  | Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| 1 /* | 1 /* | 
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 
| 3 * Copyright (C) 2006-present eyeo GmbH | 3 * Copyright (C) 2006-present eyeo GmbH | 
| 4 * | 4 * | 
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify | 
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as | 
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. | 
| 8 * | 8 * | 
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus 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 Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 
| 16 */ | 16 */ | 
| 17 | 17 | 
| 18 @import "io-toggle.scss"; | |
| 
Thomas Greiner
2018/04/25 17:29:13
You're not using this component in the desktop opt
 
a.giammarchi
2018/04/26 10:44:50
Fair point, but that is why I was using `require`
 
Thomas Greiner
2018/04/26 17:00:51
I see. What about generating CSS files for each co
 | |
| 19 | |
| 18 html | 20 html | 
| 19 { | 21 { | 
| 20 font-size: 16px; | 22 font-size: 16px; | 
| 21 } | 23 } | 
| 22 | 24 | 
| 23 body | 25 body | 
| 24 { | 26 { | 
| 25 background-color: #F3F3F3; | 27 background-color: #F3F3F3; | 
| 26 display: flex; | 28 display: flex; | 
| 27 justify-content: center; | 29 justify-content: center; | 
| (...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1576 font-size: 1rem; | 1578 font-size: 1rem; | 
| 1577 color: #077CA6; | 1579 color: #077CA6; | 
| 1578 background-color: #E1F2FA; | 1580 background-color: #E1F2FA; | 
| 1579 } | 1581 } | 
| 1580 | 1582 | 
| 1581 #notification strong | 1583 #notification strong | 
| 1582 { | 1584 { | 
| 1583 flex: 1; | 1585 flex: 1; | 
| 1584 text-align: center; | 1586 text-align: center; | 
| 1585 } | 1587 } | 
| OLD | NEW |