2018-05-28 01:09:44 +00:00
|
|
|
@keyframes slideInUp {
|
|
|
|
from {
|
|
|
|
transform: translate3d(0, 100%, 0);
|
2018-06-09 12:43:18 +00:00
|
|
|
display: inherit;
|
2018-05-28 01:09:44 +00:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes slideOutDown {
|
|
|
|
from {
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
2018-06-09 12:43:18 +00:00
|
|
|
display: none;
|
2018-05-28 01:09:44 +00:00
|
|
|
visibility: hidden;
|
|
|
|
transform: translate3d(0, 100%, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.docked-widget {
|
2018-05-26 18:53:54 +00:00
|
|
|
position: fixed;
|
2018-05-28 01:09:44 +00:00
|
|
|
bottom: 0px;
|
2018-05-26 18:53:54 +00:00
|
|
|
right: 10px;
|
2018-05-28 01:09:44 +00:00
|
|
|
width: 200px;
|
2018-06-09 12:43:18 +00:00
|
|
|
z-index: 9999;
|
2018-05-28 01:09:44 +00:00
|
|
|
}
|
2018-05-26 18:53:54 +00:00
|
|
|
|
2018-05-28 01:09:44 +00:00
|
|
|
.dock {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-05-26 18:53:54 +00:00
|
|
|
padding: 10px;
|
2018-05-28 01:09:44 +00:00
|
|
|
width: 180px;
|
|
|
|
border: 1px solid grey;
|
2018-06-09 12:43:18 +00:00
|
|
|
background: white;
|
2018-05-26 18:53:54 +00:00
|
|
|
}
|
|
|
|
|
2018-05-28 01:09:44 +00:00
|
|
|
|
|
|
|
.widget {
|
|
|
|
width: 200px;
|
|
|
|
border: 1px solid grey;
|
|
|
|
border-bottom: none;
|
|
|
|
animation-duration: 0.2s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
|
|
|
|
&-entering {
|
|
|
|
animation-name: slideInUp;
|
|
|
|
}
|
|
|
|
&-entered {
|
2018-06-09 12:43:18 +00:00
|
|
|
display: inherit;
|
2018-05-28 01:09:44 +00:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
&-exiting {
|
|
|
|
animation-name: slideOutDown;
|
|
|
|
}
|
|
|
|
&-exited {
|
2018-06-09 12:43:18 +00:00
|
|
|
display: none;
|
2018-05-28 01:09:44 +00:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
height: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
background: lightgrey;
|
|
|
|
color: grey;
|
|
|
|
padding-left: 10px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-icon {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: .75rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-body {
|
|
|
|
background: white;
|
|
|
|
padding: 10px;
|
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
&-footer {
|
|
|
|
background: green;
|
|
|
|
line-height: 30px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2018-05-26 18:53:54 +00:00
|
|
|
}
|