fine_card.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. .fine.card {
  2. font-family: 'Roboto', sans-serif;
  3. font-weight: 300;
  4. font-size: 14px;
  5. }
  6. .fine.card h5 {
  7. font-size: 1em;
  8. font-weight: 600;
  9. line-height: 1.2em;
  10. margin: 0;
  11. }
  12. .fine.card {
  13. font-size: 1em;
  14. overflow: hidden;
  15. padding: 0;
  16. border: none;
  17. border-radius: 0.2em;
  18. box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
  19. height: 400px;
  20. }
  21. .fine.card .card-block {
  22. font-size: 1em;
  23. position: relative;
  24. margin: 0;
  25. padding: 1em;
  26. border: none;
  27. border-top: 1px solid rgba(34, 36, 38, .1);
  28. box-shadow: none;
  29. }
  30. .fine.card .card-img-top {
  31. display: block;
  32. width: 100%;
  33. height: auto;
  34. max-height: 255px;
  35. }
  36. .fine.card figure.profile {
  37. /*opacity: 0;*/
  38. width: 40px;
  39. height: 40px;
  40. top: -25px;
  41. }
  42. .fine.card figure.profile img {
  43. /*opacity: 0;*/
  44. /*width: 30px;*/
  45. /*height: 30px;*/
  46. }
  47. .fine.card .card-title {
  48. font-size: 1.28571429em;
  49. font-weight: 700;
  50. line-height: 1.2857em;
  51. }
  52. .fine.card .card-text {
  53. clear: both;
  54. margin-top: .5em;
  55. color: rgba(0, 0, 0, .68);
  56. position: absolute;
  57. top: 0;
  58. left: 0;
  59. opacity: 0;
  60. -webkit-transition: all 400ms ease-in-out;
  61. transition: all 400ms ease-in-out;
  62. }
  63. .fine.card .card-footer {
  64. display: block;
  65. position: absolute;
  66. font-size: 0.9em;
  67. z-index: 5;
  68. bottom: 0;
  69. left: 0;
  70. width: 100%;
  71. padding: .5em 1em;
  72. color: rgba(0, 0, 0, .4);
  73. border-top: 1px solid rgba(0, 0, 0, .05) !important;
  74. background: #fff;
  75. vertical-align: middle;
  76. }
  77. .fine.card .card-footer i {
  78. float: right;
  79. height: 1.3em;
  80. border-radius: 0.1em;
  81. border: 1px dashed #ca5354;
  82. padding: 0.2em;
  83. display: inline-block;
  84. font-size: 1.5em;
  85. color: #ca5354;
  86. }
  87. .fine.card .card-footer i:hover {
  88. background-color: #ca5354;
  89. color: #eee;
  90. }
  91. .fine.card .card-inverse .btn {
  92. border: 1px solid rgba(0, 0, 0, .05);
  93. }
  94. .fine.card .profile {
  95. position: absolute;
  96. top: -12px;
  97. display: inline-block;
  98. overflow: hidden;
  99. box-sizing: border-box;
  100. width: 25px;
  101. height: 25px;
  102. margin: 0;
  103. /*border: 1px solid #fff;*/
  104. border-radius: 50%;
  105. }
  106. .fine.card .profile-avatar {
  107. display: block;
  108. width: 100%;
  109. height: auto;
  110. border-radius: 50%;
  111. }
  112. .fine.card .profile-inline {
  113. position: relative;
  114. top: 0;
  115. display: inline-block;
  116. }
  117. .fine.card .profile-inline ~ .card-title {
  118. display: inline-block;
  119. margin-left: 4px;
  120. vertical-align: top;
  121. }
  122. .fine.card.text-bold {
  123. font-weight: 700;
  124. }
  125. .fine.card .card-block a[role="button"] {
  126. position: absolute;
  127. top: 15px;
  128. right: -50px;
  129. opacity: 0;
  130. z-index: -1;
  131. -webkit-transition: right 400ms ease-in;
  132. transition: right 400ms ease-in;
  133. }
  134. .fine.card .meta {
  135. padding-top: 5px;
  136. font-size: 0.9em;
  137. }
  138. .fine.card .meta a {
  139. text-decoration: none;
  140. color: rgba(50,105, 155, .7);
  141. }
  142. .fine.card .meta a:hover {
  143. color: rgba(0, 0, 0, .87);
  144. }
  145. .fine.card:hover .card-text {
  146. position: absolute;
  147. text-align: center;
  148. padding: 10px;
  149. padding-top: 85px;
  150. top: -10px;
  151. height: 380px;
  152. z-index: 4;
  153. opacity: 1;
  154. width: 100%;
  155. background-color: whitesmoke;
  156. /*-webkit-transition: all 400ms ease-in-out;*/
  157. /*transition: all 400ms ease-in-out;*/
  158. }
  159. .fine.card:hover > img {
  160. position: absolute;
  161. /*top: -30%;*/
  162. z-index: 1;
  163. opacity: 0;
  164. -webkit-transition: all 500ms ease-in-out;
  165. transition: all 500ms ease-in-out;
  166. }
  167. .fine.card:hover figure.profile {
  168. position: absolute;
  169. top: 5px;
  170. left: 5px;
  171. opacity: 1;
  172. z-index: 5;
  173. width: 70px;
  174. height: 70px;
  175. /*-webkit-transition: opacity 400ms ease-in-out;*/
  176. -webkit-transition: all 400ms ease-in-out;
  177. /*transition: opacity 400ms ease-in-out;*/
  178. transition: all 400ms ease-in-out;
  179. }
  180. .fine.card:hover figure.profile img {
  181. z-index: 5;
  182. }
  183. .fine.card:hover .card-block a[role="button"] {
  184. z-index: 5;
  185. opacity: 1;
  186. top: 15px;
  187. right: 15px;
  188. }
  189. .fine.card:hover {
  190. box-shadow: 2px 2px 0.8em grey;
  191. }
  192. /*#dashboard .card:hover .card-footer {*/
  193. /*height: 5px;*/
  194. /*padding-top: 0;*/
  195. /*background: #eb3719;*/
  196. /*box-shadow: 1px 1px 1px red, 0 0 1em #ec5626;*/
  197. /*transition: height .5s ease, background-color .5s ease;*/
  198. /*}*/
  199. /*#dashboard .card:hover .card-footer button {*/
  200. /*height: 1px;*/
  201. /*}*/