liquid_feedback_frontend

diff style/mdl/card/_card.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/card/_card.scss	Sun Jul 15 14:07:29 2018 +0200
     1.3 @@ -0,0 +1,115 @@
     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 "../variables";
    1.21 +
    1.22 +.mdl-card {
    1.23 +  display: flex;
    1.24 +  flex-direction: column;
    1.25 +  font-size: $card-font-size;
    1.26 +  font-weight: 400;
    1.27 +  min-height: $card-height;
    1.28 +  overflow: hidden;
    1.29 +  width: $card-width;
    1.30 +  z-index: $card-z-index;
    1.31 +  position: relative;
    1.32 +  background: $card-background-color;
    1.33 +  border-radius: 2px;
    1.34 +  box-sizing: border-box;
    1.35 +}
    1.36 +
    1.37 +.mdl-card__media {
    1.38 +  background-color: $card-image-placeholder-color;
    1.39 +  background-repeat: repeat;
    1.40 +  background-position: 50% 50%;
    1.41 +  background-size: cover;
    1.42 +  background-origin: padding-box;
    1.43 +  background-attachment: scroll;
    1.44 +  box-sizing: border-box;
    1.45 +}
    1.46 +
    1.47 +.mdl-card__title {
    1.48 +  align-items: center;
    1.49 +  color: $card-text-color;
    1.50 +  display: block;
    1.51 +  display: flex;
    1.52 +  justify-content: stretch;
    1.53 +  line-height: normal;
    1.54 +  padding: $card-vertical-padding $card-horizontal-padding;
    1.55 +  perspective-origin: $card-title-perspective-origin-x $card-title-perspective-origin-y;
    1.56 +  transform-origin: $card-title-transform-origin-x $card-title-transform-origin-y;
    1.57 +  box-sizing: border-box;
    1.58 +
    1.59 +  &.mdl-card--border {
    1.60 +    border-bottom: 1px solid $card-border-color;
    1.61 +  }
    1.62 +}
    1.63 +
    1.64 +.mdl-card__title-text {
    1.65 +  align-self: flex-end;
    1.66 +  color: inherit;
    1.67 +  display: block;
    1.68 +  display: flex;
    1.69 +  font-size: $card-title-font-size;
    1.70 +  font-weight: $card-title-text-font-weight;
    1.71 +  line-height: normal;
    1.72 +  overflow: hidden;
    1.73 +  transform-origin: $card-title-text-transform-origin-x $card-title-text-transform-origin-y;
    1.74 +  margin: 0;
    1.75 +}
    1.76 +
    1.77 +.mdl-card__subtitle-text {
    1.78 +  font-size: $card-subtitle-font-size;
    1.79 +  color: $card-subtitle-color;
    1.80 +  margin: 0;
    1.81 +}
    1.82 +
    1.83 +.mdl-card__supporting-text {
    1.84 +  color: $card-supporting-text-text-color;
    1.85 +  font-size: $card-supporting-text-font-size;
    1.86 +  line-height: $card-supporting-text-line-height;
    1.87 +  overflow: hidden;
    1.88 +  padding: $card-vertical-padding $card-horizontal-padding;
    1.89 +  width: 90%;
    1.90 +
    1.91 +  &.mdl-card--border {
    1.92 +    border-bottom: 1px solid $card-border-color;
    1.93 +  }
    1.94 +}
    1.95 +
    1.96 +.mdl-card__actions {
    1.97 +  font-size: $card-actions-font-size;
    1.98 +  line-height: normal;
    1.99 +  width: 100%;
   1.100 +  background-color: rgba(0,0,0,0);
   1.101 +  padding: 8px;
   1.102 +  box-sizing: border-box;
   1.103 +
   1.104 +  &.mdl-card--border {
   1.105 +    border-top: 1px solid $card-border-color;
   1.106 +  }
   1.107 +}
   1.108 +
   1.109 +.mdl-card--expand {
   1.110 +  flex-grow: 1;
   1.111 +}
   1.112 +
   1.113 +
   1.114 +.mdl-card__menu {
   1.115 +  position: absolute;
   1.116 +  right: 16px;
   1.117 +  top: 16px;
   1.118 +}

Impressum / About Us