Commit ec47ac0f by Johannes Edmeier

Apply new style to application list and add scroll into view

parent 3e53030f
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<p v-text="error.message"/> <p v-text="error.message"/>
</div> </div>
</div> </div>
<div class="level"> <div class="level applications-stats">
<div class="level-item has-text-centered"> <div class="level-item has-text-centered">
<div> <div>
<p class="heading">Applications</p> <p class="heading">Applications</p>
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</div> </div>
</div> </div>
</div> </div>
<div v-for="group in statusGroups" :key="group.status"> <div class="application-group" v-for="group in statusGroups" :key="group.status">
<p class="heading" v-text="group.status"/> <p class="heading" v-text="group.status"/>
<applications-list :applications="group.applications" :selected="selected"/> <applications-list :applications="group.applications" :selected="selected"/>
</div> </div>
...@@ -117,3 +117,13 @@ ...@@ -117,3 +117,13 @@
component: component component: component
}; };
</script> </script>
<style lang="scss">
@import "~@/assets/css/utilities";
.application-group {
margin: $gap 0;
}
</style>
...@@ -220,33 +220,33 @@ ...@@ -220,33 +220,33 @@
</script> </script>
<style lang="scss"> <style lang="scss">
@import "~@/assets/css/utilities"; @import "~@/assets/css/utilities";
.domain-list { .domain-list {
position: sticky; position: sticky;
top: (($gap / 2) + $navbar-height-px + $tabs-height-px); top: (($gap / 2) + $navbar-height-px + $tabs-height-px);
} }
.m-bean { .m-bean {
transition: all $easing $speed; transition: all $easing $speed;
&.is-active { &.is-active {
margin: 0.75rem -0.75rem; margin: 0.75rem -0.75rem;
max-width: unset; max-width: unset;
} }
&.is-active .m-bean--header { &.is-active .m-bean--header {
padding-bottom: 0; padding-bottom: 0;
} }
&:not(.is-active) .m-bean--header:hover { &:not(.is-active) .m-bean--header:hover {
background-color: $white-bis; background-color: $white-bis;
} }
.m-bean--header--close { .m-bean--header--close {
position: absolute; position: absolute;
right: 0.75rem; right: 0.75rem;
top: 0.75rem; top: 0.75rem;
}
} }
}
</style> </style>
Markdown is supported
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