This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
appcat
/
sonist
Archived
1
0
Fork 0
sonist/css/desktop-lrc.scss

51 lines
1.1 KiB
SCSS
Raw Normal View History

2019-01-17 22:06:07 +08:00
@charset "UTF-8";
/**
*
* @authors yutent<yutent@doui.cc>
* @date 2019/01/17 19:41:52
*/
@import "./var.scss";
.do-fn-drag {-webkit-app-region:drag;user-select: none;}
.do-fn-nodrag {-webkit-app-region:no-drag;}
html {font-size:62.5%}
body {position:fixed;left:0;top:0;display:flex;width:100%;height:100%;line-height:1.5;background:transparent;font-size:1.4rem;color:nth($cd, 1);
.lrc-box {position:absolute;left:0;top:0;display:flex;flex-flow:column wrap;width:100%;height:100%;padding:0 5rem;line-height:5rem;color:#fff;font-size:3rem;
section {flex:1;display:flex;
&.left {justify-content:flex-start;}
&.right {justify-content:flex-end}
span {background-clip:text!important;color:transparent;
&.shadow {text-shadow:0 0 .5rem rgba(0, 0, 0, .5);}
}
}
}
.quit,
.lock {visibility:hidden;position:absolute;z-index:9;right:1rem;top:.5rem;font-size:1.8rem;font-weight:bold;
&:hover {color:nth($cr, 1)}
}
.lock {right:4rem;
&.actived {color:nth($cp, 3)}
}
&:hover {background:rgba(29, 35, 44, 0.2);
.quit, .lock {visibility:visible;}
}
}