mirror of https://github.com/1099438829/macUI.git
1398 lines
30 KiB
CSS
1398 lines
30 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;
|
||
}
|
||
|
||
/* 窗口打开主题 */
|
||
body .mac-open-iframe {
|
||
/*繁华年间许你一世安宁提供*/
|
||
background-color: transparent;
|
||
-webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.4);
|
||
-moz-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.4);
|
||
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.4);
|
||
border-radius: 6px !important;
|
||
-webkit-border-radius: 6px !important;
|
||
-moz-border-radius: 6px !important;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-content {
|
||
background-color: white;
|
||
max-height: calc(100% - 24px);
|
||
}
|
||
|
||
body .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;
|
||
}
|
||
|
||
body .mac-open-iframe.hide {
|
||
display: none;
|
||
}
|
||
|
||
body .mac-btn_refresh {
|
||
float: right;
|
||
}
|
||
|
||
.mac-open-iframe .layui-layer-ico {
|
||
background: url(../img/frame/assets.png) no-repeat;
|
||
background-size: 144px;
|
||
}
|
||
|
||
.mac-open-iframe .layui-layer-setwin {
|
||
width: 10rem; /*需要定义长度避免影响拖动 多预留一个button位置*/
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
display: -webkit-box;
|
||
display: -webkit-flex;
|
||
display: -ms-flexbox;
|
||
display: flex;
|
||
text-align: center;
|
||
-webkit-box-align: center;
|
||
-webkit-align-items: center;
|
||
-ms-flex-align: center;
|
||
align-items: center;
|
||
font-size: 0;
|
||
height: 30px;
|
||
line-height: 30px;
|
||
}
|
||
|
||
.mac-open-iframe .layui-layer-setwin a {
|
||
width: 1rem;
|
||
height: 1rem;
|
||
font-size: 13px;
|
||
overflow: hidden;
|
||
margin-left: 10px;
|
||
}
|
||
|
||
.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-open-iframe .layui-layer-min cite{display:none}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin .layui-layer-min {
|
||
background: url(../img/frame/assets.png) no-repeat -3px -26px;
|
||
background-size: 144px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin .layui-layer-min:hover {
|
||
background: url(../img/frame/assets.png) no-repeat -3px -49px;
|
||
background-size: 144px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin a.layui-layer-close {
|
||
background-position: -37px -26px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin a.layui-layer-close:hover {
|
||
background-position: -37px -49px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
|
||
body .mac-open-iframe .layui-layer-setwin .layui-layer-max {
|
||
background-position: -20px -25.5px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin .layui-layer-max:hover {
|
||
background-position: -20px -48.5px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin .layui-layer-maxmin {
|
||
background-position: -55px -25px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe.layui-layer-setwin .layui-layer-maxmin:hover {
|
||
background-position: -55px -49px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin .layui-layer-refresh {
|
||
background-position: -83px -25px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin .layui-layer-refresh:hover {
|
||
background-position: -83px -48px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe .layui-layer-setwin .layui-layer-change-url {
|
||
background-position: -55px -25px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
body .mac-open-iframe.layui-layer-setwin .layui-layer-change-url:hover {
|
||
background-position: -83px -49px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.mac-open-iframe .layui-layer-min, .layui-layer-close, .layui-layer-max,.layui-layer-refresh, .layui-layer-change-url {
|
||
text-decoration: none;
|
||
}
|
||
|
||
#mac .img-loader {
|
||
display: none;
|
||
}
|
||
|
||
/*右键菜单*/
|
||
#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: 0px;
|
||
padding: 0px;
|
||
}
|
||
|
||
#mac .mac-context-menu ul li {
|
||
transition: background-color 0.5s;
|
||
cursor: default;
|
||
padding: 0px 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: 0px;
|
||
border: 0px;
|
||
border-bottom: rgba(121, 121, 121, 0.24) 1px solid;
|
||
border-top: none
|
||
}
|
||
|
||
#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 {
|
||
height: 60px;
|
||
width: 100%;
|
||
position: fixed;
|
||
bottom: 0px;
|
||
text-align: center;
|
||
z-index: 100;
|
||
}
|
||
|
||
#dock .dock-container {
|
||
/*width: 72%; */
|
||
height: 100%;
|
||
line-height: 60px;
|
||
display: inline-block;
|
||
background-color: rgba(247, 244, 244, 0.117); /* IE9、标准浏览器、IE6和部分IE7内核的浏览器(如QQ浏览器)会读懂 */
|
||
-webkit-box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, 0.5);
|
||
-moz-box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, 0.5);
|
||
box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, 0.5);
|
||
border-radius: 5px 5px 0 0;
|
||
z-index: 100;
|
||
}
|
||
|
||
@media \0screen\,screen\9 {
|
||
/* 只支持IE6、7、8 */
|
||
#dock .dock-container {
|
||
/*width: 72%; */
|
||
height: 100%;
|
||
line-height: 60px;
|
||
background-color: #fff;
|
||
display: inline-block;
|
||
border-radius: 5px;
|
||
filter: Alpha(opacity=0.45);
|
||
position: static; /* IE6、7、8只能设置position:static(默认属性) ,否则会导致子元素继承Alpha值 */
|
||
*zoom: 1; /* 激活IE6、7的haslayout属性,让它读懂Alpha */
|
||
}
|
||
|
||
.demo ul {
|
||
position: relative; /* 设置子元素为相对定位,可让子元素不继承Alpha值 */
|
||
}
|
||
}
|
||
|
||
#dock .dock-container ul {
|
||
display: inline-block;
|
||
}
|
||
|
||
#dock .dock-container img {
|
||
z-index: 222;
|
||
width: 50px;
|
||
height: 50px;
|
||
}
|
||
|
||
#dock .dock-container ul li {
|
||
float: left;
|
||
width: 60px;
|
||
margin: 5px auto;
|
||
outline: none;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#dock .dock-container ul li.active > a:after {
|
||
content: "";
|
||
font-size: 12px;
|
||
position: fixed;
|
||
margin: 49px -27px;
|
||
/* margin: calc(50- 4/2)px calc(-50/2 - 4/2)px; */
|
||
font-weight: 200;
|
||
width: 4px;
|
||
height: 4px;
|
||
border-radius: 50%;
|
||
background: #000
|
||
}
|
||
|
||
#dock .dock-container ul li:focus {
|
||
-webkit-animation: bounce 1s;
|
||
animation: bounce 1s;
|
||
}
|
||
|
||
#dock .dock-container .dock-tips {
|
||
color: #333;
|
||
font-size: 0.5em;
|
||
font-weight: 700;
|
||
border-radius: 5px;
|
||
background: rgba(255, 255, 255, 0.5);
|
||
height: 20px;
|
||
width: 70px;
|
||
line-height: 20px;
|
||
display: none;
|
||
padding: 0 5px;
|
||
margin-top: -35px;
|
||
margin-bottom: 15px;
|
||
margin-left: -10px;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
}
|
||
|
||
#dock .dock-container .dock-tips .arrow {
|
||
opacity: 0.5;
|
||
border-left: 5px solid transparent;
|
||
border-right: 5px solid transparent;
|
||
border-top: 5px solid rgba(255, 255, 255, 0.5);
|
||
border-bottom: 5px solid transparent;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
|
||
#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;
|
||
}
|
||
|
||
#dock {
|
||
bottom: 10px;
|
||
}
|
||
/* 窗口打开主题 */
|
||
body .mac-open-iframe {
|
||
background-color: transparent;
|
||
border: none;
|
||
box-shadow: none;
|
||
}
|
||
|
||
/*#dock .dock-container{
|
||
width: 100%;
|
||
border-radius: 0px;
|
||
}*/
|
||
}
|
||
|
||
@media (min-width: 1281px) {
|
||
}
|
||
|
||
/*
|
||
##笔记本或PC
|
||
##1025px - 1280px
|
||
*/
|
||
|
||
@media (min-width: 1025px) and (max-width: 1280px) {
|
||
}
|
||
|
||
/*
|
||
##平板电脑/Ipad竖屏
|
||
##768px - 1024px
|
||
*/
|
||
|
||
@media (min-width: 768px) and (max-width: 1024px) {
|
||
#dock {
|
||
bottom: 10px;
|
||
}
|
||
|
||
|
||
#dock .dock-container {
|
||
border-radius: 8px;
|
||
}
|
||
}
|
||
|
||
/*
|
||
##平板电脑或Ipad横屏
|
||
##768px - 1024px
|
||
*/
|
||
|
||
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
|
||
|
||
#dock {
|
||
bottom: 6px;
|
||
}
|
||
|
||
#dock .dock-container {
|
||
border-radius: 6px;
|
||
}
|
||
}
|
||
|
||
/*
|
||
##低分辨率的平板电脑或横屏的手机
|
||
##481px - 767px
|
||
*/
|
||
|
||
@media (min-width: 481px) and (max-width: 767px) {
|
||
#dock {
|
||
bottom: 6px;
|
||
}
|
||
|
||
#dock .dock-container {
|
||
border-radius: 6px;
|
||
-webkit-box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.8);
|
||
-moz-box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.8);
|
||
box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.8);
|
||
}
|
||
}
|
||
|
||
/*
|
||
##多数竖屏的智能手机
|
||
##320px - 479px
|
||
*/
|
||
|
||
@media screen and (max-width: 480px) {
|
||
#dock {
|
||
bottom: 0px;
|
||
}
|
||
|
||
#dock .dock-container {
|
||
width: 100%;
|
||
border-radius: 0px;
|
||
-webkit-box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.8);
|
||
-moz-box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.8);
|
||
box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.8);
|
||
}
|
||
|
||
#mac-menu .list .item, .sub-item {
|
||
width: calc(100% - 20px);
|
||
}
|
||
}
|
||
|
||
@-webkit-keyframes bounce {
|
||
0% {
|
||
-webkit-transform: translateY(0px) translateX(0.1px);
|
||
transform: translateY(0px) translateX(0.1px);
|
||
}
|
||
25% {
|
||
-webkit-transform: translateY(-40px) translateX(0.1px);
|
||
transform: translateY(-40px) translateX(0.1px);
|
||
}
|
||
50% {
|
||
-webkit-transform: translateY(0px) translateX(0.1px);
|
||
transform: translateY(0px) translateX(0.1px);
|
||
}
|
||
75% {
|
||
-webkit-transform: translateY(-20px) translateX(0.1px);
|
||
transform: translateY(-20px) translateX(0.1px);
|
||
}
|
||
100% {
|
||
-webkit-transform: translateY(0px) translateX(0.1px);
|
||
transform: translateY(0px) translateX(0.1px);
|
||
}
|
||
}
|
||
|
||
@keyframes bounce {
|
||
0% {
|
||
-webkit-transform: translateY(0px) translateX(0.1px);
|
||
transform: translateY(0px) translateX(0.1px);
|
||
}
|
||
25% {
|
||
-webkit-transform: translateY(-40px) translateX(0.1px);
|
||
transform: translateY(-40px) translateX(0.1px);
|
||
}
|
||
50% {
|
||
-webkit-transform: translateY(0px) translateX(0.1px);
|
||
transform: translateY(0px) translateX(0.1px);
|
||
}
|
||
75% {
|
||
-webkit-transform: translateY(-20px) translateX(0.1px);
|
||
transform: translateY(-20px) translateX(0.1px);
|
||
}
|
||
100% {
|
||
-webkit-transform: translateY(0px) translateX(0.1px);
|
||
transform: translateY(0px) translateX(0.1px);
|
||
}
|
||
}
|