You are here

acquia_lift.card.css in Acquia Lift Connector 7.2

.el-card__gist:before, .el-card__summary:before, .el-card:before, .el-card__header:before, .el-card__content:before, .el-card__footer:before, .el-card__gist:after, .el-card__summary:after, .el-card:after, .el-card__header:after, .el-card__content:after, .el-card__footer:after {
  content: " ";
  display: table;
}
.el-card__gist:after, .el-card__summary:after, .el-card:after, .el-card__header:after, .el-card__content:after, .el-card__footer:after {
  clear: both;
}

/**
 * Provide general styles for cards.
 */
.el-card__gist, .el-card__summary, .el-card {
  border: .08rem solid #cccccc;
  box-shadow: 0 .05rem 0 #cccccc;
  font-family: "Helvetica Neue", helvetica, "Segoe UI", segoe, "Ubuntu", "Droid Sans", "Arial", sans-serif;
  margin: .5rem;
  position: relative;
  top: 0;
  transition: all .4s;
}

.el-card__header {
  background-color: #e6e9ed;
  margin: 0;
  padding: 0 0.75rem;
  transition: all .4s;
}

.el-card__title {
  font-size: 1.125rem;
  line-height: 1.33333;
  margin-top: 0;
  padding-top: 0.37rem;
  float: left;
  font-weight: bold;
}

.el-card__content {
  box-sizing: border-box;
  height: auto;
  max-height: 100rem;
  overflow: visible;
  padding: 0.5rem;
  background-color: #fff;
  transition: all .4s;
}

.el-card__footer {
  background-color: #eeeeee;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

ul.el-card__actions {
  float: right;
  left: -100%;
  margin: 0;
  margin-right: -100%;
  padding: 0;
  position: relative;
}

.el-card__action {
  display: inline-block;
}

.el-card__action a,
.el-card__action__link {
  display: inline-block;
}

.el-card__flag {
 position: relative;
 max-height: 3rem;
 margin-left: -1.599rem; /* LTR */
 margin-bottom: .88rem;
 padding-left: .769rem;
 transition: all .4s;
 -webkit-transform-origin: .384rem bottom;
     -ms-transform-origin: .384rem bottom;
         transform-origin: .384rem bottom;
}
.el-card__flag.is-hidden {
  overflow: hidden;
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);
 }

.el-card__flag__label {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.el-card__flag__content {
  display: inline-block;
  padding: 0 .75rem;
  background-color: #90cd44;
}
.el-card__flag__content::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0; /* LTR */
  width: 0;
  height: 0;
  overflow: hidden;
  border: .769em solid transparent;
  border-color: #90cd44 #90cd44 #90cd44 transparent; /* LTR */
  transition: all .4s;
  -webkit-transform-origin: right;
      -ms-transform-origin: right;
          transform-origin: right;
}

/**
 * Add styles for different variations.
 */
/**
 * Add styles for different states.
 */
html.js .is-compact .el-card__content {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow-y: hidden;
}
html.js .is-compact .el-card__flag__content::before {
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
}

.is-active {
  margin-right: .5rem;
  margin-left: .5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(170, 170, 170, 0.6);
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

.is-compact .el-card__header {
  background-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.el-card .el-card__title[aria-controls] {
  cursor: pointer;
}
html.js [data-card-collapsible="true"] .el-card__title:before {
  position: relative;
  margin-left: .5em; /* LTR */
  left: -.5em; /* LTR */
  vertical-align: text-bottom;
}
[data-card-collapsible="true"]:not(.is-compact) .el-card__header .el-card__title:before {
  content: url('../images/000000/menu-expanded.png');
}

.is-compact .el-card__header .el-card__title:before {
  content: url('../images/000000/menu-collapsed.png'); /* LTR */
}

.el-card:not(.is-sortable) .el-card__dragger {
  display: none;
}
.el-card .el-card__dragger {
  width: 24px;
  height: 24px;
  cursor: move;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  background: transparent url(../images/000000/drag.png) no-repeat;
  float: left;
  margin-top: .37rem;
  margin-left: -0.5rem;
}
.el-card .el-card__dragger:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
}

.is-disabled .el-card__header {
  background-color: #e6e9ed;
  color: #999;
}
.is-disabled .el-card__content {
  opacity: 0.6;
}

File

css/acquia_lift.card.css
View source
  1. .el-card__gist:before, .el-card__summary:before, .el-card:before, .el-card__header:before, .el-card__content:before, .el-card__footer:before, .el-card__gist:after, .el-card__summary:after, .el-card:after, .el-card__header:after, .el-card__content:after, .el-card__footer:after {
  2. content: " ";
  3. display: table;
  4. }
  5. .el-card__gist:after, .el-card__summary:after, .el-card:after, .el-card__header:after, .el-card__content:after, .el-card__footer:after {
  6. clear: both;
  7. }
  8. /**
  9. * Provide general styles for cards.
  10. */
  11. .el-card__gist, .el-card__summary, .el-card {
  12. border: .08rem solid #cccccc;
  13. box-shadow: 0 .05rem 0 #cccccc;
  14. font-family: "Helvetica Neue", helvetica, "Segoe UI", segoe, "Ubuntu", "Droid Sans", "Arial", sans-serif;
  15. margin: .5rem;
  16. position: relative;
  17. top: 0;
  18. transition: all .4s;
  19. }
  20. .el-card__header {
  21. background-color: #e6e9ed;
  22. margin: 0;
  23. padding: 0 0.75rem;
  24. transition: all .4s;
  25. }
  26. .el-card__title {
  27. font-size: 1.125rem;
  28. line-height: 1.33333;
  29. margin-top: 0;
  30. padding-top: 0.37rem;
  31. float: left;
  32. font-weight: bold;
  33. }
  34. .el-card__content {
  35. box-sizing: border-box;
  36. height: auto;
  37. max-height: 100rem;
  38. overflow: visible;
  39. padding: 0.5rem;
  40. background-color: #fff;
  41. transition: all .4s;
  42. }
  43. .el-card__footer {
  44. background-color: #eeeeee;
  45. padding-right: 0.75rem;
  46. padding-left: 0.75rem;
  47. }
  48. ul.el-card__actions {
  49. float: right;
  50. left: -100%;
  51. margin: 0;
  52. margin-right: -100%;
  53. padding: 0;
  54. position: relative;
  55. }
  56. .el-card__action {
  57. display: inline-block;
  58. }
  59. .el-card__action a,
  60. .el-card__action__link {
  61. display: inline-block;
  62. }
  63. .el-card__flag {
  64. position: relative;
  65. max-height: 3rem;
  66. margin-left: -1.599rem; /* LTR */
  67. margin-bottom: .88rem;
  68. padding-left: .769rem;
  69. transition: all .4s;
  70. -webkit-transform-origin: .384rem bottom;
  71. -ms-transform-origin: .384rem bottom;
  72. transform-origin: .384rem bottom;
  73. }
  74. .el-card__flag.is-hidden {
  75. overflow: hidden;
  76. max-height: 0;
  77. margin-bottom: 0;
  78. opacity: 0;
  79. visibility: hidden;
  80. -webkit-transform: scale(0);
  81. -ms-transform: scale(0);
  82. transform: scale(0);
  83. }
  84. .el-card__flag__label {
  85. position: absolute;
  86. width: 0;
  87. height: 0;
  88. overflow: hidden;
  89. }
  90. .el-card__flag__content {
  91. display: inline-block;
  92. padding: 0 .75rem;
  93. background-color: #90cd44;
  94. }
  95. .el-card__flag__content::before {
  96. content: '';
  97. display: block;
  98. position: absolute;
  99. top: 0;
  100. left: 0; /* LTR */
  101. width: 0;
  102. height: 0;
  103. overflow: hidden;
  104. border: .769em solid transparent;
  105. border-color: #90cd44 #90cd44 #90cd44 transparent; /* LTR */
  106. transition: all .4s;
  107. -webkit-transform-origin: right;
  108. -ms-transform-origin: right;
  109. transform-origin: right;
  110. }
  111. /**
  112. * Add styles for different variations.
  113. */
  114. /**
  115. * Add styles for different states.
  116. */
  117. html.js .is-compact .el-card__content {
  118. max-height: 0;
  119. padding-top: 0;
  120. padding-bottom: 0;
  121. overflow-y: hidden;
  122. }
  123. html.js .is-compact .el-card__flag__content::before {
  124. -webkit-transform: scaleX(0);
  125. -ms-transform: scaleX(0);
  126. transform: scaleX(0);
  127. }
  128. .is-active {
  129. margin-right: .5rem;
  130. margin-left: .5rem;
  131. box-shadow: 0 0.2rem 0.5rem rgba(170, 170, 170, 0.6);
  132. border-bottom-left-radius: .5rem;
  133. border-bottom-right-radius: .5rem;
  134. }
  135. .is-compact .el-card__header {
  136. background-color: transparent;
  137. padding-top: 0;
  138. padding-bottom: 0;
  139. }
  140. .el-card .el-card__title[aria-controls] {
  141. cursor: pointer;
  142. }
  143. html.js [data-card-collapsible="true"] .el-card__title:before {
  144. position: relative;
  145. margin-left: .5em; /* LTR */
  146. left: -.5em; /* LTR */
  147. vertical-align: text-bottom;
  148. }
  149. [data-card-collapsible="true"]:not(.is-compact) .el-card__header .el-card__title:before {
  150. content: url('../images/000000/menu-expanded.png');
  151. }
  152. .is-compact .el-card__header .el-card__title:before {
  153. content: url('../images/000000/menu-collapsed.png'); /* LTR */
  154. }
  155. .el-card:not(.is-sortable) .el-card__dragger {
  156. display: none;
  157. }
  158. .el-card .el-card__dragger {
  159. width: 24px;
  160. height: 24px;
  161. cursor: move;
  162. cursor: -webkit-grab;
  163. cursor: -moz-grab;
  164. background: transparent url(../images/000000/drag.png) no-repeat;
  165. float: left;
  166. margin-top: .37rem;
  167. margin-left: -0.5rem;
  168. }
  169. .el-card .el-card__dragger:active {
  170. cursor: -webkit-grabbing;
  171. cursor: -moz-grabbing;
  172. }
  173. .is-disabled .el-card__header {
  174. background-color: #e6e9ed;
  175. color: #999;
  176. }
  177. .is-disabled .el-card__content {
  178. opacity: 0.6;
  179. }