 Issue 29485575:
  Issue 5385 - Create Site Header Component for Help Center  (Closed)
    
  
    Issue 29485575:
  Issue 5385 - Create Site Header Component for Help Center  (Closed) 
  | 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 25 matching lines...) Expand all Loading... | |
| 36 | 36 | 
| 37 // Clearfix /////////////////////////////////////////////////////////////// | 37 // Clearfix /////////////////////////////////////////////////////////////// | 
| 38 | 38 | 
| 39 .clearfix:after | 39 .clearfix:after | 
| 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 /////////////////////////////////////////////////////////////// | 
| 
juliandoucette
2017/08/29 16:17:23
It may be worth proposing that we rename $size-bre
 | |
| 47 | 47 | 
| 48 .mobile-only | 48 .mobile-only | 
| 49 { | 49 { | 
| 50 @media (min-width: $mobile-breakpoint) | 50 @media (min-width: $phablet-breakpoint) | 
| 
juliandoucette
2017/08/23 14:39:05
See comment [here](https://codereview.adblockplus.
 
ire
2017/08/25 08:27:08
Acknowledged.
 
juliandoucette
2017/08/29 16:17:24
Note: This should be min-width $tablet-breakpoint
 
ire
2017/09/01 10:57:18
Done.
 | |
| 51 { | 51 { | 
| 52 display: none; | 52 display: none; | 
| 53 } | 53 } | 
| 54 } | 54 } | 
| 55 | 55 | 
| 56 .tablet-and-mobile-only | 56 .phablet-and-mobile-only | 
| 
juliandoucette
2017/08/23 14:39:05
The website-default grid considers anything less t
 
ire
2017/08/25 08:27:08
Ack. See my reply on the quoted comment.
 
juliandoucette
2017/08/29 16:17:23
On 2017/08/25 08:27:08, ire wrote:
Ack. See my rep
 
ire
2017/09/01 10:57:17
This is changed to .phablet-and-mobile-only, width
 | |
| 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 | 
| 
juliandoucette
2017/08/23 14:39:05
The website-default grid considers anything more t
 
ire
2017/08/25 08:27:09
Ack. See my reply on the quoted comment.
 
juliandoucette
2017/08/29 16:17:24
Note: This should be min-width: $desktop-breakpoin
 
ire
2017/09/01 10:57:17
This is max-width: $desktop-breakpoint, because I'
 
juliandoucette
2017/09/01 11:43:44
Acknowledged. But it should be $tablet-breakpoint
 
ire
2017/09/01 12:12:03
Done.
 | |
| 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 | 79 | 
| 80 // Unstyled /////////////////////////////////////////////////////////////// | 80 // Unstyled /////////////////////////////////////////////////////////////// | 
| 81 | 81 | 
| 82 .unstyled | 82 .unstyled | 
| 83 { | 83 { | 
| 84 margin: 0; | 84 margin: 0; | 
| 85 padding: 0; | 85 padding: 0; | 
| 86 border: 0; | 86 border: 0; | 
| 87 background: none; | 87 background: none; | 
| 88 } | 88 } | 
| LEFT | RIGHT |