164 lines
3.2 KiB
CSS

:host{
position: fixed;
bottom: 0;
width: 100%;
}
:host .show {
display: block !important;
}
:host .hide {
display: none !important;
}
:host .file-dialog {
width: 700px;
display: none;
-webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
box-shadow: -2px -1px 8px 3px rgba(0, 0, 0, .2);
-webkit-border-radius: 2px;
border-radius: 2px;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
-webkit-transition-delay: 0s;
transition-delay: 0s;
opacity: 1;
-webkit-transition: transform .15s cubic-bezier(0.4, 0.0, 1, 1), opacity .15s cubic-bezier(0.4, 0.0, 1, 1), visibility 0ms linear .15s;
transition: transform .15s cubic-bezier(0.4, 0.0, 1, 1), opacity .15s cubic-bezier(0.4, 0.0, 1, 1), visibility 0ms linear .15s;
bottom: 0px;
left: auto;
max-height: 350px;
overflow: visible;
right: 24px;
position: fixed;
}
:host .file-dialog .header {
background-color: rgb(31, 188, 210);
border: 1px transparent solid;
border-bottom: 1px solid #c7c7c7;
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;
border-top-left-radius: 2px;
-moz-border-radius-topright: 2px;
-webkit-border-top-right-radius: 2px;
border-top-right-radius: 2px;
bottom: 0px;
color: white;
font-size: 14px;
height: 52px;
line-height: 52px;
padding: 0px 10px 0px 10px;
}
:host .file-dialog .header .title {
float: left;
min-width: 150px;
color: white;
}
:host .file-dialog .header .buttons {
float: right;
padding: 10px 10px 10px 10px;
text-align: center;
color: white;
font-size: 14px;
opacity: 0.5;
}
:host .file-dialog .header .close-button {
cursor: pointer;
float: left;
height: 35px;
width: 35px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
border: 1px solid transparent;
}
:host .file-dialog .header .close-button:hover {
border: 1px solid white;
opacity: 1.0;
}
.minimize-button {
display: flex;
align-items: center;
justify-content: center;
}
:host .file-dialog .header .minimize-button {
cursor: pointer;
float: left;
height: 35px;
width: 35px;
margin-right: 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
border: 1px solid transparent;
}
.up {
display: none;
}
.down {
display: block;
}
.active .up {
display: block;
}
.active .down {
display: none;
}
.file-dialog .header .minimize-button:hover {
border: 1px solid white;
opacity: 1.0;
}
:host .file-dialog .body-dialog {
float: left;
height: 100%;
margin-top: -4px;
border-bottom: 1px solid #C0C0C0;
border-right: 1px solid #C0C0C0;
border-left: 1px solid #C0C0C0;
max-height: 200px;
overflow-y: auto;
width: 99.6%;
}
:host .mdl-data-table th {
text-align: left;
}
@media only screen and (max-device-width: 520px){
.file-dialog {
width: 100%;
padding: 0 0 0 0;
margin: 0 0 0 0;
right: 0;
left: 0;
position: absolute;
}
}
@media (max-device-width: 568px) {
.file-dialog {
width: 280px;
}
}
@media (max-width: 740px) {
.file-dialog {
width: 325px;
}
}