加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vue-role.css 2.59 KB
一键复制 编辑 原始数据 按行查看 历史
藤之内 提交于 2018-09-28 17:33 . init
.vue-role-dialog__wrapper{
z-index: 2001; position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
text-align: center;
}
.vue-role-dialog__wrapper::after{
content: "";
display: inline-block;
height: 100%;
width: 0;
vertical-align: middle;
}
.vue-role-dialog{
display: inline-block;
width: 420px;
padding-bottom: 10px;
vertical-align: middle;
background-color: #fff;
border-radius: 4px;
z-index: 2001;
border: 1px solid #ebeef5;
font-size: 18px;
box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
text-align: left;
overflow: hidden;
backface-visibility: hidden;
}
.vue-role-dialog__header{
position: relative;
padding: 15px;
padding-bottom: 10px;
}
.vue-role-dialog__content{
position: relative;
padding: 10px 15px;
color: #606266;
font-size: 14px;
}
.vue-role-dialog__btns{
padding: 5px 15px 0;
text-align: right;
}
.vue-role-btn{
padding: 9px 15px;
font-size: 12px;
border-radius: 3px;
background: #fff;
border: 1px solid #dcdfe6;
color: #606266;
display: inline-block;
line-height: 1;
white-space: nowrap;
cursor: pointer;
-webkit-appearance: none;
text-align: center;
box-sizing: border-box;
outline: none;
margin: 0;
transition: .1s;
font-weight: 500;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.vue-role-btn-primary{
color: #fff;
background-color: #409eff;
border-color: #409eff;
}
.vue-role-dialog__content .info{
padding: 15px 0;
color: red;
font-size: 12px;
}
.vue-role-dot-has-role{
cursor: help;
position : absolute;
width : 10px;
height : 10px;
background : #f56c6c;
top : 0;
right : 0;
border: 1px solid white;
}
.vue-role-dot-f{
cursor: help;
position : absolute;
width : 10px;
height : 10px;
background : #e6a23c;
top : 0;
right : 0;
border: 1px solid white;
}
.vue-role-dot{
cursor: help;
position : absolute;
width : 10px;
height : 10px;
background : #67c23a;
top : 0;
right : 0;
border: 1px solid white;
}
.vue-role-model{
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: .5;
background: #000;
}
.vue-role-page{
width: 20px;
height: 20px;
cursor: help;
}
.vue-role-change {
position: absolute;
background: white;
top: 0;
right: 32px;
}
.vue-role-change select{
height: 32px;
border-radius: 0;
border: 0;
-webkit-border-radius: 0px;
outline: 1px solid rgb(204,204,204);
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化