| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 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 clip: rect(0, 0, 0, 0); | 29 clip: rect(0, 0, 0, 0); |
| 30 width: 1px; | 30 width: 1px; |
| 31 height: 1px; | 31 height: 1px; |
| 32 margin: -1px; | 32 margin: -1px; |
| 33 padding: 0; | 33 padding: 0; |
| 34 border: 0; | 34 border: 0; |
| 35 } | 35 } |
| 36 | 36 |
| 37 // Clearfix /////////////////////////////////////////////////////////////// | 37 // Clearfix /////////////////////////////////////////////////////////////// |
| 38 | 38 |
| 39 .cf:after | 39 .clearfix:after |
|
juliandoucette
2017/07/14 14:11:29
NIT: We usually spell this out.
ire
2017/07/17 09:25:54
Done.
| |
| 40 { | 40 { |
| 41 display: table; | 41 display: table; |
| 42 clear: both; | 42 clear: both; |
| 43 content: ""; | 43 content: ""; |
| 44 } | 44 } |
| 45 | 45 |
| 46 // Responsive /////////////////////////////////////////////////////////////// | 46 // Responsive /////////////////////////////////////////////////////////////// |
| 47 | 47 |
| 48 .mobile-only | 48 .mobile-only |
| 49 { | 49 { |
| 50 @media (min-width: $mobile-breakpoint) | 50 @media (min-width: $phablet-breakpoint) |
| 51 { | 51 { |
| 52 display: none; | 52 display: none; |
| 53 } | 53 } |
| 54 } | 54 } |
| 55 | 55 |
| 56 .tablet-and-mobile-only | 56 .phablet-and-mobile-only |
| 57 { | 57 { |
| 58 @media (min-width: $tablet-breakpoint) | 58 @media (min-width: $tablet-breakpoint) |
| 59 { | 59 { |
| 60 display: none; | 60 display: none; |
| 61 } | 61 } |
| 62 } | 62 } |
| 63 | 63 |
| 64 .tablet-and-desktop-only | 64 .tablet-and-desktop-only |
| 65 { | 65 { |
| 66 @media (max-width: $mobile-breakpoint) | 66 @media (max-width: $tablet-breakpoint - 1px) |
| 67 { | 67 { |
| 68 display: none; | 68 display: none; |
| 69 } | 69 } |
| 70 } | 70 } |
| 71 | 71 |
| 72 .desktop-only | 72 .desktop-only |
| 73 { | 73 { |
| 74 @media (max-width: $tablet-breakpoint) | 74 @media (max-width: $desktop-breakpoint - 1px) |
| 75 { | 75 { |
| 76 display: none; | 76 display: none; |
| 77 } | 77 } |
| 78 } | 78 } |
| 79 | |
| 80 // Unstyled /////////////////////////////////////////////////////////////// | |
| 81 | |
| 82 .unstyled | |
| 83 { | |
| 84 margin: 0; | |
| 85 padding: 0; | |
| 86 border: 0; | |
| 87 background: none; | |
| 88 } | |
| LEFT | RIGHT |