Commit de24a30a authored by dindigala's avatar dindigala
Browse files

Merge branch 'refactor/minor-scss' into 'develop'

refactor: Moved tree scoped style to new file.

See merge request subugoe/emo/Qviewer!73
parents c1b9ff4d 15734cc9
Pipeline #153799 passed with stages
in 3 minutes and 41 seconds
......@@ -78,42 +78,3 @@ export default {
},
};
</script>
<style lang="scss">
@import './src/css/helper';
.view-tree {
@include make-responsive-height();
-ms-overflow-style: none;
overflow-y: scroll;
scrollbar-width: none;
.q-tree__node-collapsible .q-tree__children {
>.q-tree__node--parent {
>.q-tree__node-header {
background-color: $light;
left: 0;
position: sticky;
top: 0;
z-index: 999;
@media (prefers-color-scheme: dark) {
background-color: $grey-9;
}
}
}
}
.q-tree__node-header-content.col.row.no-wrap.items-center {
z-index: 99;
}
.q-tree__children {
cursor: pointer;
}
}
.view-tree::-webkit-scrollbar {
display: none;
}
</style>
......@@ -3,3 +3,4 @@
@import './quasar.variables';
@import './helper';
@import './global';
@import './tree';
.view-tree {
@include make-responsive-height();
-ms-overflow-style: none;
overflow-y: scroll;
scrollbar-width: none;
.q-tree__node-collapsible .q-tree__children {
>.q-tree__node--parent {
>.q-tree__node-header {
background-color: $light;
left: 0;
position: sticky;
top: 0;
z-index: 999;
@media (prefers-color-scheme: dark) {
background-color: $grey-9;
}
}
}
}
.q-tree__node-header-content.col.row.no-wrap.items-center {
z-index: 99;
}
.q-tree__children {
cursor: pointer;
}
}
.view-tree::-webkit-scrollbar {
display: none;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment