mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-23 22:35:49 +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
323 lines
No EOL
8.2 KiB
CSS
323 lines
No EOL
8.2 KiB
CSS
/* Common
|
|
========================================================================== */
|
|
/* Transitions - Based on Angular Material
|
|
========================================================================== */
|
|
/* Elevation - Based on Angular Material
|
|
========================================================================== */
|
|
.md-table {
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-flow: column wrap;
|
|
flex-flow: column wrap;
|
|
overflow-x: auto;
|
|
}
|
|
.md-table.md-transition-off .md-table-cell,
|
|
.md-table.md-transition-off .md-checkbox .md-checkbox-container,
|
|
.md-table.md-transition-off .md-checkbox .md-checkbox-container:after {
|
|
transition: none !important;
|
|
}
|
|
.md-table table {
|
|
width: 100%;
|
|
border-spacing: 0;
|
|
border-collapse: collapse;
|
|
overflow: hidden;
|
|
}
|
|
.md-table tbody .md-table-row {
|
|
border-top: 1px solid #e0e0e0;
|
|
}
|
|
.md-table tbody .md-table-row.md-selected .md-table-cell {
|
|
background-color: #f5f5f5;
|
|
}
|
|
.md-table tbody .md-table-row:hover .md-table-cell {
|
|
background-color: #eee;
|
|
}
|
|
.md-table .md-table-head {
|
|
padding: 0;
|
|
position: relative;
|
|
color: rgba(0, 0, 0, 0.54);
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
text-align: left;
|
|
}
|
|
.md-table .md-table-head:last-child .md-table-head-container .md-table-head-text {
|
|
padding-right: 24px;
|
|
}
|
|
.md-table .md-table-head.md-numeric {
|
|
text-align: right;
|
|
}
|
|
.md-table .md-table-head .md-icon {
|
|
width: 16px;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
min-height: 16px;
|
|
font-size: 16px;
|
|
color: rgba(0, 0, 0, 0.54);
|
|
}
|
|
.md-table .md-table-head .md-icon:not(.md-sortable-icon) {
|
|
margin: 0 4px;
|
|
}
|
|
.md-table .md-table-head .md-icon:first-child {
|
|
margin-left: 0;
|
|
}
|
|
.md-table .md-table-head .md-icon:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.md-table .md-table-head-container {
|
|
height: 56px;
|
|
padding: 14px 0;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
}
|
|
.md-table .md-table-head-text {
|
|
height: 28px;
|
|
padding-right: 32px;
|
|
padding-left: 24px;
|
|
display: inline-block;
|
|
position: relative;
|
|
overflow: hidden;
|
|
line-height: 28px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.md-table .md-sortable {
|
|
cursor: pointer;
|
|
}
|
|
.md-table .md-sortable:first-of-type .md-sortable-icon {
|
|
left: auto;
|
|
right: 10px;
|
|
}
|
|
.md-table .md-sortable:hover, .md-table .md-sortable.md-sorted {
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
.md-table .md-sortable:hover .md-sortable-icon, .md-table .md-sortable.md-sorted .md-sortable-icon {
|
|
opacity: 1;
|
|
}
|
|
.md-table .md-sortable.md-sorted .md-sortable-icon {
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
.md-table .md-sortable.md-sorted-descending .md-sortable-icon {
|
|
transform: translateY(-50%) rotate(180deg);
|
|
}
|
|
.md-table .md-sortable .md-sortable-icon {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 2px;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
transform: translateY(-50%);
|
|
opacity: 0;
|
|
color: rgba(0, 0, 0, 0.38);
|
|
}
|
|
.md-table .md-sortable .md-ink-ripple {
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
.md-table .md-table-cell {
|
|
height: 48px;
|
|
position: relative;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
color: rgba(0, 0, 0, 0.87);
|
|
font-size: 13px;
|
|
line-height: 18px;
|
|
}
|
|
.md-table .md-table-cell:last-child .md-table-cell-container {
|
|
padding-right: 24px;
|
|
}
|
|
.md-table .md-table-cell.md-numeric {
|
|
text-align: right;
|
|
}
|
|
.md-table .md-table-cell.md-numeric .md-table-cell-container {
|
|
-ms-flex-pack: end;
|
|
justify-content: flex-end;
|
|
}
|
|
.md-table .md-table-cell.md-has-action .md-table-cell-container {
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
}
|
|
.md-table .md-table-cell .md-table-cell-container {
|
|
padding: 6px 32px 6px 24px;
|
|
}
|
|
.md-table .md-table-cell .md-button {
|
|
width: 36px;
|
|
min-width: 36px;
|
|
height: 36px;
|
|
min-height: 36px;
|
|
}
|
|
.md-table .md-table-cell .md-button:last-child {
|
|
margin: 0 -10px 0 0;
|
|
}
|
|
.md-table .md-table-cell .md-button .md-icon {
|
|
width: 18px;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
min-height: 18px;
|
|
margin: 0;
|
|
color: rgba(0, 0, 0, 0.54);
|
|
font-size: 18px;
|
|
}
|
|
.md-table .md-table-selection {
|
|
width: 60px;
|
|
position: relative;
|
|
vertical-align: middle;
|
|
}
|
|
.md-table .md-table-selection + .md-table-cell .md-table-cell-container,
|
|
.md-table .md-table-selection + .md-table-head .md-table-head-container .md-table-head-text {
|
|
padding-left: 8px;
|
|
}
|
|
.md-table .md-table-selection .md-table-cell-container {
|
|
padding-right: 16px;
|
|
padding-left: 24px;
|
|
}
|
|
.md-table .md-table-selection .md-checkbox {
|
|
margin: 0;
|
|
}
|
|
.md-table .md-table-selection .md-checkbox-container {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-top: 1px;
|
|
}
|
|
.md-table .md-table-selection .md-checkbox-container:after {
|
|
top: -1px;
|
|
left: 4px;
|
|
}
|
|
.md-table .md-select {
|
|
min-width: 84px;
|
|
}
|
|
.md-table .md-select-value,
|
|
.md-table .md-option {
|
|
font-size: 13px;
|
|
}
|
|
.md-table-edit-trigger {
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
color: rgba(0, 0, 0, 0.38);
|
|
}
|
|
.md-table-edit-trigger.md-edited {
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
.md-table-dialog {
|
|
max-height: 0;
|
|
margin: 0;
|
|
padding: 0 24px 2px;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 24px;
|
|
z-index: 60;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
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);
|
|
background-color: #fff;
|
|
opacity: 0;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), max-height 0s 0.5s;
|
|
transition-duration: .3s;
|
|
transform: translate3D(0, -8px, 0);
|
|
}
|
|
.md-table-dialog.md-active {
|
|
max-height: 400px;
|
|
pointer-events: auto;
|
|
transform: translate3D(#000);
|
|
opacity: 1;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
transition-duration: .3s;
|
|
}
|
|
.md-table-dialog.md-large {
|
|
padding: 12px 24px 2px;
|
|
}
|
|
.md-table-dialog .md-input-container {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
.md-table-dialog .md-input-container.md-input-placeholder input {
|
|
font-size: 13px;
|
|
}
|
|
.md-table-dialog .md-input-container.md-input-placeholder input::-webkit-input-placeholder {
|
|
font-size: 13px;
|
|
}
|
|
.md-table-dialog .md-char-counter {
|
|
font-size: 13.5px;
|
|
color: rgba(0, 0, 0, 0.54);
|
|
}
|
|
.md-table-dialog .md-button {
|
|
min-width: 64px;
|
|
}
|
|
.md-table-card {
|
|
overflow: visible;
|
|
}
|
|
.md-table-card .md-toolbar {
|
|
padding-left: 16px;
|
|
background-color: #fff;
|
|
}
|
|
.md-table-card .md-title {
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
font-size: 20px;
|
|
}
|
|
.md-table-card .md-table-pagination {
|
|
height: 56px;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-ms-flex-pack: end;
|
|
justify-content: flex-end;
|
|
border-top: 1px solid #e0e0e0;
|
|
color: rgba(0, 0, 0, 0.54);
|
|
font-size: 12px;
|
|
}
|
|
.md-table-card .md-table-pagination .md-table-pagination-previous {
|
|
margin-right: 2px;
|
|
margin-left: 18px;
|
|
}
|
|
.md-table-card .md-table-pagination .md-select {
|
|
width: auto;
|
|
min-width: 36px;
|
|
margin: 0 32px;
|
|
}
|
|
.md-table-card .md-table-pagination .md-select:after {
|
|
margin-top: 0;
|
|
}
|
|
.md-table-card .md-table-pagination .md-select .md-select-value {
|
|
padding: 0;
|
|
border: none;
|
|
font-size: 13px;
|
|
}
|
|
.md-table-card .md-table-pagination .md-button:not([disabled]) {
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
.md-table-card .md-table-pagination .md-button[disabled] .md-icon {
|
|
color: rgba(0, 0, 0, 0.26);
|
|
}
|
|
.md-pagination-select.md-direction-bottom-right {
|
|
margin-top: -16px;
|
|
}
|
|
.md-pagination-select .md-list-item-holder {
|
|
font-size: 13px;
|
|
}
|
|
.md-table-alternate-header {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
transition-duration: .3s;
|
|
}
|
|
.md-table-alternate-header.md-active {
|
|
pointer-events: auto;
|
|
opacity: 1;
|
|
transform: translate3D(#000);
|
|
}
|
|
.md-table-alternate-header .md-counter {
|
|
margin-left: 8px;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
/*# sourceMappingURL=index.css.map*/ |