mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-02 04:24:45 +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
192 lines
No EOL
4.7 KiB
CSS
192 lines
No EOL
4.7 KiB
CSS
/* Common
|
|
========================================================================== */
|
|
/* Transitions - Based on Angular Material
|
|
========================================================================== */
|
|
/* Elevation - Based on Angular Material
|
|
========================================================================== */
|
|
.md-button {
|
|
min-width: 88px;
|
|
min-height: 36px;
|
|
margin: 6px 8px;
|
|
padding: 0 16px;
|
|
display: inline-block;
|
|
position: relative;
|
|
overflow: hidden;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
outline: none;
|
|
background: none;
|
|
border: 0;
|
|
border-radius: 2px;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
color: currentColor;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
font-style: inherit;
|
|
font-variant: inherit;
|
|
font-weight: 500;
|
|
letter-spacing: inherit;
|
|
line-height: 36px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
vertical-align: top;
|
|
white-space: nowrap;
|
|
}
|
|
.md-button:focus {
|
|
outline: none;
|
|
}
|
|
.md-button::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
.md-button:hover:not([disabled]):not(.md-raised) {
|
|
background-color: rgba(153, 153, 153, 0.2);
|
|
text-decoration: none;
|
|
}
|
|
.md-button:hover:not([disabled]).md-raised {
|
|
background-color: rgba(0, 0, 0, 0.12);
|
|
}
|
|
.md-button:active:not([disabled]) {
|
|
background-color: rgba(153, 153, 153, 0.4);
|
|
}
|
|
.md-button.md-raised:not([disabled]) {
|
|
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);
|
|
}
|
|
.md-button.md-dense {
|
|
min-height: 32px;
|
|
line-height: 32px;
|
|
font-size: 13px;
|
|
}
|
|
.md-button.md-icon-button .md-icon, .md-button.md-fab .md-icon {
|
|
margin-top: 1px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.md-button.md-icon-button {
|
|
width: 40px;
|
|
min-width: 40px;
|
|
height: 40px;
|
|
margin: 0 6px;
|
|
padding: 8px;
|
|
border-radius: 50%;
|
|
line-height: 24px;
|
|
}
|
|
.md-button.md-icon-button:not([disabled]):hover {
|
|
background: none;
|
|
}
|
|
.md-button.md-icon-button.md-dense {
|
|
width: 32px;
|
|
min-width: 32px;
|
|
height: 32px;
|
|
min-height: 32px;
|
|
padding: 4px;
|
|
line-height: 32px;
|
|
}
|
|
.md-button.md-icon-button .md-ink-ripple {
|
|
border-radius: 50%;
|
|
}
|
|
.md-button.md-icon-button .md-ink-ripple .md-ripple {
|
|
top: 0 !important;
|
|
right: 0 !important;
|
|
bottom: 0 !important;
|
|
left: 0 !important;
|
|
}
|
|
.md-button.md-icon-button .md-ripple.md-active {
|
|
animation-duration: .9s;
|
|
}
|
|
.md-button.md-fab {
|
|
width: 56px;
|
|
height: 56px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
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);
|
|
border-radius: 56px;
|
|
line-height: 56px;
|
|
background-clip: padding-box;
|
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
transition-property: background-color, box-shadow, transform;
|
|
}
|
|
.md-button.md-fab:hover, .md-button.md-fab:focus {
|
|
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 5px 8px rgba(0, 0, 0, 0.14), 0 1px 14px rgba(0, 0, 0, 0.12);
|
|
}
|
|
.md-button.md-fab.md-fab-top-left {
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 16px;
|
|
}
|
|
.md-button.md-fab.md-fab-top-center {
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
.md-button.md-fab.md-fab-top-right {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 16px;
|
|
}
|
|
.md-button.md-fab.md-fab-bottom-left {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
left: 16px;
|
|
}
|
|
.md-button.md-fab.md-fab-bottom-center {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
.md-button.md-fab.md-fab-bottom-right {
|
|
position: absolute;
|
|
right: 16px;
|
|
bottom: 16px;
|
|
}
|
|
.md-button.md-fab.md-mini {
|
|
width: 40px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
.md-button.md-fab .md-ink-ripple {
|
|
border-radius: 56px;
|
|
}
|
|
.md-button[disabled] {
|
|
color: rgba(0, 0, 0, 0.26);
|
|
cursor: default;
|
|
}
|
|
.md-button[disabled].md-raised, .md-button[disabled].md-fab {
|
|
background-color: rgba(0, 0, 0, 0.12);
|
|
}
|
|
.md-button[disabled].md-fab {
|
|
box-shadow: none;
|
|
}
|
|
.md-button:after {
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
}
|
|
.md-button .md-ink-ripple {
|
|
border-radius: 2px;
|
|
background-clip: padding-box;
|
|
overflow: hidden;
|
|
}
|
|
.md-button.md-icon-button .md-icon,
|
|
.md-button.md-fab .md-icon {
|
|
display: block;
|
|
}
|
|
.md-button-tooltip.md-tooltip-top {
|
|
margin-top: -8px;
|
|
}
|
|
.md-button-tooltip.md-tooltip-right {
|
|
margin-left: 8px;
|
|
}
|
|
.md-button-tooltip.md-tooltip-bottom {
|
|
margin-top: 8px;
|
|
}
|
|
.md-button-tooltip.md-tooltip-left {
|
|
margin-left: -8px;
|
|
}
|
|
|
|
/*# sourceMappingURL=index.css.map*/ |