# HG changeset patch # User Markus Kottlaender # Date 1542800166 -3600 # Node ID 3c84035b1f1b18ce56ebcb2f35b210f7eeca8b33 # Parent 13abf612cd9d0a7c724f04dde5b99d99823ddb5f adjusted box shadows diff -r 13abf612cd9d -r 3c84035b1f1b client/src/application/Contextbox.vue --- a/client/src/application/Contextbox.vue Wed Nov 21 12:29:43 2018 +0100 +++ b/client/src/application/Contextbox.vue Wed Nov 21 12:36:06 2018 +0100 @@ -37,7 +37,7 @@ ...mapState("application", ["showSearchbarLastState", "showInContextBox"]), style() { return [ - "ui-element shadow contextbox pt-3 ml-3 rounded-bottom border-top", + "ui-element shadow-xs contextbox pt-3 ml-3 rounded-bottom border-top", { contextboxcollapsed: !this.showInContextBox, contextboxextended: this.showInContextBox diff -r 13abf612cd9d -r 3c84035b1f1b client/src/application/Search.vue --- a/client/src/application/Search.vue Wed Nov 21 12:29:43 2018 +0100 +++ b/client/src/application/Search.vue Wed Nov 21 12:36:06 2018 +0100 @@ -114,7 +114,7 @@ }, searchbarContainerStyle() { return [ - "input-group searchcontainer ml-3 shadow", + "input-group searchcontainer ml-3 shadow-xs", { "searchbar-collapsed": !this.showSearchbar, "searchbar-expanded": this.showSearchbar, diff -r 13abf612cd9d -r 3c84035b1f1b client/src/application/Sidebar.vue --- a/client/src/application/Sidebar.vue Wed Nov 21 12:29:43 2018 +0100 +++ b/client/src/application/Sidebar.vue Wed Nov 21 12:36:06 2018 +0100 @@ -107,7 +107,7 @@ }, sidebarStyle() { return [ - "ui-element position-relative sidebar rounded shadow d-print-none mb-auto", + "ui-element position-relative sidebar rounded shadow-xs d-print-none mb-auto", { sidebarcollapsed: !this.showSidebar, sidebarextended: this.showSidebar diff -r 13abf612cd9d -r 3c84035b1f1b client/src/application/assets/application.sass --- a/client/src/application/assets/application.sass Wed Nov 21 12:29:43 2018 +0100 +++ b/client/src/application/assets/application.sass Wed Nov 21 12:36:06 2018 +0100 @@ -14,6 +14,7 @@ */ $basic-shadow-light: 1px 1px 12px 1px rgba(235, 235, 235, 0.75) $basic-shadow: 1px 3px 8px 2px rgba(220, 220, 220, 0.75) +$shadow-xs: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.2) $border-radius: 0.25rem $icon-height: 2rem $icon-width: 2rem @@ -46,13 +47,16 @@ .ui-element pointer-events: auto +.shadow-xs + box-shadow: $shadow-xs + .box max-height: 0 max-width: 0 overflow: hidden margin-left: 0 margin-right: 0 - box-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.2) + box-shadow: $shadow-xs transition: max-width .4s, max-height .4s, margin-left .4s, margin-right .4s .expanded @@ -70,7 +74,7 @@ background: #fff margin-bottom: $offset border-radius: $border-radius - box-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.2) + box-shadow: $shadow-xs z-index: 2 pointer-events: auto .inverted diff -r 13abf612cd9d -r 3c84035b1f1b client/src/zoom/zoom.vue --- a/client/src/zoom/zoom.vue Wed Nov 21 12:29:43 2018 +0100 +++ b/client/src/zoom/zoom.vue Wed Nov 21 12:36:06 2018 +0100 @@ -1,5 +1,5 @@