171 lines
4.6 KiB
CSS
171 lines
4.6 KiB
CSS
/*!
|
|
* Angular Material Design
|
|
* https://github.com/angular/material
|
|
* @license MIT
|
|
* v0.10.0
|
|
*/
|
|
/* mixin definition ; sets LTR and RTL within the same style call */
|
|
.md-select-menu-container {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 99;
|
|
opacity: 0; }
|
|
.md-select-menu-container:not(.md-clickable) {
|
|
pointer-events: none; }
|
|
.md-select-menu-container md-progress-circular {
|
|
display: table;
|
|
margin: 24px auto !important; }
|
|
.md-select-menu-container.md-active {
|
|
opacity: 1; }
|
|
.md-select-menu-container.md-active md-select-menu {
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
transition-duration: 200ms; }
|
|
.md-select-menu-container.md-active md-select-menu > * {
|
|
opacity: 1;
|
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
transition-duration: 200ms;
|
|
transition-delay: 100ms; }
|
|
.md-select-menu-container.md-leave {
|
|
opacity: 0;
|
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
transition-duration: 250ms; }
|
|
|
|
md-input-container > md-select {
|
|
margin: 0;
|
|
margin-top: 3px; }
|
|
|
|
md-select {
|
|
padding: 24px 2px 26px;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex; }
|
|
md-select:focus {
|
|
outline: none; }
|
|
md-select[disabled]:hover {
|
|
cursor: default; }
|
|
md-select:not([disabled]):hover {
|
|
cursor: pointer; }
|
|
md-select:not([disabled]).ng-invalid.ng-dirty .md-select-label {
|
|
border-bottom-width: 2px;
|
|
border-bottom-style: solid;
|
|
padding-bottom: 0; }
|
|
md-select:not([disabled]):focus .md-select-label {
|
|
border-bottom-width: 2px;
|
|
border-bottom-style: solid;
|
|
padding-bottom: 0; }
|
|
|
|
.md-select-label {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
padding: 2px 2px 1px;
|
|
border-bottom-width: 1px;
|
|
border-bottom-style: solid;
|
|
position: relative;
|
|
box-sizing: content-box;
|
|
min-width: 64px;
|
|
min-height: 26px; }
|
|
.md-select-label *:first-child {
|
|
-webkit-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
max-width: calc(100% - 2*8px);
|
|
-webkit-transform: translate3d(0, 2px, 0);
|
|
transform: translate3d(0, 2px, 0); }
|
|
.md-select-label .md-select-icon {
|
|
-webkit-align-items: flex-end;
|
|
-ms-flex-align: end;
|
|
align-items: flex-end;
|
|
text-align: end;
|
|
width: 24px;
|
|
margin: 0 4px;
|
|
-webkit-transform: translate3d(0, 1px, 0);
|
|
transform: translate3d(0, 1px, 0); }
|
|
.md-select-label .md-select-icon:after {
|
|
display: block;
|
|
content: '\25BC';
|
|
position: relative;
|
|
top: 2px;
|
|
speak: none;
|
|
-webkit-transform: scaleY(0.6) scaleX(1);
|
|
transform: scaleY(0.6) scaleX(1); }
|
|
|
|
md-select-menu {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.14), 0px 2px 2px 0px rgba(0, 0, 0, 0.098), 0px 1px 5px 0px rgba(0, 0, 0, 0.084);
|
|
max-height: 256px;
|
|
min-height: 48px;
|
|
overflow-y: hidden;
|
|
-webkit-transform-origin: left top;
|
|
transform-origin: left top;
|
|
-webkit-transform: scale(1);
|
|
transform: scale(1); }
|
|
md-select-menu.md-reverse {
|
|
-webkit-flex-direction: column-reverse;
|
|
-ms-flex-direction: column-reverse;
|
|
flex-direction: column-reverse; }
|
|
md-select-menu:not(.md-overflow) md-content {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px; }
|
|
html[dir=rtl] md-select-menu {
|
|
-webkit-transform-origin: right top;
|
|
transform-origin: right top; }
|
|
md-select-menu md-content {
|
|
min-width: 136px;
|
|
min-height: 48px;
|
|
max-height: 256px;
|
|
overflow-y: auto; }
|
|
md-select-menu > * {
|
|
opacity: 0; }
|
|
|
|
md-option {
|
|
cursor: pointer;
|
|
position: relative;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
width: auto;
|
|
padding: 0 16px 0 16px;
|
|
height: 48px; }
|
|
md-option:focus {
|
|
outline: none; }
|
|
md-option .md-text {
|
|
width: auto;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 16px; }
|
|
|
|
md-optgroup {
|
|
display: block; }
|
|
md-optgroup label {
|
|
display: block;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
padding: 16px;
|
|
font-weight: 500; }
|
|
md-optgroup md-option {
|
|
padding-left: 32px;
|
|
padding-right: 32px; }
|
|
|
|
@media screen and (-ms-high-contrast: active) {
|
|
.md-select-backdrop {
|
|
background-color: transparent; }
|
|
md-select-menu {
|
|
border: 1px solid #fff; } }
|