Added round corners and shadows to windows
This commit is contained in:
parent
0a2fd25fa2
commit
d0ada23bf1
1 changed files with 8 additions and 1 deletions
|
|
@ -4,12 +4,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.Window-container {
|
.Window-container {
|
||||||
|
--shadow-size: 0.3rem;
|
||||||
|
--shadow-opacity: 35%;
|
||||||
|
--shadow-spread: 3;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
background-color: var(--background-color-c);
|
background-color: var(--background-color-c);
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
box-shadow: calc(var(--shadow-size) * -1) var(--shadow-size) calc(var(--shadow-size) * var(--shadow-spread)) 0px rgba(0, 0, 0, var(--shadow-opacity));
|
||||||
resize: both;
|
resize: both;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
/* animation: pop-in 200ms ease-in-out; */
|
/* animation: pop-in 200ms ease-in-out; */
|
||||||
|
|
@ -33,6 +39,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: var(--header-height);
|
height: var(--header-height);
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
|
padding-left: 0.5rem;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
background-color: var(--background-color-b);
|
background-color: var(--background-color-b);
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
|
|
@ -47,7 +54,7 @@
|
||||||
|
|
||||||
.Window-icon {
|
.Window-icon {
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
margin-right: 0.25rem;
|
margin-right: 0.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Window-icon > div {
|
.Window-icon > div {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue