解决ionic中 Action Sheets 在安卓机中的样式

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
58
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/**
 * Action Sheets for Android
 * --------------------------------------------------
 */
.platform-android .action-sheet-backdrop {
    -webkit-transition: background-color 150ms ease-in-out;
    transition: background-color 150ms ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
}
 
    .platform-android .action-sheet-backdrop.active {
        background-color: rgba(0, 0, 0, 0.4);
    }
 
.platform-android .action-sheet-wrapper {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    -webkit-transition: all cubic-bezier(0.36, 0.66, 0.04, 1) 500ms;
    transition: all cubic-bezier(0.36, 0.66, 0.04, 1) 500ms;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    margin: auto;
}
 
.platform-android .action-sheet-up {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
 
.platform-android .action-sheet {
    margin-left: 8px;
    margin-right: 8px;
    width: auto;
    z-index: 11;
    overflow: hidden;
}
 
    .platform-android .action-sheet .button {
        display: block;
        padding: 1px;
        width: 100%;
        border-radius: 0;
        border-color: #d1d3d6;
        background-color: transparent;
        color: #007aff;
        font-size: 14px;
    }
 
        .platform-android .action-sheet .button:hover {
            color: #007aff;
        }
 
        .platform-android .action-sheet .button.destructive {
            color: #ff3b30;
        }
 
            .platform-android .action-sheet .button.destructive:hover {
                color: #ff3b30;
            }
 
        .platform-android .action-sheet .button.active, .platform-android .action-sheet .button.activated {
            box-shadow: none;
            border-color: #d1d3d6;
            color: #007aff;
            background: #e4e5e7;
        }
 
.platform-android .action-sheet-has-icons .icon {
    position: absolute;
    left: 16px;
}
 
.platform-android .action-sheet-title {
    padding: 16px;
    color: #8f8f8f;
    text-align: center;
    font-size: 13px;
}
 
.platform-android .action-sheet-group {
    margin-bottom: 8px;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
}
 
    .platform-android .action-sheet-group .button {
        border-width: 1px 0px 0px 0px;
    }
 
        .platform-android .action-sheet-group .button:first-child:last-child {
            border-width: 0;
        }
 
.platform-android .action-sheet-options {
    background: #f1f2f3;
}
 
.platform-android .action-sheet-cancel .button {
    font-weight: 500;
}
 
.platform-android .action-sheet-open {
    pointer-events: none;
}
.platform-android .action-sheet-open.modal-open .modal {
        pointer-events: none;
}
 
.platform-android .action-sheet-open .action-sheet-backdrop {
        pointer-events: auto;
 }
 
.platform-android .action-sheet .action-sheet-title, .platform-android .action-sheet .button {
    text-align: center;
}
 
.platform-android .action-sheet-cancel {
    display: block;
}

  

posted on   落叶子  阅读(293)  评论(0编辑  收藏  举报

编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示