liquid_feedback_frontend
diff style/mdl/chip/_chip.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/chip/_chip.scss Sun Jul 15 14:07:29 2018 +0200 1.3 @@ -0,0 +1,88 @@ 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 +@import "../mixins"; 1.22 + 1.23 +.mdl-chip { 1.24 + height: $chip-height; 1.25 + font-family: $preferred_font; 1.26 + line-height: $chip-height; 1.27 + padding: 0 12px; 1.28 + border: 0; 1.29 + border-radius: $chip-height / 2; 1.30 + background-color: $chip-bg-color; 1.31 + display: inline-block; 1.32 + color: $text-color-primary; 1.33 + margin: 2px 0; 1.34 + font-size: 0; 1.35 + white-space: nowrap; 1.36 + 1.37 + &__text { 1.38 + font-size: $chip-font-size; 1.39 + vertical-align: middle; 1.40 + display: inline-block; 1.41 + } 1.42 + 1.43 + &__action { 1.44 + height: 24px; 1.45 + width: 24px; 1.46 + background: transparent; 1.47 + opacity: 0.54; 1.48 + display: inline-block; 1.49 + cursor: pointer; 1.50 + text-align: center; 1.51 + vertical-align: middle; 1.52 + padding: 0; 1.53 + margin: 0 0 0 4px; 1.54 + font-size: $chip-font-size; 1.55 + text-decoration: none; 1.56 + color: $text-color-primary; 1.57 + border: none; 1.58 + outline: none; 1.59 + overflow: hidden; 1.60 + } 1.61 + 1.62 + &__contact { 1.63 + height: $chip-height; 1.64 + width: $chip-height; 1.65 + border-radius: $chip-height / 2; 1.66 + display: inline-block; 1.67 + vertical-align: middle; 1.68 + margin-right: 8px; 1.69 + overflow: hidden; 1.70 + text-align: center; 1.71 + font-size: 18px; 1.72 + line-height: 32px; 1.73 + } 1.74 + 1.75 + &:focus { 1.76 + outline: 0; 1.77 + @include shadow-2dp(); 1.78 + } 1.79 + 1.80 + &:active { 1.81 + background-color: $chip-bg-active-color; 1.82 + } 1.83 + 1.84 + &--deletable { 1.85 + padding-right: 4px; 1.86 + } 1.87 + 1.88 + &--contact { 1.89 + padding-left: 0; 1.90 + } 1.91 +} 1.92 \ No newline at end of file