mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-05 05:54:43 +00:00
* Improve sidenav performance and expansion list performance * Init dialog * Add initial transition * Add backdrop to md-menu * Create dialog opening from and closing to * Add example os basic and opening from and to * Add todo * Create alias for root element * Fix dialog position * Improve transitions * Fix rules * Fix dialog position on open * Improve docs transitions * Create styles for actions and content * Create confirm dialog preset * Create alert dialog preset * Create prompt dialog preset * Add example with HTML * Improve close transition * Create new documentation template for components * Improve template for mobile * Improve toolbar behaviour * Format code-block and apply clipboard.js * Move clipboard to devDependencies * Show toast after copy * Add function to toggle sidenav and add page title * create avatar documentation with the new template * Improve themes and codes * Remove hover * fix copied toast position * add classes tab * create bottom-bar documentation with the new template * improve bottom bar docs * create button documentation with the new template * create button toggle documentation with the new template * Fix backdrop styles * Fix image color names * create card documentation with the new template * Update debug-lib.js (#106) Fixes webpack missing module error when loading scss * create checkboxes documentation with the new template * Add more alignment options (#109) * Create offset options - md-offset-y and md-offset-x * Add option to align the menu to the trigger * Create better examples * fix bottom-right position * create dialog documentation with the new template * create icon documentation with the new template * fix typo * create input documentation with the new template * create tooltip documentation with the new template * create whiteframe documentation with the new template * Fix unregisterMouseEvent not accepting the element as parameter (#118) * create radio documentation with the new template * create ripple documentation with the new template * create switch documentation with the new template * create subheader documentation with the new template * fix text * improvements over menu * create menu documentation with the new template * create sidenav documentation with the new template * create toolbar documentation with the new template * improve visibility of some code-blocks * create select documentation with the new template * create typography documentation with the new template * create changelog page with the new template * create about page with the new template * create error page with the new template * create introduction page with the new template * create getting started page with the new template * create getting started page with the new template * add codepen examples * create list documentation with the new template * improve docs * add old releases in a folder * optimize build time * remove unused code and rename components * generate old versions * redirect to old documentation versions * [build] 0.4.0 * [build] 0.4.0 * restore dist * get current version from url * [build] 0.4.0 * restore old docs * add correct branch to release script * create table documentation with the new template * add a better explanation of list classes * improve docs * create table documentation with the new template * add code example for tabs * remove directive example of ripple * fix code example of typograph items * general fixes and code cleanup * create themes documentation * start the creation of button "edit on codepen" * group theme text and fix height of codepen example * start creation of tabs * recreate tabs * fix shadow transition inside menus (#141 #129) * add href support for mdBottomBar (#142 #121) * fix table row not watching item #116 #113 (#143) * Improvement/md tooltip (#144) * fix stucked tooltips #103 * remove example * update website url * update libs * fix vue version reference * [build] 0.4.0
138 lines
No EOL
3.6 KiB
CSS
138 lines
No EOL
3.6 KiB
CSS
/* Common
|
|
========================================================================== */
|
|
/* Transitions - Based on Angular Material
|
|
========================================================================== */
|
|
/* Elevation - Based on Angular Material
|
|
========================================================================== */
|
|
.md-select {
|
|
width: 100%;
|
|
min-width: 128px;
|
|
height: 32px;
|
|
position: relative;
|
|
}
|
|
.md-select:focus {
|
|
outline: none;
|
|
}
|
|
.md-select:after {
|
|
margin-top: 2px;
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0;
|
|
transform: translateY(-50%) scaleY(0.45) scaleX(0.85);
|
|
transition: all 0.08s linear;
|
|
color: rgba(0, 0, 0, 0.54);
|
|
content: "\25BC";
|
|
}
|
|
.md-select.md-active .md-select-menu {
|
|
top: -8px;
|
|
pointer-events: auto;
|
|
opacity: 1;
|
|
transform: translateY(-8px) scale3D(1, 1, 1);
|
|
transform-origin: center top;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
transition-duration: .25s;
|
|
transition-property: opacity, transform, top;
|
|
}
|
|
.md-select.md-active .md-select-menu > * {
|
|
opacity: 1;
|
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
transition-duration: .15s;
|
|
transition-delay: .1s;
|
|
}
|
|
.md-select select {
|
|
position: absolute;
|
|
left: -999em;
|
|
}
|
|
.md-select .md-menu {
|
|
width: 100%;
|
|
height: 32px;
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
.md-select .md-select-value {
|
|
width: 100%;
|
|
height: 32px;
|
|
padding-right: 24px;
|
|
display: block;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
position: relative;
|
|
z-index: 2;
|
|
font-size: 16px;
|
|
line-height: 33px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.md-select .md-select-menu {
|
|
min-width: 156px;
|
|
max-width: 100%;
|
|
min-height: 48px;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-flow: column;
|
|
flex-flow: column;
|
|
-ms-flex-pack: stretch;
|
|
justify-content: stretch;
|
|
-ms-flex-line-pack: stretch;
|
|
align-content: stretch;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
top: -16px;
|
|
left: -16px;
|
|
z-index: 7;
|
|
background-color: #fff;
|
|
border-radius: 2px;
|
|
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
|
|
opacity: 0;
|
|
transform: scale3D(0.85, 0.7, 1);
|
|
transition: opacity 0.25s cubic-bezier(0.55, 0, 0.55, 0.2), top 0.25s cubic-bezier(0.55, 0, 0.55, 0.2), transform 0s 0.25s cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
color: rgba(33, 33, 33, 0.87);
|
|
}
|
|
.md-select .md-select-menu > * {
|
|
opacity: 0;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
transition-duration: .25s;
|
|
}
|
|
.md-select .md-select-menu-container {
|
|
margin: 0;
|
|
padding: 8px 0;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-flow: column;
|
|
flex-flow: column;
|
|
-ms-flex-pack: stretch;
|
|
justify-content: stretch;
|
|
-ms-flex-line-pack: stretch;
|
|
align-content: stretch;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
.md-select .md-subheader {
|
|
color: rgba(117, 117, 117, 0.87);
|
|
text-transform: uppercase;
|
|
}
|
|
.md-select .md-subheader:first-child {
|
|
margin-top: -8px;
|
|
}
|
|
.md-select-content {
|
|
width: auto;
|
|
max-height: 256px;
|
|
}
|
|
.md-select-content.md-direction-bottom-right {
|
|
margin-top: -15px;
|
|
margin-left: -16px;
|
|
}
|
|
.md-select-content .md-menu-item .md-list-item-holder {
|
|
overflow: visible;
|
|
-ms-flex-pack: start;
|
|
justify-content: flex-start;
|
|
}
|
|
.md-select-content.md-multiple .md-checkbox {
|
|
margin: 0;
|
|
}
|
|
.md-select-content.md-multiple .md-checkbox-label {
|
|
padding-left: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/*# sourceMappingURL=index.css.map*/ |