Move scss variables to dedicated file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -157,11 +157,8 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
@import '../../css/animations.scss';
|
@import "../../css/animations.scss";
|
||||||
|
@import "../../css/variables.scss";
|
||||||
$board-spacing: 15px;
|
|
||||||
$stack-spacing: 10px;
|
|
||||||
$stack-width: 300px;
|
|
||||||
|
|
||||||
form {
|
form {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -253,8 +253,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
$stack-spacing: 10px;
|
@import './../../css/variables';
|
||||||
$stack-width: 260px;
|
|
||||||
|
|
||||||
.stack {
|
.stack {
|
||||||
width: $stack-width;
|
width: $stack-width;
|
||||||
|
|||||||
@@ -165,9 +165,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import './../../css/animations';
|
@import './../../css/animations';
|
||||||
|
@import './../../css/variables';
|
||||||
$card-spacing: 10px;
|
|
||||||
$card-padding: 10px;
|
|
||||||
|
|
||||||
body.dark .card {
|
body.dark .card {
|
||||||
border: 1px solid var(--color-border);
|
border: 1px solid var(--color-border);
|
||||||
|
|||||||
@@ -132,24 +132,25 @@ export default {
|
|||||||
})
|
})
|
||||||
return all
|
return all
|
||||||
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
created() {
|
|
||||||
this.$store.dispatch('loadDashboards')
|
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@import './../../css/variables';
|
||||||
|
|
||||||
.dashboard {
|
.dashboard {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
margin: $board-spacing;
|
||||||
|
|
||||||
.dashboard-column {
|
.dashboard-column {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
width: $stack-width;
|
||||||
|
margin: $stack-spacing;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
5
src/css/variables.scss
Normal file
5
src/css/variables.scss
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
$card-spacing: 10px;
|
||||||
|
$card-padding: 10px;
|
||||||
|
$stack-spacing: 10px;
|
||||||
|
$stack-width: 260px;
|
||||||
|
$board-spacing: 15px;
|
||||||
Reference in New Issue
Block a user