ionic-Material Design , Codecanyon
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
/*!
|
||||
* 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.md-THEME_NAME-theme.ng-invalid.ng-dirty .md-select-label {
|
||||
color: '{{warn-500}}' !important;
|
||||
border-bottom-color: '{{warn-500}}' !important; }
|
||||
md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-label {
|
||||
border-bottom-color: '{{primary-color}}';
|
||||
color: '{{ foreground-1 }}'; }
|
||||
md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-label.md-placeholder {
|
||||
color: '{{ foreground-1 }}'; }
|
||||
md-select.md-THEME_NAME-theme:not([disabled]):focus.md-accent .md-select-label {
|
||||
border-bottom-color: '{{accent-color}}'; }
|
||||
md-select.md-THEME_NAME-theme:not([disabled]):focus.md-warn .md-select-label {
|
||||
border-bottom-color: '{{warn-color}}'; }
|
||||
md-select.md-THEME_NAME-theme[disabled] .md-select-label {
|
||||
color: '{{foreground-3}}'; }
|
||||
md-select.md-THEME_NAME-theme[disabled] .md-select-label.md-placeholder {
|
||||
color: '{{foreground-3}}'; }
|
||||
md-select.md-THEME_NAME-theme .md-select-label {
|
||||
border-bottom-color: '{{foreground-4}}'; }
|
||||
md-select.md-THEME_NAME-theme .md-select-label.md-placeholder {
|
||||
color: '{{foreground-2}}'; }
|
||||
|
||||
md-select-menu.md-THEME_NAME-theme md-optgroup {
|
||||
color: '{{foreground-2}}'; }
|
||||
md-select-menu.md-THEME_NAME-theme md-optgroup md-option {
|
||||
color: '{{foreground-1}}'; }
|
||||
md-select-menu.md-THEME_NAME-theme md-option[selected] {
|
||||
color: '{{primary-500}}'; }
|
||||
md-select-menu.md-THEME_NAME-theme md-option[selected]:focus {
|
||||
color: '{{primary-600}}'; }
|
||||
md-select-menu.md-THEME_NAME-theme md-option[selected].md-accent {
|
||||
color: '{{accent-500}}'; }
|
||||
md-select-menu.md-THEME_NAME-theme md-option[selected].md-accent:focus {
|
||||
color: '{{accent-600}}'; }
|
||||
md-select-menu.md-THEME_NAME-theme md-option:focus:not([selected]) {
|
||||
background: '{{background-200}}'; }
|
||||
@@ -0,0 +1,170 @@
|
||||
/*!
|
||||
* 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; } }
|
||||
1055
IonicMaterialDesign/www/lib/angular-material/modules/closure/select/select.js
vendored
Normal file
1055
IonicMaterialDesign/www/lib/angular-material/modules/closure/select/select.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user