123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- // 容器样式
- .containers {
- width: 100%;
- max-height: 100vh;
- background-color: #333;
- overflow: hidden;
- font-weight: 500;
- font-family: "微软雅黑";
- // 列表项样式
- .signal_item {
- /*width: 100%;
- height: 132px;*/
- display: flex;
- justify-content: center;
- align-items: center;
- /*背景*/
- .signal_item_bg {
- width: 90%;
- height: 130px;
- display: flex;
- justify-content: center;
- align-items: center;
- &:hover {
- background-color: rgba(113, 113, 113, 0.3);
- }
- /*主体*/
- .signal_item_bg_body {
- width: 96%;
- height: 96%;
- background-color: rgba(127, 127, 127, 0.5);
- border-radius: 2px;
- /*空间*/
- .signal_item_bg_body_space {
- width: 94%;
- height: 80%;
- background-color: green;
- margin: 6px auto 2px;
- }
- /*文字*/
- .signal_item_bg_body_font {
- width: 100%;
- height: 15%;
- text-align: center;
- margin: 0 auto;
- font-size: 16px;
- color: #fff;
- font-family: "Gill Sans", sans-serif;
- }
- }
- }
- }
- // 滚动条样式
- /*定义滚动条高宽及背景高宽:分别对应横竖滚动条的尺寸*/
- ::-webkit-scrollbar {
- width: 4px;
- background-color: rgba(10, 66, 125, 0.65);
- }
- /*定义滚动条轨道:内阴影+圆角*/
- ::-webkit-scrollbar-track {
- -webkit-box-shadow: inset 0 0 6px rgba(10, 66, 125, 0.3);
- border-radius: 10px;
- background-color: rgba(10, 66, 125, 0.65);
- }
- /*定义滑块:内阴影+圆角*/
- ::-webkit-scrollbar-thumb {
- border-radius: 10px;
- -webkit-box-shadow: inset 0 0 6px rgba(10, 66, 125, .3);
- background-color: #666;
- }
- // 退出按钮样式
- .logoutBtn {
- position: absolute;
- top: 10px;
- right: 10px;
- }
- // 最小化和关闭按钮
- .mini {
- .miniclose(30px,20px);
- &:hover {
- background-color: #646464;
- }
- }
- .close {
- .miniclose(0,28px);
- &:hover {
- background-color: #646464;
- }
- }
- }
- // 带参数的混合
- .miniclose(@right,@fontSize) {
- position: absolute;
- width: 30px;
- height: 30px;
- top: 0;
- right:@right;
- text-align: center;
- line-height: 30px;
- font-size:@fontSize;
- cursor:default;
- font-weight: 600;
- color: #d9d9d9;
- }
|