Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
feat: css tweaks for shell-panel and center-row
Browse files Browse the repository at this point in the history
  • Loading branch information
asangma committed May 7, 2020
1 parent 13483a8 commit eb3ef56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
:host {
@extend %component-host;
display: flex;
overflow: hidden;
transition: height var(--calcite-app-animation-time) ease-in-out;
background-color: var(--calcite-app-background-clear);
border-left: 1px solid var(--calcite-app-border);
border-right: 1px solid var(--calcite-app-border);

--calcite-app-shell-center-row-height-small: 33%;
--calcite-app-shell-center-row-height-medium: 70%;
Expand All @@ -11,8 +15,7 @@
@import "../../scss/includes/_component";

.content {
background-color: var(--calcite-app-background-content);
border: 1px solid var(--calcite-app-border);
display: flex;
flex: 1 0 0;
height: 100%;
margin: 0;
Expand All @@ -22,6 +25,7 @@

:host([detached]) {
animation: calcite-app-fade-in-up var(--calcite-app-animation-time) var(--calcite-app-easing-function);
border: none;
border-radius: var(--calcite-app-border-radius);
box-shadow: var(--calcite-app-shadow-0);
margin: var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
}

.content--detached {
border: 1px solid var(--calcite-app-border);
border-radius: var(--calcite-app-border-radius);
box-shadow: var(--calcite-app-shadow-0);
margin: var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half) auto;
Expand Down

0 comments on commit eb3ef56

Please sign in to comment.