vue-material/dist/components/mdCard/index.css
Marcos Moura 627639b9dc 0.4.0
* 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
2016-12-05 01:57:58 -02:00

301 lines
No EOL
7.4 KiB
CSS

/* Common
========================================================================== */
/* Transitions - Based on Angular Material
========================================================================== */
/* Elevation - Based on Angular Material
========================================================================== */
.md-card {
overflow: auto;
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
z-index: 1;
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);
}
.md-card.md-with-hover {
cursor: pointer;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
transition-property: box-shadow;
}
.md-card.md-with-hover:hover {
z-index: 2;
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
.md-card .md-card-media {
position: relative;
}
.md-card .md-card-media.md-16-9 {
overflow: hidden;
}
.md-card .md-card-media.md-16-9:before {
width: 100%;
padding-top: 56.25%;
display: block;
content: " ";
}
.md-card .md-card-media.md-16-9 img {
position: absolute;
top: 50%;
right: 0;
left: 0;
transform: translateY(-50%);
}
.md-card .md-card-media.md-4-3 {
overflow: hidden;
}
.md-card .md-card-media.md-4-3:before {
width: 100%;
padding-top: 75%;
display: block;
content: " ";
}
.md-card .md-card-media.md-4-3 img {
position: absolute;
top: 50%;
right: 0;
left: 0;
transform: translateY(-50%);
}
.md-card .md-card-media.md-1-1 {
overflow: hidden;
}
.md-card .md-card-media.md-1-1:before {
width: 100%;
padding-top: 100%;
display: block;
content: " ";
}
.md-card .md-card-media.md-1-1 img {
position: absolute;
top: 50%;
right: 0;
left: 0;
transform: translateY(-50%);
}
.md-card .md-card-media + .md-card-header {
padding-top: 24px;
}
.md-card .md-card-media + .md-card-content:last-child {
padding-bottom: 16px;
}
.md-card .md-card-media img {
width: 100%;
}
.md-card .md-card-header {
padding: 16px;
}
.md-card .md-card-header:first-child > .md-title:first-child,
.md-card .md-card-header:first-child > .md-card-header-text > .md-title:first-child {
margin-top: 8px;
}
.md-card .md-card-header:last-child {
margin-bottom: 8px;
}
.md-card .md-card-header.md-card-header-flex {
display: -ms-flexbox;
display: flex;
-ms-flex-pack: justify;
justify-content: space-between;
}
.md-card .md-card-header + .md-card-content {
padding-top: 0;
}
.md-card .md-card-header + .md-card-actions:not(:last-child) {
padding: 0 8px;
}
.md-card .md-card-header .md-avatar {
margin-right: 16px;
float: left;
}
.md-card .md-card-header .md-avatar ~ .md-title {
font-size: 14px;
}
.md-card .md-card-header .md-avatar ~ .md-title,
.md-card .md-card-header .md-avatar ~ .md-subhead {
font-weight: 500;
line-height: 20px;
}
.md-card .md-card-header .md-button {
margin: 0;
}
.md-card .md-card-header .md-button:last-child {
margin-right: -4px;
}
.md-card .md-card-header .md-button + .md-button {
margin-left: 8px;
}
.md-card .md-card-header .md-card-header-text {
-ms-flex: 1;
flex: 1;
}
.md-card .md-card-header .md-card-media {
width: 80px;
-ms-flex: 0 0 80px;
flex: 0 0 80px;
height: 80px;
margin-left: 16px;
}
.md-card .md-card-header .md-card-media.md-medium {
width: 120px;
-ms-flex: 0 0 120px;
flex: 0 0 120px;
height: 120px;
}
.md-card .md-card-header .md-card-media.md-big {
width: 160px;
-ms-flex: 0 0 160px;
flex: 0 0 160px;
height: 160px;
}
.md-card .md-subhead,
.md-card .md-title,
.md-card .md-subheading {
margin: 0;
font-weight: 400;
}
.md-card .md-subhead {
opacity: .54;
font-size: 14px;
letter-spacing: .01em;
line-height: 20px;
}
.md-card .md-subhead + .md-title {
margin-top: 4px;
}
.md-card .md-title {
font-size: 24px;
letter-spacing: 0;
line-height: 32px;
}
.md-card .md-card-media-actions {
padding: 16px;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: justify;
justify-content: space-between;
}
.md-card .md-card-media-actions .md-card-media {
max-width: 240px;
max-height: 240px;
-ms-flex: 1;
flex: 1;
}
.md-card .md-card-media-actions .md-card-actions {
margin-left: 16px;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-pack: start;
justify-content: flex-start;
-ms-flex-align: center;
align-items: center;
}
.md-card .md-card-media-actions .md-card-actions .md-button + .md-button {
margin: 8px 0 0;
}
.md-card .md-card-content {
padding: 16px;
font-size: 14px;
line-height: 22px;
}
.md-card .md-card-content:last-child {
padding-bottom: 24px;
}
.md-card .md-card-actions {
padding: 8px;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: end;
justify-content: flex-end;
-ms-flex-align: center;
align-items: center;
}
.md-card .md-card-actions .md-button {
margin: 0;
}
.md-card .md-card-actions .md-button:first-child {
margin-left: 0;
}
.md-card .md-card-actions .md-button:last-child {
margin-right: 0;
}
.md-card .md-card-actions .md-button + .md-button {
margin-left: 4px;
}
.md-card .md-card-area {
position: relative;
}
.md-card > .md-card-area:not(:last-child) {
position: relative;
}
.md-card > .md-card-area:not(:last-child):after {
height: 1px;
position: absolute;
bottom: 0;
content: " ";
}
.md-card > .md-card-area:not(:last-child):not(.md-inset):after {
right: 0;
left: 0;
}
.md-card > .md-card-area:not(:last-child).md-inset:after {
right: 16px;
left: 16px;
}
.md-card .md-card-media-cover {
position: relative;
color: #fff;
}
.md-card .md-card-media-cover.md-text-scrim .md-card-backdrop {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
}
.md-card .md-card-media-cover .md-card-area {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 2;
}
.md-card .md-card-media-cover .md-card-header + .md-card-actions {
padding-top: 0;
}
.md-card .md-card-media-cover .md-subhead {
opacity: 1;
}
.md-card .md-card-expand {
overflow: hidden;
}
.md-card .md-card-expand.md-active [md-expand-trigger] {
transform: rotateZ(180deg) translate3D(0, 0, 0);
}
.md-card .md-card-expand.md-active .md-card-content {
margin-top: 0 !important;
opacity: 1;
}
.md-card .md-card-expand .md-card-actions {
padding-top: 0;
position: relative;
z-index: 2;
}
.md-card .md-card-expand [md-expand-trigger] {
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
will-change: transform;
}
.md-card .md-card-expand .md-card-content {
padding-top: 4px;
position: relative;
z-index: 1;
opacity: 0;
transform: translate3D(0, 0, 0);
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
will-change: margin;
}
/*# sourceMappingURL=index.css.map*/