mirror of https://github.com/1099438829/macUI.git
1270 lines
26 KiB
CSS
1270 lines
26 KiB
CSS
@charset "utf-8";
|
|
body, a, h1, h2, h3, h4, h5, h6, p, div, em, ul, li {
|
|
font-family: PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
}
|
|
|
|
/*去除ul中li左边的圆点*/
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 定义滚动条样式 */
|
|
::-webkit-scrollbar {
|
|
width: 5px;
|
|
height: 5px;
|
|
}
|
|
|
|
/*定义滚动条轨道 内阴影+圆角*/
|
|
::-webkit-scrollbar-track {
|
|
box-shadow: inset 0 0 0 rgba(240, 240, 240, 0.5);
|
|
border-radius: 10px;
|
|
background-color: rgba(50, 50, 50, .1);
|
|
}
|
|
|
|
/*定义滑块 内阴影+圆角*/
|
|
::-webkit-scrollbar-thumb {
|
|
border-radius: 10px;
|
|
box-shadow: inset 0 0 0 rgba(240, 240, 240, 0.5);
|
|
background-color: rgba(50, 50, 50, .3);
|
|
}
|
|
|
|
#mac * {
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
#mac-login {
|
|
background: black no-repeat fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-size: 100% 100%;
|
|
position: fixed;
|
|
z-index: -1;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
#mac {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: black no-repeat fixed;
|
|
background-size: 100% 100%;
|
|
position: relative;
|
|
}
|
|
|
|
#mac .blur {
|
|
-webkit-filter: blur(8px); /* Chrome, Opera */
|
|
-moz-filter: blur(8px);
|
|
-ms-filter: blur(8px);
|
|
filter: blur(8px);
|
|
transition: filter 0.3s;
|
|
transition: -webkit-filter 0.3s;
|
|
transition: -moz-filter 0.3s;
|
|
transition: -ms-filter 0.3s;
|
|
}
|
|
|
|
#mac .backgroud_blur {
|
|
/* Safari for macOS & iOS */
|
|
-webkit-backdrop-filter: blur(20px);
|
|
/* Google Chrome */
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
transition: filter 0.3s;
|
|
transition: -webkit-filter 0.3s;
|
|
transition: -moz-filter 0.3s;
|
|
transition: -ms-filter 0.3s;
|
|
}
|
|
|
|
#mac .desktop .background {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -999;
|
|
transform: scale3d(1.1, 1.1, 1);
|
|
background-size: 100% 100%;
|
|
background-position: center center;
|
|
}
|
|
|
|
#mac * {
|
|
scrollbar-arrow-color: #5e6a5c; /*图6,三角箭头的颜色*/
|
|
scrollbar-face-color: #5e6a5c; /*图5,立体滚动条的颜色*/
|
|
scrollbar-3dlight-color: #5e6a5c; /*图1,立体滚动条亮边的颜色*/
|
|
scrollbar-highlight-color: #5e6a5c; /*图2,滚动条空白部分的颜色*/
|
|
scrollbar-shadow-color: #5e6a5c; /*图3,立体滚动条阴影的颜色*/
|
|
scrollbar-darkshadow-color: #5e6a5c; /*图4,立体滚动条强阴影的颜色*/
|
|
scrollbar-track-color: rgba(74, 84, 78, 0.41); /*图7,立体滚动条背景颜色*/
|
|
scrollbar-base-color: #5e6a5c; /*滚动条的基本颜色*/
|
|
}
|
|
|
|
#mac hr {
|
|
height: 0;
|
|
border-top: 1px solid #999;
|
|
border-right: 0;
|
|
border-bottom: 0;
|
|
border-left: 0;
|
|
}
|
|
|
|
#mac .desktop {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
}
|
|
|
|
#mac_task_bar {
|
|
width: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
height: 24px;
|
|
line-height: 24px;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
-webkit-box-shadow: 0 0.3125rem 0.07rem -0.3125rem rgba(0, 0, 0, 0.42);
|
|
-moz-box-shadow: 0 0.3125rem 0.07rem -0.3125rem rgba(0, 0, 0, 0.42);
|
|
box-shadow: 0 0.3125rem 0.07rem -0.3125rem rgba(0, 0, 0, 0.42);
|
|
z-index: 1000;
|
|
}
|
|
|
|
#mac .btn_group {
|
|
height: 100%;
|
|
}
|
|
|
|
#mac .btn_group .btn {
|
|
float: left;
|
|
color: #333;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
height: 100%;
|
|
line-height: 24px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
#mac .btn_group .btn:hover {
|
|
color: white;
|
|
background-color: rgba(49, 156, 241, 0.71);
|
|
cursor: pointer;
|
|
}
|
|
|
|
#mac_btn_group_left {
|
|
float: left;
|
|
overflow: auto;
|
|
max-width: 200px;
|
|
padding-left: 0.5%;
|
|
}
|
|
|
|
#mac_btn_group_middle {
|
|
overflow: auto;
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
#mac_btn_group_middle .btn_title {
|
|
/* width: 100%; */
|
|
display: inline-block;
|
|
padding: 0 4px;
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
text-overflow: clip;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#mac_btn_group_middle::-webkit-scrollbar {
|
|
width: 2px;
|
|
}
|
|
|
|
#mac_btn_group_middle::-webkit-scrollbar-track {
|
|
background-color: #808080;
|
|
}
|
|
|
|
#mac_btn_group_middle::-webkit-scrollbar-thumb {
|
|
background-color: rgba(30, 39, 34, 0.41);
|
|
}
|
|
|
|
#mac_btn_group_right {
|
|
float: right;
|
|
max-width: 200px;
|
|
overflow: auto;
|
|
}
|
|
|
|
#mac_btn_group_left .btn, #mac_btn_group_middle .btn {
|
|
height: 100%;
|
|
width: 35px;
|
|
overflow: hidden;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#mac_btn_group_right .btn {
|
|
height: 100%;
|
|
min-width: 4px;
|
|
padding: 0 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#mac_btn_show_desktop {
|
|
border-left: grey 1px solid;
|
|
width: 4px;
|
|
margin-left: 3px;
|
|
padding: 0 !important
|
|
}
|
|
|
|
#mac_btn_time {
|
|
font-size: 14px;
|
|
/*line-height: 30px !important */
|
|
}
|
|
|
|
#mac-menu {
|
|
position: fixed;
|
|
top: 24px;
|
|
left: 0.5rem;
|
|
background-color: rgba(255, 255, 255, 0.55);
|
|
box-shadow: 1px 1px 5px #909090;
|
|
-moz-box-shadow: 1px 1px 5px #909090; /*firefox*/
|
|
-webkit-box-shadow: 1px 1px 5px #909090; /*safari或chrome*/
|
|
height: auto;
|
|
width: 12rem;
|
|
max-width: 880px;
|
|
overflow: auto;
|
|
z-index: 1000;
|
|
overflow-y: hidden;
|
|
transition: bottom 0.5s;
|
|
border-radius: 0 0 3px 3px;
|
|
}
|
|
|
|
#mac-menu.hidden {
|
|
top: -70%;
|
|
}
|
|
|
|
#mac-menu .list::-webkit-scrollbar, #mac_command_center::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
#mac-menu .list::-webkit-scrollbar-track, #mac_command_center::-webkit-scrollbar-track {
|
|
background-color: rgba(74, 84, 78, 0.41);
|
|
}
|
|
|
|
#mac-menu .list::-webkit-scrollbar-thumb, #mac_command_center::-webkit-scrollbar-thumb {
|
|
background-color: #6a6a6a;
|
|
}
|
|
|
|
#mac-menu .list {
|
|
float: left;
|
|
width: 180px;
|
|
height: 100%;
|
|
overflow: auto;
|
|
-webkit-animation-duration: 0.5s;
|
|
animation-duration: 0.5s;
|
|
}
|
|
|
|
#mac-menu .list {
|
|
width: 100%;
|
|
padding: 5px 0 0;
|
|
font-size: 12px;
|
|
height: 100%;
|
|
}
|
|
|
|
#mac-menu .list .item.has-sub-down::after {
|
|
font: normal normal normal 14px/1 FontAwesome;
|
|
content: "\f107";
|
|
line-height: inherit;
|
|
float: right;
|
|
}
|
|
|
|
#mac-menu .list .item.has-sub-up::after {
|
|
font: normal normal normal 14px/1 FontAwesome;
|
|
content: "\f106";
|
|
line-height: inherit;
|
|
float: right;
|
|
}
|
|
|
|
#mac-menu .list .item, .sub-item {
|
|
color: #333;
|
|
margin: 1px 0;
|
|
line-height: 2em;
|
|
padding: 0 10px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
transition: background-color 0.3s;
|
|
position: relative;
|
|
width: calc(100% - 20px);
|
|
}
|
|
|
|
#mac-menu .list .item > .icon, #mac-menu .list .sub-item > .icon, .sub-item > .icon {
|
|
line-height: 2em;
|
|
font-size: 1.2em;
|
|
float: left;
|
|
margin-right: 0.5em;
|
|
/*width: 36px;*/
|
|
position: relative;
|
|
/*top:2px;*/
|
|
|
|
}
|
|
|
|
#mac-menu .list .sub-item {
|
|
padding-left: 30px;
|
|
width: calc(100% - 40px);
|
|
}
|
|
|
|
#mac-menu .list .item:hover, .sub-item:hover {
|
|
background-color: rgba(49, 156, 241, 0.71);
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
#mac-menu-switcher {
|
|
position: absolute;
|
|
height: 100%;
|
|
border-left: 1px solid grey;
|
|
top: 0;
|
|
right: 0;
|
|
display: none;
|
|
width: 30px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#mac-menu-switcher:active {
|
|
background-color: rgba(92, 109, 92, 0.81);
|
|
}
|
|
|
|
#mac-menu .menu_group {
|
|
float: left;
|
|
width: 300px;
|
|
color: white;
|
|
position: relative;
|
|
overflow: hidden;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#mac-menu .menu_group .title {
|
|
padding: 12px 5px 5px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
#mac-menu .menu_group:hover .title::after {
|
|
font: normal normal normal 14px/1 FontAwesome;
|
|
content: "\f0c9";
|
|
line-height: inherit;
|
|
float: right;
|
|
margin-right: 17px;
|
|
color: grey;
|
|
}
|
|
|
|
#mac-shortcuts {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
#mac-shortcuts .shortcuts-hidden .shortcut {
|
|
display: none
|
|
}
|
|
|
|
#mac-shortcuts .shortcut {
|
|
width: 80px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
position: absolute;
|
|
transition: all 0.5s;
|
|
}
|
|
|
|
#mac-shortcuts .shortcut:hover {
|
|
background-color: rgba(255, 255, 255, 0.11);
|
|
}
|
|
|
|
#mac .shortcut > .icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
overflow: hidden;
|
|
color: white;
|
|
box-sizing: border-box;
|
|
margin: 5px auto;
|
|
text-align: center;
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
border-radius: 5px;
|
|
display: block;
|
|
font-size: 37px;
|
|
line-height: 50px;
|
|
}
|
|
|
|
#mac .shortcut .title {
|
|
color: white;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
line-height: 18px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#mac_command_center {
|
|
position: fixed;
|
|
right: 0;
|
|
top: 25px;
|
|
width: 300px;
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
/* -webkit-box-shadow: 0 0.3125rem 0.3125rem -0.3125rem rgba(0,0,0,0.117); */
|
|
-moz-box-shadow: 0 0.3125rem 0.3125rem -0.3125rem rgba(0, 0, 0, 0.117);
|
|
box-shadow: 0 0.3125rem 0.3125rem -0.3125rem rgba(0, 0, 0, 0.117);
|
|
height: calc(100% - 25px);
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
color: #333;
|
|
box-sizing: border-box;
|
|
z-index: 1000;
|
|
}
|
|
|
|
#mac_command_center.hidden_right {
|
|
right: -300px;
|
|
}
|
|
|
|
#mac_command_center > .title {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
padding-left: 10px;
|
|
transition: background-color 0.5s;
|
|
}
|
|
|
|
#mac_command_center > .title:hover {
|
|
background-color: rgba(255, 255, 255, 0.19);
|
|
}
|
|
|
|
|
|
#mac_command_center .command-header {
|
|
height: 50px;
|
|
text-align: center;
|
|
border-bottom: 1px outset;
|
|
}
|
|
|
|
#mac_command_center .command-header .item {
|
|
width: 45%;
|
|
height: 20px;
|
|
margin: 15px 0;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
color: #eaeaea;
|
|
background-color: rgba(121, 121, 121, 0.5);
|
|
}
|
|
|
|
#mac_command_center .command-header div {
|
|
width: 45%;
|
|
height: 20px;
|
|
margin: 15px 0;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
color: #eaeaea;
|
|
background-color: rgba(121, 121, 121, 0.5);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#mac_command_center .command-header div:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#mac_command_center .command-header div.active {
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
color: #000;
|
|
}
|
|
|
|
#mac_command_center .command-body {
|
|
position: relative;
|
|
height: calc(100% - 70px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#mac_command_center .command-body .command-body-calendar {
|
|
margin: 15px 0;
|
|
}
|
|
|
|
#mac_command_center .command-body .command-body-calendar .command-body-calendar-date {
|
|
padding: 0 33px;
|
|
color: #585858;
|
|
}
|
|
|
|
#mac_command_center .command-body .command-body-calendar .normal-date {
|
|
font-size: 30px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice {
|
|
width: 100%;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .notice-header {
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
height: 25px;
|
|
border-radius: 5px 5px 0 0;
|
|
line-height: 25px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice-header-icon {
|
|
margin: 2px 5px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice-header-icon > img {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice-header-title {
|
|
font-size: 10px;
|
|
margin: 0 5px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .notice-body {
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
border-radius: 0 0 5px 5px;
|
|
}
|
|
|
|
|
|
#mac_command_center .command-body .notice .weather-item {
|
|
height: 50px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .weather-item div {
|
|
display: inline-block;
|
|
text-align: center;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .weather-city {
|
|
float: left;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .weather-city .weather-city-time {
|
|
display: block;
|
|
font-size: 10px;
|
|
font-weight: 400;
|
|
text-align: left;
|
|
margin: 5px 0 2px 10px;
|
|
color: #868585;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .weather-city .weather-city-text {
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
display: block;
|
|
text-align: left;
|
|
margin: 0 0 5px 10px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .weather-type {
|
|
position: absolute;
|
|
right: 70px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .weather-type img {
|
|
width: 30px;
|
|
margin: 5px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .weather-temperature {
|
|
float: right;
|
|
font-size: 35px;
|
|
font-weight: 200;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .notice-header, .notice .notice-body {
|
|
width: 95%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .notice-header .notice-header-icon img {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
#mac_btn_group_right #mac_btn_command {
|
|
font-size: 14px;
|
|
}
|
|
|
|
#mac_btn_command .msgNof {
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 20px;
|
|
border: 1px solid red;
|
|
background-color: red;
|
|
color: white;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
#mac_btn_command_center_clean_all {
|
|
color: #777;
|
|
text-align: right;
|
|
font-size: 12px;
|
|
float: right;
|
|
margin-top: 40px;
|
|
margin-right: 24px;
|
|
transition: color 0.5s;
|
|
}
|
|
|
|
#mac_btn_command_center_clean_all:hover {
|
|
cursor: pointer;
|
|
color: #333;
|
|
}
|
|
|
|
#mac_command_center .msgs {
|
|
position: absolute;
|
|
top: 60px;
|
|
left: 0;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
display: none;
|
|
/*padding: 10px;*/
|
|
}
|
|
|
|
#mac_command_center .btn_close_msg {
|
|
line-height: inherit;
|
|
transition: color 0.5s;
|
|
}
|
|
|
|
#mac_command_center .msgs .msg {
|
|
width: calc(100% - 20px);
|
|
min-height: 40px;
|
|
padding: 10px;
|
|
transition: background-color 0.5s;
|
|
position: relative;
|
|
}
|
|
|
|
#mac_command_center .msgs .msg.animated {
|
|
-webkit-animation-duration: 0.5s;
|
|
animation-duration: 0.5s;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice:hover .notice-body {
|
|
color: #333;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice:hover > .notice-header .btn_close_msg {
|
|
color: grey;
|
|
}
|
|
|
|
#mac_command_center .msgs .msg > .title {
|
|
font-size: 14px;
|
|
line-height: 28px;
|
|
}
|
|
|
|
#mac_command_center .command-body .notice .notice-header > .btn_close_msg {
|
|
cursor: pointer;
|
|
color: transparent;
|
|
margin-right: 8px;
|
|
font-size: 15px;
|
|
display: block;
|
|
float: right;
|
|
}
|
|
|
|
#mac_command_center .msgs .msg > .btn_close_msg:hover {
|
|
color: white;
|
|
}
|
|
|
|
#mac_command_center .msgs .msg > .content {
|
|
font-size: 12px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
#mac_btn_group_middle .btn.active {
|
|
background: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
#mac_btn_group_middle .btn:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mac-open-iframe {
|
|
/*繁华年间许你一世安宁提供*/
|
|
background-color: transparent;
|
|
border: #f0f6f6 solid 1px;
|
|
-webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.8);
|
|
-moz-box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.8);
|
|
box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.8);
|
|
border-radius: 6px !important;
|
|
-webkit-border-radius: 6px !important;
|
|
-moz-border-radius: 6px !important;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-content {
|
|
background-color: white;
|
|
max-height: calc(100% - 24px);
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-title {
|
|
box-sizing: border-box;
|
|
background: rgba(250, 250, 250, 0.9);
|
|
padding-left: 120px;
|
|
border-radius: 4px 4px 0 0;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
|
|
.mac-open-iframe.hide {
|
|
display: none;
|
|
}
|
|
|
|
.mac-btn_refresh {
|
|
float: right;
|
|
}
|
|
|
|
#mac .img-loader {
|
|
display: none;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-min cite {
|
|
display: none;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-max:hover {
|
|
background-image: none
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-max, .layui-layer-maxmin {
|
|
background: none
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-setwin a::before {
|
|
display: inline-block;
|
|
width: 0.9rem;
|
|
height: 0.9rem;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-setwin a.layui-layer-close1:hover::before {
|
|
content: "\f057";
|
|
color: #FF6057;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-min::before {
|
|
content: "\f111";
|
|
color: #28CA40;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-min:hover::before {
|
|
content: "\f056";
|
|
color: #28CA40;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-max::before {
|
|
content: "\f111";
|
|
color: #FFBD2E;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-max:hover::before {
|
|
content: "\f055";
|
|
color: #FFBD2E;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-maxmin.layui-layer-max::before {
|
|
content: "\f111";
|
|
color: #FFBD2E;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-maxmin.layui-layer-max:hover::before {
|
|
content: "\f055";
|
|
color: #FFBD2E;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-close::before {
|
|
content: "\f111";
|
|
color: #FF6057;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
/*
|
|
.mac-open-iframe .layui-layer-setwin .layui-layer-max::before{
|
|
background-color: #FFBD2E;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-min::before{
|
|
background-color: #28CA40;
|
|
}
|
|
|
|
.mac-open-iframe .mac-btn-refresh::before{
|
|
background-color: #029FFF;
|
|
}
|
|
|
|
.layui-layer-setwin .layui-layer-close1::hover{
|
|
content: "xxx";
|
|
background-color: #fd6458;
|
|
}
|
|
|
|
*/
|
|
|
|
.mac-open-iframe .layui-layer-min, .layui-layer-close, .layui-layer-max {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mac-btn-refresh, .mac-btn-change-url, .mac-btn-refresh:hover, .mac-btn-change-url:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mac-open-iframe .mac-btn-refresh::before, .mac-btn-change-url::before {
|
|
content: "\f111";
|
|
color: #029FFF;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
.mac-open-iframe .mac-btn-refresh:hover::before, .mac-btn-change-url:hover::before {
|
|
content: "\f192";
|
|
color: #029FFF;
|
|
font: normal normal normal 0.9rem/1 FontAwesome;
|
|
}
|
|
|
|
/*右键菜单*/
|
|
#mac .mac-context-menu {
|
|
left: 0;
|
|
top: 0;
|
|
position: fixed;
|
|
width: 150px;
|
|
height: auto;
|
|
background-color: rgba(255, 255, 255, 0.45);
|
|
display: block;
|
|
border-radius: 5px;
|
|
z-index: 99999999;
|
|
}
|
|
|
|
#mac .mac-context-menu ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#mac .mac-context-menu ul li {
|
|
transition: background-color 0.5s;
|
|
cursor: default;
|
|
padding: 0 1em;
|
|
list-style: none;
|
|
line-height: 25px;
|
|
height: 25px;
|
|
margin: 3px 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
#mac .mac-context-menu ul li:hover {
|
|
background-color: rgba(49, 156, 241, 0.71);
|
|
cursor: pointer;
|
|
}
|
|
|
|
#mac .mac-context-menu ul li a {
|
|
text-decoration: none;
|
|
display: block;
|
|
height: 100%;
|
|
color: #333;
|
|
outline: none;
|
|
}
|
|
|
|
#mac .mac-context-menu ul hr {
|
|
margin: 0;
|
|
height: 0;
|
|
border: 0;
|
|
border-bottom: rgba(121, 121, 121, 0.24) 1px solid;
|
|
border-top: none
|
|
}
|
|
|
|
/*块级按钮*/
|
|
.mac-open-iframe .layui-layer-ico {
|
|
background-image: none;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-setwin {
|
|
width: 150px; /*需要定义长度避免影响拖动 多预留一个button位置*/
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
font-size: 0;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-setwin a {
|
|
position: relative;
|
|
width: 30px;
|
|
height: 30px;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-title {
|
|
line-height: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-title .icon, #mac_btn_group_middle .btn_title .icon {
|
|
font-size: 15px;
|
|
padding: 1px;
|
|
width: 20px;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
display: inline-block;
|
|
border-radius: 3px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-title img.icon, #mac_btn_group_middle .btn_title img.icon {
|
|
width: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-title img.icon {
|
|
top: 5px;
|
|
}
|
|
|
|
#mac-menu > .list > .sub-item img.icon, #mac-menu > .list > .item img.icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
position: relative;
|
|
top: 2px;
|
|
}
|
|
|
|
/*桌面舞台样式*/
|
|
#mac-desktop-scene {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 0;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/*--------------尾部--------------------*/
|
|
|
|
.dock {
|
|
width: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
height: 60px;
|
|
text-align: center;
|
|
z-index: 1003;
|
|
}
|
|
|
|
.dock-container {
|
|
height: 100%;
|
|
display:flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
justify-content: center;
|
|
align-content: stretch;
|
|
align-items: stretch;
|
|
border-radius: 5px 5px 0 0;
|
|
background-color: rgba(255, 255, 255, 0.45); /* IE9、标准浏览器、IE6和部分IE7内核的浏览器(如QQ浏览器)会读懂 */
|
|
padding: 0 5px;
|
|
margin: 0 auto;
|
|
position:absolute;
|
|
}
|
|
|
|
.dock a.dock-item {
|
|
width: 100%;
|
|
align-self: auto;
|
|
flex-basis: auto;
|
|
flex-grow: 0;
|
|
flex-shrink: 1;
|
|
color: #fff;
|
|
font: bold 12px Arial, Helvetica, sans-serif;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
bottom: 0;
|
|
position: absolute;
|
|
}
|
|
|
|
.dock-item span {
|
|
display: none;
|
|
padding: 3px 0;
|
|
border-radius: 5px;
|
|
background-color: rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.dock-item img {
|
|
border: none;
|
|
margin: 0 5px;
|
|
width: 100%;
|
|
}
|
|
|
|
#launchpad {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
display: block;
|
|
top: 0;
|
|
z-index: 1001;
|
|
}
|
|
|
|
#launchpad.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#launchpad .app-serach-box {
|
|
position: relative;
|
|
margin: 3vh auto 20px;
|
|
height: 1.75rem;
|
|
width: 16rem;
|
|
background-color: transparent;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.search .serach-box {
|
|
position: relative;
|
|
}
|
|
|
|
.search label {
|
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAMAAAAolt3jAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAALFQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////t5hynAAAADt0Uk5TABqT4f/1u0487ui5zf6bARv6agInexLmEOPqeVS+THTz02JntjPAKkLZHoS18pFzyhXnq9wEW1Ecxze6XPngAAAAhUlEQVR4nE2MWRKCUAwEAw4C+hAEcVcEdxH3/f4HMxCknI+e6lQSItL0Goy6SRLLRqOpHLTc3Dy77QdEHYUwVx1+sdTtGX2uwTCQoxHGTEzKH1NEzFlcaoI5c4Gl6Apr5gbbHZebYl9MU2SH5HgC4rMcXQA419vP79bjqdGrcgn7m/5dfb4TpgmCJFVbRAAAAABJRU5ErkJggg==) no-repeat 0 50%;
|
|
color: #fff;
|
|
left: 50%;
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
top: 50%;
|
|
transition: left .4s, transform .4s;
|
|
padding-left: 1.25em;
|
|
}
|
|
|
|
.search .input-search {
|
|
-webkit-appearance: textfield;
|
|
background-color: rgba(229, 231, 235, 0.2);
|
|
border-radius: .25em;
|
|
border-color: rgba(229, 231, 235, 0.3);
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
display: block;
|
|
padding: .5em 1.75em;
|
|
width: 100%;
|
|
outline: none; /*点击之后。不出现边框*/
|
|
}
|
|
|
|
.search .input-search:focus + label,
|
|
.search .input-search:valid + label {
|
|
left: .5em;
|
|
transform: translate(0, -50%);
|
|
}
|
|
|
|
.search .input-search:valid + label {
|
|
text-indent: -9999px;
|
|
}
|
|
|
|
.search .input-search :before, :after {
|
|
box-sizing: border-box;
|
|
border-width: 0;
|
|
border-style: solid;
|
|
border-color: #ebe6e5;
|
|
}
|
|
|
|
.search .input-search, .search .input-search:hover {
|
|
--un-text-opacity: 1;
|
|
color: rgba(255, 255, 255, var(--un-text-opacity));
|
|
}
|
|
|
|
#launchpad .app-shortcuts {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-start;
|
|
align-content: stretch;
|
|
align-items: flex-start;
|
|
position: fixed;
|
|
width: calc(100% - 90px);
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
padding: 0 45px;
|
|
}
|
|
|
|
#launchpad .shortcut {
|
|
width: 75px;
|
|
height: 75px;
|
|
order: 1;
|
|
align-self: auto;
|
|
flex-basis: auto;
|
|
flex-grow: 0;
|
|
padding: 0.625rem;
|
|
flex-shrink: 1;
|
|
}
|
|
|
|
/*各种颜色 具体效果见 https://www.kancloud.cn/qq85569256/xzui/350010*/
|
|
.mac-open-iframe .black-green, #mac .black-green {
|
|
background: #009688 !important;
|
|
}
|
|
|
|
.mac-open-iframe .green, #mac .green {
|
|
background: #5FB878 !important;
|
|
}
|
|
|
|
.mac-open-iframe .black, #mac .black {
|
|
background: #393D49 !important;
|
|
}
|
|
|
|
.mac-open-iframe .blue, #mac .blue {
|
|
background: #1E9FFF !important;
|
|
}
|
|
|
|
.mac-open-iframe .orange, #mac .orange {
|
|
background: #F7B824 !important;
|
|
}
|
|
|
|
.mac-open-iframe .red, #mac .red {
|
|
background: #FF5722 !important;
|
|
}
|
|
|
|
.mac-open-iframe .dark, #mac .dark {
|
|
background: #2F4056 !important;
|
|
}
|
|
|
|
.mac-open-iframe .purple, #mac .purple {
|
|
background: #b074e6 !important;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
#mac-menu {
|
|
width: 100%;
|
|
top: 24px;
|
|
left: 0;
|
|
height: calc(100% - 25px);
|
|
border-radius: 0 0 2px 2px;
|
|
}
|
|
|
|
#mac-menu.hidden {
|
|
top: calc(-100% + 25px);
|
|
}
|
|
|
|
#mac_command_center {
|
|
top: 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
#mac_command_center.hidden_right {
|
|
right: -100%;
|
|
}
|
|
|
|
.layui-layer-setwin .layui-layer-max {
|
|
display: none;
|
|
}
|
|
|
|
#mac_btn_group_left .btn {
|
|
height: 100%;
|
|
width: 40px;
|
|
overflow: hidden;
|
|
font-size: 16px;
|
|
}
|
|
|
|
#mac_btn_group_right .btn {
|
|
height: 100%;
|
|
min-width: 4px;
|
|
padding: 0 10px;
|
|
font-size: 16px !important;
|
|
}
|
|
|
|
#mac_btn_show_desktop {
|
|
border-left: grey 1px solid;
|
|
width: 15px;
|
|
margin-left: 3px;
|
|
padding: 0 !important
|
|
}
|
|
|
|
#mac_btn_group_left {
|
|
max-width: 100px;
|
|
}
|
|
|
|
#mac_btn_group_middle {
|
|
width: calc(100% - 160px);
|
|
}
|
|
|
|
#mac_btn_group_right {
|
|
max-width: 150px;
|
|
}
|
|
|
|
#mac-menu .list {
|
|
position: absolute;
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
|
|
}
|
|
|
|
#mac-menu .menu_group {
|
|
width: 90%;
|
|
float: none;
|
|
margin: 0 auto;
|
|
clear: both;
|
|
}
|
|
|
|
#mac-menu .list .item, .sub-item {
|
|
width: calc(100% - 20px);
|
|
}
|
|
|
|
#mac_btn_time {
|
|
display: none
|
|
}
|
|
|
|
#mac-menu-switcher {
|
|
display: none;
|
|
}
|
|
|
|
#mac-menu > .mac-menu-hidden {
|
|
display: block;
|
|
}
|
|
|
|
#mac_btn_group_middle .btn_close {
|
|
display: none;
|
|
}
|
|
|
|
.mac-open-iframe .layui-layer-setwin a {
|
|
width: 32px;
|
|
}
|
|
|
|
#dock {
|
|
width: 100%;
|
|
height: 60px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
#dock .dock-container {
|
|
width: 100% !important;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
left:0 !important;
|
|
}
|
|
|
|
#dock a.dock-item {
|
|
width: 100%;
|
|
float: left;
|
|
position: static;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
#dock .dock-item img {
|
|
margin: 0;
|
|
width: 90%;
|
|
}
|
|
|
|
}
|