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

Side by Side Diff: static/scss/_utilities.scss

Issue 29587584: Issue 5635 - Implement website-default navbar component (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Use float method Created Nov. 8, 2017, 5:13 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/scss/_navbar.scss ('k') | static/scss/_variables.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 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ******************************************************************************/ 56 ******************************************************************************/
57 57
58 .text-center { text-align: center; } 58 .text-center { text-align: center; }
59 .text-left { text-align: left; } 59 .text-left { text-align: left; }
60 .text-right { text-align: right; } 60 .text-right { text-align: right; }
61 .text-start { text-align: left; } 61 .text-start { text-align: left; }
62 [dir="rtl"] .text-start { text-align: right; } 62 [dir="rtl"] .text-start { text-align: right; }
63 .text-end { text-align: right; } 63 .text-end { text-align: right; }
64 [dir="rtl"] .text-end { text-align: left; } 64 [dir="rtl"] .text-end { text-align: left; }
65 65
66 /* Floats
67 ******************************************************************************/
68
69 .float-start { float: left; }
70 [dir="rtl"] .float-start { float: right; }
71 .float-end { float: right; }
72 [dir="rtl"] .float-end { float: left; }
73
66 /* Clearfix 74 /* Clearfix
67 ******************************************************************************/ 75 ******************************************************************************/
68 76
69 .clearfix:after, 77 .clearfix:after,
70 .clearfix:before 78 .clearfix:before
71 { 79 {
72 display: table; 80 display: table;
73 content: " "; 81 content: " ";
74 } 82 }
75 83
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 { 138 {
131 color: $accent-light; 139 color: $accent-light;
132 background-color: $accent-dark; 140 background-color: $accent-dark;
133 } 141 }
134 142
135 .bg-error 143 .bg-error
136 { 144 {
137 color: $error-light; 145 color: $error-light;
138 background-color: $error-dark; 146 background-color: $error-dark;
139 } 147 }
OLDNEW
« no previous file with comments | « static/scss/_navbar.scss ('k') | static/scss/_variables.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld