liquid_feedback_frontend
annotate style/mdl/resets/_resets.scss @ 1558:5e7d76a32227
Hide discard vote button after voting is closed
author | bsw |
---|---|
date | Tue Nov 10 20:23:37 2020 +0100 (2020-11-10) |
parents | 32cc544d5a5b |
children |
rev | line source |
---|---|
bsw/jbe@1309 | 1 /** |
bsw/jbe@1309 | 2 * Copyright 2015 Google Inc. All Rights Reserved. |
bsw/jbe@1309 | 3 * |
bsw/jbe@1309 | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
bsw/jbe@1309 | 5 * you may not use this file except in compliance with the License. |
bsw/jbe@1309 | 6 * You may obtain a copy of the License at |
bsw/jbe@1309 | 7 * |
bsw/jbe@1309 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
bsw/jbe@1309 | 9 * |
bsw/jbe@1309 | 10 * Unless required by applicable law or agreed to in writing, software |
bsw/jbe@1309 | 11 * distributed under the License is distributed on an "AS IS" BASIS, |
bsw/jbe@1309 | 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
bsw/jbe@1309 | 13 * See the License for the specific language governing permissions and |
bsw/jbe@1309 | 14 * limitations under the License. |
bsw/jbe@1309 | 15 */ |
bsw/jbe@1309 | 16 |
bsw/jbe@1309 | 17 @import "h5bp"; |
bsw/jbe@1309 | 18 @import "mobile"; |
bsw/jbe@1309 | 19 |
bsw/jbe@1309 | 20 /* |
bsw/jbe@1309 | 21 * Make html take up the entire screen |
bsw/jbe@1309 | 22 * Then set touch-action to avoid touch delay on mobile IE |
bsw/jbe@1309 | 23 */ |
bsw/jbe@1309 | 24 html { |
bsw/jbe@1309 | 25 width: 100%; |
bsw/jbe@1309 | 26 height: 100%; |
bsw/jbe@1309 | 27 -ms-touch-action: manipulation; |
bsw/jbe@1309 | 28 touch-action: manipulation; |
bsw/jbe@1309 | 29 } |
bsw/jbe@1309 | 30 |
bsw/jbe@1309 | 31 /* |
bsw/jbe@1309 | 32 * Make body take up the entire screen |
bsw/jbe@1309 | 33 * Remove body margin so layout containers don't cause extra overflow. |
bsw/jbe@1309 | 34 */ |
bsw/jbe@1309 | 35 body { |
bsw/jbe@1309 | 36 width: 100%; |
bsw/jbe@1309 | 37 min-height: 100%; |
bsw/jbe@1309 | 38 margin: 0; |
bsw/jbe@1309 | 39 } |
bsw/jbe@1309 | 40 |
bsw/jbe@1309 | 41 /* |
bsw/jbe@1309 | 42 * Main display reset for IE support. |
bsw/jbe@1309 | 43 * Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011 |
bsw/jbe@1309 | 44 */ |
bsw/jbe@1309 | 45 main { |
bsw/jbe@1309 | 46 display: block; |
bsw/jbe@1309 | 47 } |
bsw/jbe@1309 | 48 |
bsw/jbe@1309 | 49 /* |
bsw/jbe@1309 | 50 * Apply no display to elements with the hidden attribute. |
bsw/jbe@1309 | 51 * IE 9 and 10 support. |
bsw/jbe@1309 | 52 */ |
bsw/jbe@1309 | 53 *[hidden] { |
bsw/jbe@1309 | 54 display: none !important; |
bsw/jbe@1309 | 55 } |