mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 04:24:45 -04:00
Clean styles.
This commit is contained in:
parent
0a4fd4ee2c
commit
336e9ac0bd
23 changed files with 96 additions and 94 deletions
|
@ -1,6 +1,6 @@
|
||||||
@col-blue-400: #42a5f5;
|
|
||||||
@col-green-500: #4caf50;
|
|
||||||
@col-red-500: #f44336;
|
@col-red-500: #f44336;
|
||||||
|
@col-green-500: #4caf50;
|
||||||
|
@col-blue-400: #42a5f5;
|
||||||
@col-pink-a200: #ff4081;
|
@col-pink-a200: #ff4081;
|
||||||
|
|
||||||
@col-white: #ffffff;
|
@col-white: #ffffff;
|
||||||
|
@ -10,11 +10,6 @@
|
||||||
@col-grey-700: #616161;
|
@col-grey-700: #616161;
|
||||||
@col-grey-900: #212121;
|
@col-grey-900: #212121;
|
||||||
|
|
||||||
@col-light: @col-white;
|
|
||||||
@col-lightgrey: @col-grey-50;
|
|
||||||
@col-darkgrey: @col-grey-100;
|
|
||||||
@col-dark: @col-grey-900;
|
|
||||||
|
|
||||||
@col-text-primary-black: rgba(0,0,0,0.87);
|
@col-text-primary-black: rgba(0,0,0,0.87);
|
||||||
@col-text-secondary-black: rgba(0,0,0,0.54);
|
@col-text-secondary-black: rgba(0,0,0,0.54);
|
||||||
@col-text-disabled-black: rgba(0,0,0,0.26);
|
@col-text-disabled-black: rgba(0,0,0,0.26);
|
||||||
|
@ -28,15 +23,15 @@
|
||||||
@col-text-selected: @col-text-primary-white;
|
@col-text-selected: @col-text-primary-white;
|
||||||
@col-back-selected: @col-blue-400;
|
@col-back-selected: @col-blue-400;
|
||||||
|
|
||||||
@col-font-light: @col-light;
|
@col-text-native-selection: @col-text-primary-white;
|
||||||
@col-font-dark: @col-dark;
|
@col-back-native-selection: @col-pink-a200;
|
||||||
|
|
||||||
@col-back-light: @col-lightgrey;
|
@col-text: @col-text-primary-black;
|
||||||
@col-back-dark: @col-darkgrey;
|
@col-back: @col-grey-100;
|
||||||
|
@col-back-paper: @col-white;
|
||||||
@col: @col-text-primary-black;
|
@col-back-panel: @col-grey-50;
|
||||||
@col-back: @col-back-dark;
|
@col-text-hover: @col-blue-400;
|
||||||
@col-hover: @col-blue-400;
|
@col-back-hover: rgba(0,0,0,0.03);
|
||||||
@col-border: rgba(0,0,0,0.05);
|
@col-border: rgba(0,0,0,0.05);
|
||||||
@col-border-strong: rgba(0,0,0,0.15);
|
@col-border-strong: rgba(0,0,0,0.15);
|
||||||
@col-border-stronger: rgba(0,0,0,0.3);
|
@col-border-stronger: rgba(0,0,0,0.3);
|
||||||
|
@ -45,6 +40,7 @@
|
||||||
@col-error: @col-red-500;
|
@col-error: @col-red-500;
|
||||||
|
|
||||||
@col-link: @col-blue-400;
|
@col-link: @col-blue-400;
|
||||||
|
@col-link-hover: @col-grey-900;
|
||||||
|
|
||||||
@col-range-back: @col-grey-300;
|
@col-range-back: @col-grey-300;
|
||||||
@col-range-thumb: @col-grey-700;
|
@col-range-thumb: @col-grey-700;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.fb-i {
|
.fb-i {
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 0 8px 0 rgba(0,0,0,0.2);
|
box-shadow: 0 0 8px 0 rgba(0,0,0,0.2);
|
||||||
text-align: right;
|
text-align: right;
|
||||||
background: @col-lightgrey;
|
background: @col-back-panel;
|
||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ html.no-js, html.no-browser {
|
||||||
|
|
||||||
#root {
|
#root {
|
||||||
position: static;
|
position: static;
|
||||||
background: #fff;
|
background: @col-back-paper;
|
||||||
}
|
}
|
||||||
|
|
||||||
#fallback, #fallback-hints {
|
#fallback, #fallback-hints {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
margin-left: -100px;
|
margin-left: -100px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
padding: 3px 6px 6px 6px;
|
padding: 3px 6px 6px 6px;
|
||||||
color: @col-light;
|
color: @col-text-primary-white;
|
||||||
background: rgba(0,0,0,0.2);
|
background: rgba(0,0,0,0.2);
|
||||||
border-radius: 0 0 4px 4px;
|
border-radius: 0 0 4px 4px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-family: @font-family-mono;
|
font-family: @font-family-mono;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
background: @col-lightgrey;
|
background: @col-back-panel;
|
||||||
border: 1px solid @col-border;
|
border: 1px solid @col-border;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
transition: all 0.2s ease-in-out;
|
transition: all 0.2s ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
margin: 12px auto 24px auto;
|
margin: 12px auto 24px auto;
|
||||||
padding: 6px 18px;
|
padding: 6px 18px;
|
||||||
width: 210px;
|
width: 210px;
|
||||||
background: #fafafa;
|
background: @col-back-panel;
|
||||||
border: 1px solid @col-border;
|
border: 1px solid @col-border;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#pass {
|
#pass {
|
||||||
.el-input();
|
.el-input;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#login, #logout {
|
#login, #logout {
|
||||||
.el-button();
|
.el-button;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
|
@ -77,9 +77,9 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
.test {
|
.test {
|
||||||
.card();
|
.card;
|
||||||
.rounded();
|
.rounded;
|
||||||
background: @col-light;
|
background: @col-back-paper;
|
||||||
margin: 12px 0 0 0;
|
margin: 12px 0 0 0;
|
||||||
padding: 8px 12px 12px 12px;
|
padding: 8px 12px 12px 12px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
order: 0;
|
order: 0;
|
||||||
background: #fafafa;
|
background: @col-back-panel;
|
||||||
border-right: 1px solid rgba(0,0,0,0.08);
|
border-right: 1px solid rgba(0,0,0,0.08);
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
|
||||||
|
@ -22,12 +22,12 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: @col;
|
color: @col-text;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s ease-in-out;
|
transition: all 0.2s ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(0,0,0,0.03);
|
background: @col-back-hover;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
font-family: @font-family;
|
font-family: @font-family;
|
||||||
font-size: @font-size;
|
font-size: @font-size;
|
||||||
font-weight: @font-weight;
|
font-weight: @font-weight;
|
||||||
color: @col;
|
color: @col-text;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 0 solid #000;
|
border: 0 solid #000;
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(0,0,0,0.03);
|
background: @col-back-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
align-content: flex-start;
|
align-content: flex-start;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
|
||||||
background: @col-lightgrey;
|
background: @col-back-panel;
|
||||||
box-shadow: 0 0 8px 0 rgba(0,0,0,0.2);
|
box-shadow: 0 0 8px 0 rgba(0,0,0,0.2);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(0,0,0,0.03);
|
background: @col-back-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,8 +64,8 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
background: rgba(0,0,0,0.03);
|
background: @col-back-hover;
|
||||||
}
|
}
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
margin: 16px;
|
margin: 16px;
|
||||||
|
|
||||||
#items {
|
#items {
|
||||||
.rounded();
|
.rounded;
|
||||||
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
|
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
display: list-item;
|
display: list-item;
|
||||||
background: #fafafa;
|
background: @col-back-panel;
|
||||||
border-bottom: 1px solid rgba(0,0,0,0.07);
|
border-bottom: 1px solid rgba(0,0,0,0.07);
|
||||||
border-radius: 2px 2px 0 0;
|
border-radius: 2px 2px 0 0;
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
border-bottom: 1px solid rgba(0,0,0,0.07);
|
border-bottom: 1px solid rgba(0,0,0,0.07);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.raised();
|
.raised;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
.thumb {
|
.thumb {
|
||||||
.rounded();
|
.rounded;
|
||||||
box-shadow: 0 0 1px 0 rgba(0,0,0,0.2);
|
box-shadow: 0 0 1px 0 rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,21 +20,21 @@
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
.card();
|
.card;
|
||||||
.rounded();
|
.rounded;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.raised();
|
.raised;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.square {
|
.square {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
background: #fafafa;
|
background: @col-back-panel;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
|
|
|
@ -24,20 +24,20 @@
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
.card();
|
.card;
|
||||||
.rounded();
|
.rounded;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.raised();
|
.raised;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.landscape {
|
.landscape {
|
||||||
display: block;
|
display: block;
|
||||||
background: #fafafa;
|
background: @col-back-panel;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
.item {
|
.item {
|
||||||
position: relative;
|
position: relative;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
background: #fff;
|
background: @col-back-paper;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
background: @col-lightgrey;
|
background: @col-back-panel;
|
||||||
border-color: @col-border;
|
border-color: @col-border;
|
||||||
|
|
||||||
.selector {
|
.selector {
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
|
|
||||||
.cm-panel {
|
.cm-panel {
|
||||||
.popup();
|
.popup;
|
||||||
.rounded();
|
.rounded;
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 100px;
|
left: 100px;
|
||||||
top: 100px;
|
top: 100px;
|
||||||
background: #fff;
|
background: @col-back-paper;
|
||||||
color: @col;
|
color: @col-text;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
|
@ -39,8 +39,8 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
background: @col-darkgrey;
|
background: @col-grey-100;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-icon {
|
.cm-icon {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// border-left: 1px solid rgba(0,0,0,0.05);
|
// border-left: 1px solid rgba(0,0,0,0.05);
|
||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
color: @col;
|
color: @col-text;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
}
|
}
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#content-header, #content-footer {
|
#content-header, #content-footer {
|
||||||
margin: 16px;
|
margin: 16px;
|
||||||
color: @col;
|
color: @col-text;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-dark;
|
color: @col-link-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
font-family: @font-family;
|
font-family: @font-family;
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: @col;
|
color: @col-text;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
height: 180px;
|
height: 180px;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
.rounded();
|
.rounded;
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#pv-aud-audio {
|
#pv-aud-audio {
|
||||||
|
.raised;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
|
||||||
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pv-img-image {
|
#pv-img-image {
|
||||||
|
.raised;
|
||||||
|
|
||||||
@check-white: #f8f8f8;
|
@check-white: #f8f8f8;
|
||||||
@check-black: #e8e8e8;
|
@check-black: #e8e8e8;
|
||||||
|
@ -15,8 +16,6 @@
|
||||||
background-size: 60px 60px;
|
background-size: 60px 60px;
|
||||||
background-position: 0 0, 30px 30px;
|
background-position: 0 0, 30px 30px;
|
||||||
|
|
||||||
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
|
|
||||||
|
|
||||||
&.loading {
|
&.loading {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#pv-txt-text {
|
#pv-txt-text {
|
||||||
|
.raised;
|
||||||
|
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
background: #fff;
|
background: @col-back-paper;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
|
|
||||||
|
|
||||||
&.highlighted {
|
&.highlighted {
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#pv-vid-video {
|
#pv-vid-video {
|
||||||
|
.raised;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
|
||||||
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pv-vid-video:-webkit-full-screen {
|
#pv-vid-video:-webkit-full-screen {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#pv-overlay.fullscreen {
|
#pv-overlay.fullscreen {
|
||||||
background: #111;
|
background: @col-grey-900;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pv-content {
|
#pv-content {
|
||||||
|
@ -29,7 +29,6 @@
|
||||||
height: 240px;
|
height: 240px;
|
||||||
margin: -120px -120px;
|
margin: -120px -120px;
|
||||||
border-radius: 120px;
|
border-radius: 120px;
|
||||||
background: #f00;
|
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -57,9 +56,9 @@
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
img {
|
img {
|
||||||
|
.raised;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
background: rgba(27,27,27,0.8);
|
background: rgba(27,27,27,0.8);
|
||||||
box-shadow: 0 0 8px 2px rgba(0,0,0,0.3);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -126,13 +125,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#pv-bottombar {
|
#pv-bottombar {
|
||||||
|
.raised;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: rgb(27,27,27);
|
background: rgb(27,27,27);
|
||||||
box-shadow: 0 0 8px 2px rgba(0,0,0,0.3);
|
|
||||||
height: 48px;
|
height: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: @col;
|
color: @col-text;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @col-hover;
|
color: @col-text-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,16 @@ html {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-moz-selection { background: @col-pink-a200; color: @col-text-primary-white; text-shadow: none; }
|
::-moz-selection {
|
||||||
::selection { background: @col-pink-a200; color: @col-text-primary-white; text-shadow: none; }
|
color: @col-text-native-selection;
|
||||||
|
background: @col-back-native-selection;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
::selection {
|
||||||
|
color: @col-text-native-selection;
|
||||||
|
background: @col-back-native-selection;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
*:focus {
|
*:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
.card() {
|
.card {
|
||||||
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
|
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.raised() {
|
.raised {
|
||||||
box-shadow: 0 1px 10px 0 rgba(0,0,0,0.5);
|
box-shadow: 0 1px 10px 0 rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup() {
|
.popup {
|
||||||
box-shadow: 0 1px 20px 0 rgba(0,0,0,0.5);
|
box-shadow: 0 1px 20px 0 rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.rounded() {
|
.rounded {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-button() {
|
.el-button {
|
||||||
.card();
|
.card;
|
||||||
.rounded();
|
.rounded;
|
||||||
transition: all 0.2s ease-in-out;
|
transition: all 0.2s ease-in-out;
|
||||||
color: @col-text-primary-white;
|
color: @col-text-primary-white;
|
||||||
background: @col-blue-400;
|
background: @col-blue-400;
|
||||||
|
@ -25,20 +25,20 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.raised();
|
.raised;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input() {
|
.el-input {
|
||||||
.card();
|
.card;
|
||||||
.rounded();
|
.rounded;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
-ms-appearance: none;
|
-ms-appearance: none;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
font-family: @font-family;
|
font-family: @font-family;
|
||||||
font-weight: @font-weight;
|
font-weight: @font-weight;
|
||||||
color: @col-text-primary-black;
|
color: @col-text-primary-black;
|
||||||
background: @col-light;
|
background: @col-back-paper;
|
||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue