| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 // This file is part of website-defaults | 1 // This file is part of website-defaults |
| 2 // Copyright (C) 2016-present eyeo GmbH | 2 // Copyright (C) 2016-present 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 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 position: absolute; | 86 position: absolute; |
| 87 overflow: hidden; | 87 overflow: hidden; |
| 88 clip: rect(0, 0, 0, 0); | 88 clip: rect(0, 0, 0, 0); |
| 89 width: 1px; | 89 width: 1px; |
| 90 height: 1px; | 90 height: 1px; |
| 91 margin: -1px; | 91 margin: -1px; |
| 92 padding: 0; | 92 padding: 0; |
| 93 border: 0; | 93 border: 0; |
| 94 } | 94 } |
| 95 | 95 |
| 96 /* Unstyled elements | |
|
juliandoucette
2017/11/06 10:30:48
TOL: .unstyle or .unstyled?
ire
2017/11/06 14:32:57
*shrugs* I'll keep it as unstyled for now
| |
| 97 ******************************************************************************/ | |
| 98 | |
| 99 .unstyled, | |
|
juliandoucette
2017/11/06 10:30:48
TOL: .unstyled could apply to children too if you
ire
2017/11/06 14:32:57
Good idea. Done.
| |
| 100 .content .unstyled | |
| 101 { | |
| 102 margin: 0; | |
| 103 padding: 0; | |
| 104 border: 0; | |
| 105 background: none; | |
| 106 } | |
| 107 | |
| 108 ul.unstyled | |
| 109 { | |
| 110 list-style: none; | |
| 111 } | |
| 112 | |
| 96 /* Backgrounds | 113 /* Backgrounds |
| 97 ******************************************************************************/ | 114 ******************************************************************************/ |
| 98 | 115 |
| 99 .bg-primary | 116 .bg-primary |
| 100 { | 117 { |
| 101 color: $primary-light; | 118 color: $primary-light; |
| 102 background-color: $primary-dark; | 119 background-color: $primary-dark; |
| 103 } | 120 } |
| 104 | 121 |
| 105 .bg-secondary | 122 .bg-secondary |
| 106 { | 123 { |
| 107 color: $secondary-light; | 124 color: $secondary-light; |
| 108 background-color: $secondary-dark; | 125 background-color: $secondary-dark; |
| 109 } | 126 } |
| 110 | 127 |
| 111 .bg-accent | 128 .bg-accent |
| 112 { | 129 { |
| 113 color: $accent-light; | 130 color: $accent-light; |
| 114 background-color: $accent-dark; | 131 background-color: $accent-dark; |
| 115 } | 132 } |
| 116 | 133 |
| 117 .bg-error | 134 .bg-error |
| 118 { | 135 { |
| 119 color: $error-light; | 136 color: $error-light; |
| 120 background-color: $error-dark; | 137 background-color: $error-dark; |
| 121 } | 138 } |
| OLD | NEW |