kitematic/styles/mixins.less

38 строки
830 B
Plaintext

.traffic-light() {
box-sizing: border-box;
display: inline-block;
background: white;
margin-right: 9px;
height: 12px;
width: 12px;
border: 1px solid @traffic-light-gray-border;
border-radius: 6px;
box-shadow: 0px 1px 1px 0px rgba(234,234,234,0.50);
-webkit-app-region: no-drag;
&.enabled:hover {
box-shadow: 0px 1px 1px 0px rgba(195,198,201,0.50);
}
&.enabled:hover:active {
cursor: default;
-webkit-filter: brightness(92%);
}
}
.brand-gradient() {
background-image: linear-gradient(-180deg, #24B8EB 4%, #24A3EB 100%);
}
.widget-style() {
border-radius: 4px;
border: 1px solid @gray-lighter;
position: relative;
overflow: hidden;
}
.fade-in() {
opacity: 0;
-webkit-animation: fadein ease-in 1;
-webkit-animation-fill-mode: forwards;
-webkit-animation-duration: 0.2s;
}