mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-21 21:41:53 +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
248 lines
No EOL
6.3 KiB
CSS
248 lines
No EOL
6.3 KiB
CSS
/* Common
|
|
========================================================================== */
|
|
/* Transitions - Based on Angular Material
|
|
========================================================================== */
|
|
/* Elevation - Based on Angular Material
|
|
========================================================================== */
|
|
.md-list {
|
|
margin: 0;
|
|
padding: 8px 0;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-flow: column nowrap;
|
|
flex-flow: column nowrap;
|
|
position: relative;
|
|
list-style: none;
|
|
}
|
|
.md-list.md-dense {
|
|
padding: 4px 0;
|
|
}
|
|
.md-list.md-dense .md-list-item.md-inset .md-list-item-container {
|
|
padding-left: 72px;
|
|
}
|
|
.md-list.md-dense .md-list-item .md-list-item-container {
|
|
min-height: 40px;
|
|
font-size: 13px;
|
|
}
|
|
.md-list.md-dense .md-list-item .md-list-item-container .md-avatar:first-child {
|
|
margin-right: 24px;
|
|
}
|
|
.md-list.md-dense .md-avatar {
|
|
width: 32px;
|
|
min-width: 32px;
|
|
height: 32px;
|
|
min-height: 32px;
|
|
}
|
|
.md-list.md-dense .md-list-item-expand {
|
|
min-height: 40px;
|
|
}
|
|
.md-list.md-double-line.md-dense .md-list-item .md-list-item-container {
|
|
min-height: 60px;
|
|
}
|
|
.md-list.md-double-line.md-dense .md-list-item .md-avatar {
|
|
width: 36px;
|
|
min-width: 36px;
|
|
height: 36px;
|
|
min-height: 36px;
|
|
}
|
|
.md-list.md-double-line.md-dense .md-list-item .md-avatar:first-child {
|
|
margin-right: 20px;
|
|
}
|
|
.md-list.md-double-line.md-dense .md-list-text-container > :nth-child(1) {
|
|
font-size: 13px;
|
|
}
|
|
.md-list.md-double-line.md-dense .md-list-text-container > :nth-child(2) {
|
|
font-size: 13px;
|
|
}
|
|
.md-list.md-double-line .md-list-item .md-list-item-container {
|
|
min-height: 72px;
|
|
}
|
|
.md-list.md-triple-line.md-dense .md-list-item .md-list-item-container {
|
|
min-height: 76px;
|
|
}
|
|
.md-list.md-triple-line.md-dense .md-list-item .md-avatar {
|
|
width: 36px;
|
|
min-width: 36px;
|
|
height: 36px;
|
|
min-height: 36px;
|
|
}
|
|
.md-list.md-triple-line.md-dense .md-list-item .md-avatar:first-child {
|
|
margin-right: 20px;
|
|
}
|
|
.md-list.md-triple-line.md-dense .md-list-text-container > :nth-child(1) {
|
|
font-size: 13px;
|
|
}
|
|
.md-list.md-triple-line.md-dense .md-list-text-container > :nth-child(2) {
|
|
font-size: 13px;
|
|
}
|
|
.md-list.md-triple-line .md-list-item .md-list-item-container {
|
|
min-height: 88px;
|
|
}
|
|
.md-list.md-triple-line .md-avatar {
|
|
margin: 0;
|
|
}
|
|
.md-list.md-triple-line .md-list-item-container {
|
|
-ms-flex-align: start;
|
|
align-items: flex-start;
|
|
}
|
|
.md-list .md-subheader.md-inset {
|
|
padding-left: 72px;
|
|
}
|
|
.md-list > .md-subheader:first-of-type {
|
|
margin-top: -8px;
|
|
}
|
|
.md-list-item {
|
|
height: auto;
|
|
position: relative;
|
|
}
|
|
.md-list-item.md-inset .md-list-item-container {
|
|
padding-left: 72px;
|
|
}
|
|
.md-list-item .md-list-item-holder {
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-flow: row nowrap;
|
|
flex-flow: row nowrap;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
.md-list-item .md-list-item-holder > .md-ink-ripple {
|
|
border-radius: 0;
|
|
}
|
|
.md-list-item .md-list-item-holder > .md-icon:first-child {
|
|
margin-right: 32px;
|
|
}
|
|
.md-list-item .md-list-item-holder .md-avatar:first-child {
|
|
margin-right: 16px;
|
|
}
|
|
.md-list-item .md-list-item-holder .md-list-action {
|
|
margin: 0 -2px 0 0;
|
|
}
|
|
.md-list-item .md-list-item-holder .md-list-action:nth-child(3) {
|
|
margin: 0 -2px 0 16px;
|
|
}
|
|
.md-list-item .md-list-item-container {
|
|
width: 100%;
|
|
min-height: 48px;
|
|
margin: 0;
|
|
padding: 0 16px;
|
|
position: relative;
|
|
border-radius: 0;
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
text-align: left;
|
|
text-transform: none;
|
|
}
|
|
.md-list-item .md-divider {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
}
|
|
.md-list-item .md-icon,
|
|
.md-list-item .md-avatar {
|
|
margin: 0;
|
|
}
|
|
.md-list-item .md-icon:first-of-type + *,
|
|
.md-list-item .md-avatar:first-of-type + * {
|
|
-ms-flex: 1 1 auto;
|
|
flex: 1 1 auto;
|
|
}
|
|
.md-list-item .md-avatar {
|
|
margin-top: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.md-list-item .md-icon {
|
|
color: rgba(0, 0, 0, 0.54);
|
|
}
|
|
.md-list-item-expand {
|
|
min-height: 48px;
|
|
-ms-flex-flow: column wrap;
|
|
flex-flow: column wrap;
|
|
overflow: hidden;
|
|
}
|
|
.md-list-item-expand:before, .md-list-item-expand:after {
|
|
height: 1px;
|
|
position: absolute;
|
|
right: 0;
|
|
left: 0;
|
|
z-index: 3;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
content: " ";
|
|
}
|
|
.md-list-item-expand:before {
|
|
top: 0;
|
|
}
|
|
.md-list-item-expand:after {
|
|
bottom: 0;
|
|
}
|
|
.md-list-item-expand.md-active {
|
|
position: relative;
|
|
}
|
|
.md-list-item-expand.md-active:before, .md-list-item-expand.md-active:after {
|
|
background-color: rgba(0, 0, 0, 0.12);
|
|
}
|
|
.md-list-item-expand.md-active:first-of-type:before {
|
|
background: none;
|
|
}
|
|
.md-list-item-expand.md-active:last-of-type:after {
|
|
background: none;
|
|
}
|
|
.md-list-item-expand.md-active > .md-list-item-container .md-list-expand-indicator {
|
|
transform: rotateZ(180deg) translate3D(0, 0, 0);
|
|
}
|
|
.md-list-item-expand.md-active > .md-list-expand {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
.md-list-item-expand > .md-list-item-container > .md-list-item-holder {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
.md-list-item-expand .md-expansion-indicator,
|
|
.md-list-item-expand .md-list-item-container,
|
|
.md-list-item-expand .md-icon {
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
}
|
|
.md-list-item-expand .md-list-expand {
|
|
position: relative;
|
|
z-index: 1;
|
|
transform: translate3D(0, 0, 0);
|
|
will-change: margin-bottom;
|
|
transition: all 0.5s cubic-bezier(0.35, 0, 0.25, 1);
|
|
}
|
|
.md-list-item-expand .md-list-expand.md-transition-off {
|
|
transition: none;
|
|
}
|
|
.md-list-item-expand .md-list-expand .md-list {
|
|
padding: 0;
|
|
}
|
|
.md-list-text-container {
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-flow: column nowrap;
|
|
flex-flow: column nowrap;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
line-height: 1.25em;
|
|
text-overflow: ellipsis;
|
|
white-space: normal;
|
|
}
|
|
.md-list-text-container > :nth-child(1) {
|
|
font-size: 16px;
|
|
}
|
|
.md-list-text-container > :nth-child(2),
|
|
.md-list-text-container > :nth-child(3) {
|
|
margin: 0;
|
|
color: rgba(0, 0, 0, 0.54);
|
|
font-size: 14px;
|
|
}
|
|
.md-list-text-container > :nth-child(2):not(:last-child) {
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
|
|
/*# sourceMappingURL=index.css.map*/ |