Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
15734cc9
Commit
15734cc9
authored
Oct 08, 2020
by
dindigala
Browse files
refactor: moved tree scoped style to new file.
parent
c1b9ff4d
Pipeline
#153636
passed with stages
in 3 minutes and 26 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/tree.vue
View file @
15734cc9
...
...
@@ -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
>
src/css/style.scss
View file @
15734cc9
...
...
@@ -3,3 +3,4 @@
@import
'./quasar.variables'
;
@import
'./helper'
;
@import
'./global'
;
@import
'./tree'
;
src/css/tree.scss
0 → 100644
View file @
15734cc9
.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
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment