liquid_feedback_frontend
diff style/mdl/styleguide.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/styleguide.scss Sun Jul 15 14:07:29 2018 +0200 1.3 @@ -0,0 +1,101 @@ 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 "material-design-lite"; 1.21 + 1.22 +$padding: 24px; 1.23 + 1.24 +body { 1.25 + margin: 0px; 1.26 +} 1.27 + 1.28 +.styleguide-demo h1 { 1.29 + margin: ($padding * 2) $padding 0 $padding; 1.30 +} 1.31 + 1.32 +.styleguide-demo h1:after { 1.33 + content: ''; 1.34 + 1.35 + display: block; 1.36 + width: 100%; 1.37 + 1.38 + border-bottom: 1px solid rgba(0,0,0,0.5); 1.39 + margin-top: $padding; 1.40 +} 1.41 + 1.42 +.styleguide-demo { 1.43 + opacity: 0; 1.44 + 1.45 + transition: opacity 0.6s ease; 1.46 +} 1.47 + 1.48 +.styleguide-masthead { 1.49 + height: 256px; 1.50 + background: unquote("rgb(#{nth($palette-grey, 10)})"); 1.51 + padding: 115px 16px 0; 1.52 +} 1.53 + 1.54 +.styleguide-container { 1.55 + position: relative; 1.56 + max-width: 960px; 1.57 + width: 100%; 1.58 +} 1.59 + 1.60 +.styleguide-title { 1.61 + color: #fff; 1.62 + bottom: auto; 1.63 + position: relative; 1.64 + font-size: 56px; 1.65 + font-weight: 300; 1.66 + line-height: 1; 1.67 + letter-spacing: -0.02em; 1.68 + 1.69 + &:after { 1.70 + border-bottom: 0px; 1.71 + } 1.72 + 1.73 + span { 1.74 + font-weight: 300; 1.75 + } 1.76 +} 1.77 + 1.78 +.mdl-styleguide .mdl-layout__drawer .mdl-navigation__link { 1.79 + padding: 10px 24px; 1.80 +} 1.81 + 1.82 +.demosLoaded .styleguide-demo { 1.83 + opacity: 1; 1.84 +} 1.85 + 1.86 +iframe { 1.87 + display: block; 1.88 + 1.89 + width: 100%; 1.90 + 1.91 + border: none; 1.92 +} 1.93 + 1.94 +iframe.heightSet { 1.95 + overflow: hidden; 1.96 +} 1.97 + 1.98 +.demo-wrapper { 1.99 + margin: $padding; 1.100 + 1.101 + iframe { 1.102 + border: 1px solid rgba(0,0,0,0.5); 1.103 + } 1.104 +}