weui-form-preview.wxss 2.4 KB
Newer Older
J
jf 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/**
* Tencent is pleased to support the open source community by making
* WeUI-WXSS available.
* 
* Copyright (C) 2017 THL A29 Limited, a Tencent company.
* All rights reserved.
* 
* Licensed under the MIT License (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy of
* the License at
* 
*       http://opensource.org/licenses/MIT
* 
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

B
initial  
bearyan 已提交
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
@import "../../../base/fn.wxss";

.weui-form-preview{
    position: relative;
    background-color: #FFFFFF;
    &:before{
        .setTopLine(@weuiCellBorderColor);
    }
    &:after{
        .setBottomLine(@weuiCellBorderColor);
    }
}
.weui-form-preview__value{
    font-size: 14px;
}
.weui-form-preview__value_in-hd{
    font-size: 26px;
}
.weui-form-preview__hd{
    position: relative;
    padding: @weuiCellGapV @weuiCellGapH;
    text-align: right;
    line-height: 2.5em;
    &:after{
        .setBottomLine(@weuiCellBorderColor);
        left: @weuiCellGapH;
    }
}
.weui-form-preview__bd{
    padding: @weuiCellGapV @weuiCellGapH;
    font-size: .9em;
    text-align: right;
    color: @weuiTextColorGray;
    line-height: 2;
}
.weui-form-preview__ft{
    position: relative;
X
xushengni 已提交
58
    line-height: 56px;
B
initial  
bearyan 已提交
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
    display: flex;
    &:after {
        .setTopLine(@weuiDialogLineColor);
    }
}
.weui-form-preview__item{
    overflow: hidden;
}
.weui-form-preview__label{
    float: left;
    margin-right: 1em;
    min-width: 4em;
    color: @weuiTextColorGray;
    text-align: justify;
    text-align-last: justify;
}
.weui-form-preview__value{
    display: block;
    overflow: hidden;
    word-break:normal;
    word-wrap: break-word;
}
.weui-form-preview__btn {
    position: relative;
    display: block;
    flex: 1;
    color: @weuiDialogLinkColor;
    text-align: center;
X
xushengni 已提交
87 88
    font-weight:700;
    font-size:17px;
B
initial  
bearyan 已提交
89 90 91 92 93 94 95 96 97 98 99 100 101
    &:after {
        .setLeftLine(@weuiDialogLineColor);
    }
    &:first-child {
        &:after {
            display: none;
        }
    }
}
.weui-form-preview__btn_active{
    background-color: @weuiDialogLinkActiveBc;
}
.weui-form-preview__btn_default {
X
xushengni 已提交
102
    color: @weuiTextColorTitle;
B
initial  
bearyan 已提交
103 104
}
.weui-form-preview__btn_primary {
X
xushengni 已提交
105 106
    color: @weuiLinkColorDefault;
}