| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // This file is part of help.eyeo.com. | 
|  | 2 // Copyright (C) 2017 Eyeo GmbH | 
|  | 3 // | 
|  | 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 | 
|  | 6 // the Free Software Foundation, either version 3 of the License, or | 
|  | 7 // (at your option) any later version. | 
|  | 8 // | 
|  | 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 | 
|  | 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|  | 12 // GNU General Public License for more details. | 
|  | 13 // | 
|  | 14 // You should have received a copy of the GNU General Public License | 
|  | 15 // along with help.eyeo.com.  If not, see <http://www.gnu.org/licenses/>. | 
|  | 16 | 
|  | 17 // Screen reader /////////////////////////////////////////////////////////////// | 
|  | 18 | 
|  | 19 // Use this class to add screen reader / web crawler only content | 
|  | 20 // | 
|  | 21 // EG: | 
|  | 22 // - An h1 for SEO that is not visible | 
|  | 23 // - A skip-to link for screen readers | 
|  | 24 | 
|  | 25 .sr-only | 
|  | 26 { | 
|  | 27   position: absolute; | 
|  | 28   overflow: hidden; | 
|  | 29   clip: rect(0, 0, 0, 0); | 
|  | 30   width: 1px; | 
|  | 31   height: 1px; | 
|  | 32   margin: -1px; | 
|  | 33   padding: 0; | 
|  | 34   border: 0; | 
|  | 35 } | 
|  | 36 | 
|  | 37 // Clearfix /////////////////////////////////////////////////////////////// | 
|  | 38 | 
|  | 39 .clearfix:after | 
|  | 40 { | 
|  | 41   display: table; | 
|  | 42   clear: both; | 
|  | 43   content: ""; | 
|  | 44 } | 
|  | 45 | 
|  | 46 // Responsive /////////////////////////////////////////////////////////////// | 
|  | 47 | 
|  | 48 .mobile-only | 
|  | 49 { | 
|  | 50   @media (min-width: $phablet-breakpoint) | 
|  | 51   { | 
|  | 52     display: none; | 
|  | 53   } | 
|  | 54 } | 
|  | 55 | 
|  | 56 .phablet-and-mobile-only | 
|  | 57 { | 
|  | 58   @media (min-width: $tablet-breakpoint) | 
|  | 59   { | 
|  | 60     display: none; | 
|  | 61   } | 
|  | 62 } | 
|  | 63 | 
|  | 64 .tablet-and-desktop-only | 
|  | 65 { | 
|  | 66   @media (max-width: $tablet-breakpoint - 1px) | 
|  | 67   { | 
|  | 68     display: none; | 
|  | 69   } | 
|  | 70 } | 
|  | 71 | 
|  | 72 .desktop-only | 
|  | 73 { | 
|  | 74   @media (max-width: $desktop-breakpoint - 1px) | 
|  | 75   { | 
|  | 76     display: none; | 
|  | 77   } | 
|  | 78 } | 
|  | 79 | 
|  | 80 // Unstyled /////////////////////////////////////////////////////////////// | 
|  | 81 | 
|  | 82 .unstyled | 
|  | 83 { | 
|  | 84   margin: 0; | 
|  | 85   padding: 0; | 
|  | 86   border: 0; | 
|  | 87   background: none; | 
|  | 88 } | 
| OLD | NEW | 
|---|