@ttk/component
Version:
ttk组件库
228 lines (227 loc) • 6.06 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.mk-shortCut {
font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
padding: 4px;
}
.mk-shortCut ul,
.mk-shortCut li {
list-style: none;
margin: 0;
padding: 0;
}
.mk-shortCut .container {
width: 390px;
font-size: 40px;
height: auto;
overflow: hidden;
}
.mk-shortCut .container .key_container {
width: 100%;
height: auto;
overflow: hidden;
background: #fff;
padding: 0.04em;
}
.mk-shortCut .container .key_container .key_container_left {
width: 65%;
float: left;
}
.mk-shortCut .container .key_container .key_container_left ul {
width: 100%;
height: 0.4em;
display: flex;
margin: 0.05em 0;
}
.mk-shortCut .container .key_container .key_container_left ul li {
width: 0.4em;
height: 0.4em;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
margin: 0 0.05em 0.05em 0;
border: 1px solid #d9d9d9;
background: #fff;
border-radius: 3px;
}
.mk-shortCut .container .key_container .key_container_left ul li span {
font-size: 15px;
transform: scale(0.7, 0.7);
}
.mk-shortCut .container .key_container .key_container_left ul .show {
background: #ececec;
}
.mk-shortCut .container .key_container .key_container_left ul .active {
color: #fff;
background: #0066B3;
}
.mk-shortCut .container .key_container .key_container_left ul .Esc {
width: 0.6em;
margin-right: 0.3em;
}
.mk-shortCut .container .key_container .key_container_left ul .backspaces {
width: 0.84em;
}
.mk-shortCut .container .key_container .key_container_left ul .Tab {
width: 0.72em;
}
.mk-shortCut .container .key_container .key_container_left ul .Caps {
width: 0.82em;
}
.mk-shortCut .container .key_container .key_container_left ul .Enter {
width: 0.79em;
}
.mk-shortCut .container .key_container .key_container_left ul .Shift {
width: 0.97em;
}
.mk-shortCut .container .key_container .key_container_left ul .Ctrl {
width: 0.52em;
}
.mk-shortCut .container .key_container .key_container_left ul .win {
width: 0.52em;
}
.mk-shortCut .container .key_container .key_container_left ul .Alt {
width: 0.52em;
}
.mk-shortCut .container .key_container .key_container_left ul .Prt {
width: 0.5em;
}
.mk-shortCut .container .key_container .key_container_left ul .Ctrl_right {
width: 0.54em;
}
.mk-shortCut .container .key_container .key_container_left ul .Space {
width: 2.32em;
}
.mk-shortCut .container .key_container .key_container_center {
width: 16%;
float: left;
}
.mk-shortCut .container .key_container .key_container_center .center_top4 {
margin-top: 0.49em;
text-align: center;
}
.mk-shortCut .container .key_container .key_container_center .center_top4 li {
margin-left: 0.5em;
}
.mk-shortCut .container .key_container .key_container_center ul {
width: 100%;
height: 0.4em;
display: flex;
margin: 0.05em 0;
}
.mk-shortCut .container .key_container .key_container_center ul li {
width: 0.4em;
height: 0.4em;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
margin: 0 0.05em 0.05em 0;
border: 1px solid #d9d9d9;
background: #fff;
border-radius: 3px;
}
.mk-shortCut .container .key_container .key_container_center ul li span {
font-size: 15px;
transform: scale(0.7, 0.7);
}
.mk-shortCut .container .key_container .key_container_center ul li .show {
background: #ececec;
}
.mk-shortCut .container .key_container .key_container_center ul .active {
background: #0066B3;
}
.mk-shortCut .container .key_container .key_container_center ul .active span {
color: #fff;
}
.mk-shortCut .container .key_container .key_container_right {
width: 19%;
float: left;
}
.mk-shortCut .container .key_container .key_container_right .right_top1 li {
background: rgba(0, 0, 0, 0);
border: none;
}
.mk-shortCut .container .key_container .key_container_right .right_top3 {
position: relative;
}
.mk-shortCut .container .key_container .key_container_right .right_top3 .jia {
width: 0.4em;
height: 0.85em;
position: absolute;
right: 0.04em;
}
.mk-shortCut .container .key_container .key_container_right .right_top5 {
position: relative;
}
.mk-shortCut .container .key_container .key_container_right .right_top5 .Enter {
width: 0.4em;
height: 0.85em;
position: absolute;
right: 0.04em;
}
.mk-shortCut .container .key_container .key_container_right .right_0 {
width: 0.9em;
}
.mk-shortCut .container .key_container .key_container_right ul {
width: 100%;
height: 0.4em;
display: flex;
margin: 0.05em 0;
}
.mk-shortCut .container .key_container .key_container_right ul li {
width: 0.4em;
height: 0.4em;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
margin: 0 0.05em 0.05em 0;
border: 1px solid #d9d9d9;
background: #fff;
border-radius: 3px;
}
.mk-shortCut .container .key_container .key_container_right ul li span {
font-size: 15px;
transform: scale(0.7, 0.7);
}
.mk-shortCut .container .key_container .key_container_right ul li .show {
background: #ececec;
}
.mk-shortCut .container .key_container .key_container_right ul .active {
background: #0066B3;
}
.mk-shortCut .container .key_container .key_container_right ul .active span {
color: #fff;
}
.mk-shortCut .container .short-list {
margin-top: 7px;
border-top: 1px solid #d9d9d9;
}
.mk-shortCut .container .short-list ul {
width: 100%;
height: auto;
overflow: hidden;
}
.mk-shortCut .container .short-list ul li {
width: 100%;
height: auto;
overflow: hidden;
text-indent: 0.2em;
}
.mk-shortCut .container .short-list ul li div {
width: 50%;
float: left;
line-height: 26px;
display: flex;
align-items: center;
}
.mk-shortCut .container .short-list ul li span {
font-size: 13px;
}
.mk-shortCut .container .short-list ul li.active div {
color: #0066B3;
}