living-together/source/Component/ConfirmPopup/ConfirmPopup.scss
2022-03-26 18:54:51 +08:00

109 lines
1.9 KiB
SCSS

@import "../Theme/Theme.scss";
div.confirm-root {
width: 100%;
height: 100%;
div.header-view {
width: 100%;
}
div.content-views {
width: 100%;
box-sizing: border-box;
overflow: scroll;
-ms-overflow-style: none;
flex-shrink: 1;
}
div.content-views::-webkit-scrollbar {
width : 8px; /*高宽分别对应横竖滚动条的尺寸*/
height: 0;
}
div.content-views::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 8px;
}
div.content-views::-webkit-scrollbar-track {
/*滚动条里面轨道*/
border-radius: 8px;
background-color: rgba($color: #000000, $alpha: 0);
}
div.content-views.has-padding {
padding: 10px;
}
div.action-view {
width: 100%;
height: 36px;
display: flex;
box-sizing: border-box;
padding-right: 5px;
padding-bottom: 10px;
justify-content: flex-end;
align-items: center;
div.action-button {
height: 26px;
padding: 0 10px;
border-radius: 3px;
margin: 0 5px;
display: flex;
align-items: center;
cursor: pointer;
user-select: none;
}
div.action-button.red {
color: $lt-red;
}
div.action-button.blue {
color: $lt-blue;
}
div.action-button.disable {
opacity: .75;
cursor: not-allowed;
}
}
}
div.dark.confirm-root {
div.content-views::-webkit-scrollbar-thumb {
background-color: $lt-bg-color-lvl1-dark;
}
div.action-view {
div.action-button, div.action-button.disable:hover {
background-color: $lt-bg-color-lvl3-dark;
}
div.action-button:hover {
background-color: $lt-bg-color-lvl2-dark;
}
}
}
div.light.confirm-root {
div.content-views::-webkit-scrollbar-thumb {
background-color: $lt-bg-color-lvl1-light;
}
div.action-view {
div.action-button, div.action-button.disable:hover {
background-color: $lt-bg-color-lvl3-light;
}
div.action-button:hover {
background-color: $lt-bg-color-lvl2-light;
}
}
}