liquid_feedback_frontend
diff style/mdl/resets/_resets.scss @ 1309:32cc544d5a5b
Cumulative patch for upcoming frontend version 4
author | bsw/jbe |
---|---|
date | Sun Jul 15 14:07:29 2018 +0200 (2018-07-15) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/style/mdl/resets/_resets.scss Sun Jul 15 14:07:29 2018 +0200 1.3 @@ -0,0 +1,55 @@ 1.4 +/** 1.5 + * Copyright 2015 Google Inc. All Rights Reserved. 1.6 + * 1.7 + * Licensed under the Apache License, Version 2.0 (the "License"); 1.8 + * you may not use this file except in compliance with the License. 1.9 + * You may obtain a copy of the License at 1.10 + * 1.11 + * http://www.apache.org/licenses/LICENSE-2.0 1.12 + * 1.13 + * Unless required by applicable law or agreed to in writing, software 1.14 + * distributed under the License is distributed on an "AS IS" BASIS, 1.15 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1.16 + * See the License for the specific language governing permissions and 1.17 + * limitations under the License. 1.18 + */ 1.19 + 1.20 +@import "h5bp"; 1.21 +@import "mobile"; 1.22 + 1.23 +/* 1.24 + * Make html take up the entire screen 1.25 + * Then set touch-action to avoid touch delay on mobile IE 1.26 + */ 1.27 +html { 1.28 + width: 100%; 1.29 + height: 100%; 1.30 + -ms-touch-action: manipulation; 1.31 + touch-action: manipulation; 1.32 +} 1.33 + 1.34 +/* 1.35 +* Make body take up the entire screen 1.36 +* Remove body margin so layout containers don't cause extra overflow. 1.37 +*/ 1.38 +body { 1.39 + width: 100%; 1.40 + min-height: 100%; 1.41 + margin: 0; 1.42 +} 1.43 + 1.44 +/* 1.45 + * Main display reset for IE support. 1.46 + * Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011 1.47 + */ 1.48 +main { 1.49 + display: block; 1.50 +} 1.51 + 1.52 +/* 1.53 +* Apply no display to elements with the hidden attribute. 1.54 +* IE 9 and 10 support. 1.55 +*/ 1.56 +*[hidden] { 1.57 + display: none !important; 1.58 +}