feat: 会员中心 hgcloud 主题初始化 + drone 部署步骤
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- 解压官方默认主题 default_yfMBA.tar.gz 到 clientarea/hgcloud/ - .gitignore 排除压缩包和临时解压目录 - drone 新增步骤: 同步 hgcloud 到 /clientarea/template/pc/
This commit is contained in:
415
clientarea/hgcloud/css/security_group.less
Normal file
415
clientarea/hgcloud/css/security_group.less
Normal file
@@ -0,0 +1,415 @@
|
||||
.main-card {
|
||||
.main-card-title {
|
||||
font-size: .28rem;
|
||||
margin-bottom: .4rem;
|
||||
}
|
||||
|
||||
.content-table {
|
||||
margin-top: .3rem;
|
||||
|
||||
.content_searchbar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
||||
.left-btn {
|
||||
padding: 0 10px;
|
||||
height: 46px;
|
||||
line-height: 46px;
|
||||
background: var(--color-primary);
|
||||
color: #FFF;
|
||||
opacity: 1;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.tabledata {
|
||||
margin-top: .14rem;
|
||||
|
||||
.open-show {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.un-open {
|
||||
width: .59rem;
|
||||
height: .26rem;
|
||||
background: #EEEEEE;
|
||||
border-radius: 3px;
|
||||
font-size: .13rem;
|
||||
color: #757575;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.open {
|
||||
width: .59rem;
|
||||
height: .26rem;
|
||||
background: #E1F0FF;
|
||||
border-radius: 3px;
|
||||
font-size: .13rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.setting {
|
||||
font-size: .14rem;
|
||||
color: var(--color-primary);
|
||||
margin-left: .08rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.create-api-dialog {
|
||||
.el-dialog {
|
||||
width: 6.2rem;
|
||||
}
|
||||
|
||||
.dialog-main {
|
||||
.content-msg {
|
||||
border: 1px solid #E6E7EB;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: .2rem;
|
||||
|
||||
.msg-item {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-left: .3rem;
|
||||
margin-top: .2rem;
|
||||
color: #757575;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: .3rem;
|
||||
}
|
||||
|
||||
.item-label {
|
||||
width: 80px;
|
||||
margin-right: .4rem;
|
||||
}
|
||||
|
||||
.item-vlaue {
|
||||
.copy {
|
||||
color: var(--color-primary);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.yellow {
|
||||
color: var(--color-warning);
|
||||
}
|
||||
}
|
||||
|
||||
.alert-text {
|
||||
margin-top: .2rem;
|
||||
}
|
||||
|
||||
.el-dialog__header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dia-tit {
|
||||
font-size: .16rem;
|
||||
word-wrap: break-word;
|
||||
color: rgba(0, 0, 0, .85);
|
||||
line-height: 1;
|
||||
margin-bottom: .3rem;
|
||||
}
|
||||
|
||||
.el-select,
|
||||
.el-input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.el-button {
|
||||
width: .8rem;
|
||||
height: .4rem;
|
||||
}
|
||||
|
||||
.child {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.s-item {
|
||||
margin-right: .3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.s-tit {
|
||||
margin-bottom: .1rem;
|
||||
|
||||
.red {
|
||||
color: var(--color-danger);
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.re-tip {
|
||||
margin-bottom: .15rem;
|
||||
|
||||
.el-form-item__content {
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.white-ip-dialog {
|
||||
|
||||
.dialog-main {
|
||||
.info-alert {
|
||||
background: #E1F0FF;
|
||||
color: var(--color-primary);
|
||||
font-size: .15rem;
|
||||
|
||||
.el-alert__closebtn {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.ip-status {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-top: .3rem;
|
||||
|
||||
.ip-status-text {
|
||||
width: .84rem;
|
||||
margin-right: .2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.status-remind {
|
||||
margin-left: 1.04rem;
|
||||
margin-top: .2rem;
|
||||
margin-bottom: .3rem;
|
||||
color: #8692B0;
|
||||
}
|
||||
|
||||
.alert-text {
|
||||
margin-top: .2rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.el-switch__label {
|
||||
position: absolute;
|
||||
display: none;
|
||||
color: #fff;
|
||||
|
||||
& * {
|
||||
font-size: 12px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-switch__core {
|
||||
background-color: rgba(166, 166, 166, 1);
|
||||
}
|
||||
|
||||
.el-switch__label--left {
|
||||
z-index: 9;
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
.el-switch__label--right {
|
||||
z-index: 9;
|
||||
left: -3px;
|
||||
}
|
||||
|
||||
.el-switch__label.is-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.delete-dialog {
|
||||
|
||||
.el-dialog__body {
|
||||
padding-left: .8rem;
|
||||
padding-right: .8rem;
|
||||
padding-bottom: .3rem;
|
||||
}
|
||||
|
||||
|
||||
.del-dialog-title {
|
||||
font-size: .24rem;
|
||||
font-weight: bold;
|
||||
color: var(--color-danger);
|
||||
|
||||
.del-icon {
|
||||
margin-right: .13rem;
|
||||
}
|
||||
}
|
||||
|
||||
.del-dialog-main {
|
||||
font-size: .16rem;
|
||||
font-weight: 800;
|
||||
color: #1E2736;
|
||||
margin-top: .3rem;
|
||||
margin-bottom: .4rem;
|
||||
}
|
||||
|
||||
.del-dialog-footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.btn-ok,
|
||||
.btn-no {
|
||||
height: 0.46rem;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: .16rem;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-ok {
|
||||
background: var(--color-danger);
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.btn-no {
|
||||
background: #E7E7E7;
|
||||
color: #1E2736;
|
||||
margin-top: .16rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.more-operation {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: .3rem;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
|
||||
.dot {
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
border: 2px solid var(--color-primary);
|
||||
border-radius: 50%;
|
||||
margin-right: .05rem;
|
||||
}
|
||||
}
|
||||
|
||||
.el-popover {
|
||||
min-width: .5rem !important;
|
||||
|
||||
.operation {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.operation-item {
|
||||
margin-top: .05rem;
|
||||
margin-bottom: .05rem;
|
||||
cursor: pointer;
|
||||
.link{
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 弹窗 通用
|
||||
.el-dialog__body {
|
||||
padding-left: .8rem;
|
||||
padding-right: .8rem;
|
||||
}
|
||||
|
||||
.dialog-main {
|
||||
margin-top: .4rem;
|
||||
|
||||
.el-input__inner {
|
||||
height: .52rem;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: .16rem;
|
||||
color: #1E2736;
|
||||
margin-bottom: .1rem;
|
||||
|
||||
&:not(:first-child) {
|
||||
margin-top: .2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-footer {
|
||||
.btn-no {
|
||||
margin-left: .12rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-ok {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// 勾选框 文字换行
|
||||
.el-checkbox__label {
|
||||
display: inline-grid;
|
||||
white-space: initial;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* security-group */
|
||||
.security-group {
|
||||
.el-textarea textarea {
|
||||
resize: none;
|
||||
font-family: PingFang SC;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.left-btn {
|
||||
margin-right: .1rem;
|
||||
|
||||
&.add {
|
||||
color: var(--color-primary) !important;
|
||||
background: #f1f1fe !important;
|
||||
}
|
||||
|
||||
&.del {
|
||||
background: #f2f1f6 !important;
|
||||
color: #525666 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-table-column--selection .cell {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user