diff --git a/src/renderer/assets/css/_spacing.sass b/src/renderer/assets/css/_spacing.sass index b6e40580..58b87cee 100644 --- a/src/renderer/assets/css/_spacing.sass +++ b/src/renderer/assets/css/_spacing.sass @@ -17,3 +17,19 @@ @for $i from 1 through 10 .m-#{$i} margin: $i + rem + +@for $i from 1 through 10 + .mt-#{$i} + margin-top: $i + rem + +@for $i from 1 through 10 + .ml-#{$i} + margin-left: $i + rem + +@for $i from 1 through 10 + .mb-#{$i} + margin-bottom: $i + rem + +@for $i from 1 through 10 + .mr-#{$i} + margin-right: $i + rem diff --git a/src/renderer/assets/css/_utilities.sass b/src/renderer/assets/css/_utilities.sass index 91af4046..c03d8abc 100644 --- a/src/renderer/assets/css/_utilities.sass +++ b/src/renderer/assets/css/_utilities.sass @@ -1,5 +1,7 @@ +@import "utilities/alignment" @import "utilities/cursor" @import "utilities/display" @import "utilities/flex" +@import "utilities/overflow" @import "utilities/scrollbar" @import "utilities/settings" diff --git a/src/renderer/assets/css/utilities/_alignment.sass b/src/renderer/assets/css/utilities/_alignment.sass new file mode 100644 index 00000000..b2869cba --- /dev/null +++ b/src/renderer/assets/css/utilities/_alignment.sass @@ -0,0 +1,8 @@ +.text-left + text-align: left +.text-center + text-align: center +.text-right + text-align: right +.text-justify + text-align: justify \ No newline at end of file diff --git a/src/renderer/assets/css/utilities/_display.sass b/src/renderer/assets/css/utilities/_display.sass index e5c92eeb..d7334689 100644 --- a/src/renderer/assets/css/utilities/_display.sass +++ b/src/renderer/assets/css/utilities/_display.sass @@ -4,6 +4,17 @@ .d-flex display: flex +.static + position: static +.fixed + position: fixed +.absolute + position: absolute +.relative + position: relative +.sticky + position: sticky + .opacity-0 opacity: 0 diff --git a/src/renderer/assets/css/utilities/_overflow.sass b/src/renderer/assets/css/utilities/_overflow.sass new file mode 100644 index 00000000..794b39d5 --- /dev/null +++ b/src/renderer/assets/css/utilities/_overflow.sass @@ -0,0 +1,40 @@ +.overflow-auto + overflow: auto + +.overflow-hidden + overflow: hidden + +.overflow-visible + overflow: visible + +.overflow-scroll + overflow: scroll + +.overflow-x-auto + overflow-x: auto + +.overflow-y-auto + overflow-y: auto + +.overflow-x-hidden + overflow-x: hidden + +.overflow-y-hidden + overflow-y: hidden + +.overflow-x-visible + overflow-x: visible + +.overflow-y-visible + overflow-y: visible + +.overflow-x-scroll + overflow-x: scroll + +.overflow-y-scroll + overflow-y: scroll + +.scrolling-touch + -webkit-overflow-scrolling: touch +.scrolling-auto + -webkit-overflow-scrolling: auto \ No newline at end of file diff --git a/src/renderer/components/TButton/TButton.vue b/src/renderer/components/TButton/TButton.vue index 76de7963..212b777b 100644 --- a/src/renderer/components/TButton/TButton.vue +++ b/src/renderer/components/TButton/TButton.vue @@ -50,6 +50,7 @@ export default { diff --git a/src/renderer/components/sidebar.vue b/src/renderer/components/sidebar.vue index 6ab34b8f..048ab6ca 100644 --- a/src/renderer/components/sidebar.vue +++ b/src/renderer/components/sidebar.vue @@ -1,28 +1,19 @@