|
@@ -210,18 +210,14 @@ export default {
|
|
this.$router.isReady().then(() => {
|
|
this.$router.isReady().then(() => {
|
|
if (this.$route.query.err) {
|
|
if (this.$route.query.err) {
|
|
let { err } = this.$route.query;
|
|
let { err } = this.$route.query;
|
|
- err = err
|
|
|
|
- .replace(new RegExp("<", "g"), "<")
|
|
|
|
- .replace(new RegExp(">", "g"), ">");
|
|
|
|
|
|
+ err = err.replace(/</g, "<").replace(/>/g, ">");
|
|
this.$router.push({ query: {} });
|
|
this.$router.push({ query: {} });
|
|
new Toast({ content: err, timeout: 20000 });
|
|
new Toast({ content: err, timeout: 20000 });
|
|
}
|
|
}
|
|
|
|
|
|
if (this.$route.query.msg) {
|
|
if (this.$route.query.msg) {
|
|
let { msg } = this.$route.query;
|
|
let { msg } = this.$route.query;
|
|
- msg = msg
|
|
|
|
- .replace(new RegExp("<", "g"), "<")
|
|
|
|
- .replace(new RegExp(">", "g"), ">");
|
|
|
|
|
|
+ msg = msg.replace(/</g, "<").replace(/>/g, ">");
|
|
this.$router.push({ query: {} });
|
|
this.$router.push({ query: {} });
|
|
new Toast({ content: msg, timeout: 20000 });
|
|
new Toast({ content: msg, timeout: 20000 });
|
|
}
|
|
}
|
|
@@ -287,7 +283,7 @@ export default {
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style lang="scss">
|
|
|
|
|
|
+<style lang="less">
|
|
@import "normalize.css/normalize.css";
|
|
@import "normalize.css/normalize.css";
|
|
@import "tippy.js/dist/tippy.css";
|
|
@import "tippy.js/dist/tippy.css";
|
|
@import "tippy.js/animations/scale.css";
|
|
@import "tippy.js/animations/scale.css";
|
|
@@ -817,15 +813,14 @@ img {
|
|
top: 50px;
|
|
top: 50px;
|
|
right: 50px;
|
|
right: 50px;
|
|
font-size: 2em;
|
|
font-size: 2em;
|
|
- border-radius: 5px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
z-index: 10000000;
|
|
z-index: 10000000;
|
|
}
|
|
}
|
|
|
|
|
|
.night-mode {
|
|
.night-mode {
|
|
.tippy-box {
|
|
.tippy-box {
|
|
border: 1px solid var(--light-grey-3);
|
|
border: 1px solid var(--light-grey-3);
|
|
- box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
|
|
|
|
- 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
|
|
|
+ box-shadow: @box-shadow-dropdown;
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
|
|
|
|
.tippy-content {
|
|
.tippy-content {
|
|
@@ -957,7 +952,7 @@ img {
|
|
font-size: 15px;
|
|
font-size: 15px;
|
|
padding: 5px 10px;
|
|
padding: 5px 10px;
|
|
border: 1px solid var(--light-grey-3);
|
|
border: 1px solid var(--light-grey-3);
|
|
- box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
|
|
|
+ box-shadow: @box-shadow-dropdown;
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
|
|
|
|
.button {
|
|
.button {
|
|
@@ -1062,7 +1057,7 @@ img {
|
|
|
|
|
|
.tippy-box[data-theme~="stationSettings"] {
|
|
.tippy-box[data-theme~="stationSettings"] {
|
|
border: 1px solid var(--light-grey-3);
|
|
border: 1px solid var(--light-grey-3);
|
|
- box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
|
|
|
+ box-shadow: @box-shadow-dropdown;
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
|
|
|
|
button:not(:last-of-type) {
|
|
button:not(:last-of-type) {
|
|
@@ -1074,7 +1069,7 @@ img {
|
|
font-size: 15px;
|
|
font-size: 15px;
|
|
padding: 0;
|
|
padding: 0;
|
|
border: 1px solid var(--light-grey-3);
|
|
border: 1px solid var(--light-grey-3);
|
|
- box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
|
|
|
+ box-shadow: @box-shadow-dropdown;
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
color: var(--dark-grey);
|
|
color: var(--dark-grey);
|
|
width: 350px;
|
|
width: 350px;
|
|
@@ -1096,7 +1091,7 @@ img {
|
|
font-size: 15.5px;
|
|
font-size: 15.5px;
|
|
min-height: 36px;
|
|
min-height: 36px;
|
|
background: var(--light-grey);
|
|
background: var(--light-grey);
|
|
- border-radius: 5px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
|
|
|
.checkbox-control {
|
|
.checkbox-control {
|
|
@@ -1196,7 +1191,7 @@ img {
|
|
font-size: 15px;
|
|
font-size: 15px;
|
|
padding: 0;
|
|
padding: 0;
|
|
border: 1px solid var(--light-grey-3);
|
|
border: 1px solid var(--light-grey-3);
|
|
- box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
|
|
|
+ box-shadow: @box-shadow-dropdown;
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
color: var(--dark-grey);
|
|
color: var(--dark-grey);
|
|
width: 100% !important;
|
|
width: 100% !important;
|
|
@@ -1222,6 +1217,16 @@ img {
|
|
.select {
|
|
.select {
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|
|
|
+ &.is-expanded {
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ &.disabled,
|
|
|
|
+ .disabled {
|
|
|
|
+ filter: grayscale(1);
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
+ }
|
|
|
|
+
|
|
&:after {
|
|
&:after {
|
|
content: " ";
|
|
content: " ";
|
|
border: 1.5px solid var(--primary-color);
|
|
border: 1.5px solid var(--primary-color);
|
|
@@ -1239,11 +1244,12 @@ img {
|
|
|
|
|
|
select {
|
|
select {
|
|
height: 36px;
|
|
height: 36px;
|
|
|
|
+ width: 100%;
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
border: 1px solid var(--light-grey-2);
|
|
border: 1px solid var(--light-grey-2);
|
|
color: var(--dark-grey-2);
|
|
color: var(--dark-grey-2);
|
|
appearance: none;
|
|
appearance: none;
|
|
- border-radius: 3px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
padding-left: 8px;
|
|
padding-left: 8px;
|
|
@@ -1263,7 +1269,7 @@ img {
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
border: 1px solid var(--light-grey-2);
|
|
border: 1px solid var(--light-grey-2);
|
|
appearance: none;
|
|
appearance: none;
|
|
- border-radius: 3px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|
@@ -1329,7 +1335,7 @@ button.delete:focus {
|
|
width: 100%;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
border-spacing: 0;
|
|
- border-radius: 5px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
|
|
|
|
thead th {
|
|
thead th {
|
|
padding: 5px 10px;
|
|
padding: 5px 10px;
|
|
@@ -1353,7 +1359,7 @@ button.delete:focus {
|
|
border: 1px solid var(--light-grey-2);
|
|
border: 1px solid var(--light-grey-2);
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
color: var(--dark-grey-2);
|
|
color: var(--dark-grey-2);
|
|
- border-radius: 3px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
align-items: center;
|
|
align-items: center;
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
@@ -1424,7 +1430,7 @@ button.delete:focus {
|
|
padding-right: 8px;
|
|
padding-right: 8px;
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
- border-radius: 3px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
|
|
box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
|
|
border: 1px solid var(--light-grey-2);
|
|
border: 1px solid var(--light-grey-2);
|
|
}
|
|
}
|
|
@@ -1479,6 +1485,34 @@ button.delete:focus {
|
|
|
|
|
|
&.is-grouped {
|
|
&.is-grouped {
|
|
display: flex;
|
|
display: flex;
|
|
|
|
+
|
|
|
|
+ & > .control {
|
|
|
|
+ &.select.is-expanded > select {
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+ & > input,
|
|
|
|
+ & > select,
|
|
|
|
+ & > .button,
|
|
|
|
+ &.label {
|
|
|
|
+ border-radius: 0;
|
|
|
|
+ }
|
|
|
|
+ &:first-child {
|
|
|
|
+ & > input,
|
|
|
|
+ & > select,
|
|
|
|
+ & > .button,
|
|
|
|
+ &.label {
|
|
|
|
+ border-radius: @border-radius 0 0 @border-radius;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:last-child {
|
|
|
|
+ & > input,
|
|
|
|
+ & > select,
|
|
|
|
+ & > .button,
|
|
|
|
+ &.label {
|
|
|
|
+ border-radius: 0 @border-radius @border-radius 0;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
&.is-expanded {
|
|
&.is-expanded {
|
|
@@ -1493,20 +1527,25 @@ button.delete:focus {
|
|
margin-right: -1px;
|
|
margin-right: -1px;
|
|
|
|
|
|
&:first-child {
|
|
&:first-child {
|
|
- border-radius: 3px 0 0 3px;
|
|
|
|
|
|
+ border-radius: @border-radius 0 0 @border-radius;
|
|
}
|
|
}
|
|
|
|
|
|
&:last-child {
|
|
&:last-child {
|
|
- border-radius: 0 3px 3px 0;
|
|
|
|
|
|
+ border-radius: 0 @border-radius @border-radius 0;
|
|
padding-left: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ &.dropdown-toggle {
|
|
|
|
+ padding-left: 5px;
|
|
|
|
+ padding-right: 5px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
.input {
|
|
.input {
|
|
margin-right: -1px;
|
|
margin-right: -1px;
|
|
|
|
|
|
&:first-child {
|
|
&:first-child {
|
|
- border-radius: 3px 0 0 3px;
|
|
|
|
|
|
+ border-radius: @border-radius 0 0 @border-radius;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1521,14 +1560,14 @@ button.delete:focus {
|
|
select {
|
|
select {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 36px;
|
|
height: 36px;
|
|
- border-radius: 3px 0 0 3px;
|
|
|
|
|
|
+ border-radius: @border-radius 0 0 @border-radius;
|
|
border-right: 0;
|
|
border-right: 0;
|
|
border-color: var(--light-grey-3);
|
|
border-color: var(--light-grey-3);
|
|
}
|
|
}
|
|
|
|
|
|
.button {
|
|
.button {
|
|
height: 36px;
|
|
height: 36px;
|
|
- border-radius: 0 3px 3px 0;
|
|
|
|
|
|
+ border-radius: 0 @border-radius @border-radius 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1593,14 +1632,14 @@ h4.section-title {
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
padding: 7.5px;
|
|
padding: 7.5px;
|
|
border: 1px solid var(--light-grey-3);
|
|
border: 1px solid var(--light-grey-3);
|
|
- border-radius: 3px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
|
|
|
.item-thumbnail {
|
|
.item-thumbnail {
|
|
width: 65px;
|
|
width: 65px;
|
|
height: 65px;
|
|
height: 65px;
|
|
margin: -7.5px;
|
|
margin: -7.5px;
|
|
- border-radius: 3px 0 0 3px;
|
|
|
|
|
|
+ border-radius: @border-radius 0 0 @border-radius;
|
|
}
|
|
}
|
|
|
|
|
|
.item-title {
|
|
.item-title {
|
|
@@ -1780,7 +1819,7 @@ h4.section-title {
|
|
}
|
|
}
|
|
|
|
|
|
.content-box {
|
|
.content-box {
|
|
- border-radius: 3px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
background-color: var(--white);
|
|
background-color: var(--white);
|
|
border: 1px solid var(--dark-grey);
|
|
border: 1px solid var(--dark-grey);
|
|
max-width: 580px;
|
|
max-width: 580px;
|
|
@@ -1852,10 +1891,10 @@ h4.section-title {
|
|
|
|
|
|
.news-item {
|
|
.news-item {
|
|
font-family: "Karla";
|
|
font-family: "Karla";
|
|
- border-radius: 5px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
padding: 20px;
|
|
padding: 20px;
|
|
border: unset !important;
|
|
border: unset !important;
|
|
- box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
|
|
|
|
|
|
+ box-shadow: @box-shadow;
|
|
|
|
|
|
* {
|
|
* {
|
|
font-family: Karla, Arial, sans-serif;
|
|
font-family: Karla, Arial, sans-serif;
|
|
@@ -1910,6 +1949,10 @@ h4.section-title {
|
|
code {
|
|
code {
|
|
font-style: italic;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ hr {
|
|
|
|
+ margin: 10px 0;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.checkbox-control {
|
|
.checkbox-control {
|
|
display: flex;
|
|
display: flex;
|
|
@@ -2027,12 +2070,12 @@ html {
|
|
background-color: var(--light-grey);
|
|
background-color: var(--light-grey);
|
|
color: var(--primary-color);
|
|
color: var(--primary-color);
|
|
padding: 5px 10px;
|
|
padding: 5px 10px;
|
|
- border-radius: 5px;
|
|
|
|
|
|
+ border-radius: @border-radius;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
margin-top: 5px;
|
|
margin-top: 5px;
|
|
- box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
|
|
|
|
|
|
+ box-shadow: @box-shadow;
|
|
transition: all 0.2s ease-in-out;
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
|
|
&:hover,
|
|
&:hover,
|