tile-box.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .tile-box {
  2. line-height: inherit;
  3. display: block;
  4. position: relative;
  5. height: auto;
  6. padding: 0;
  7. text-align: center;
  8. border-width: 1px;
  9. border-style: solid;
  10. }
  11. .tile-header {
  12. font-size: 14px;
  13. padding: 5px 10px;
  14. text-align: left;
  15. text-transform: uppercase;
  16. border: 0 !important;
  17. background: rgba(255, 255, 255, .2);
  18. }
  19. .tile-header .float-right {
  20. opacity: .60;
  21. -moz-opacity: .60;
  22. filter: alpha(opacity: 60);
  23. }
  24. .tile-content-wrapper {
  25. position: relative;
  26. overflow: hidden;
  27. padding: 10px;
  28. }
  29. .tile-content {
  30. font-size: 35px;
  31. text-align: right;
  32. }
  33. .tile-content span {
  34. font-size: 25px;
  35. opacity: .70;
  36. -moz-opacity: .70;
  37. filter: alpha(opacity: 70);
  38. }
  39. .tile-content-wrapper small {
  40. font-size: 14px;
  41. display: block;
  42. text-align: right;
  43. opacity: .70;
  44. -moz-opacity: .70;
  45. filter: alpha(opacity: 70);
  46. }
  47. .tile-content-wrapper > .glyph-icon {
  48. font-size: 35px;
  49. line-height: 70px;
  50. position: absolute;
  51. top: 50%;
  52. left: 15px;
  53. height: 70px;
  54. margin-top: -36px;
  55. opacity: .30;
  56. -moz-opacity: .30;
  57. filter: alpha(opacity: 30);
  58. }
  59. .tile-footer {
  60. display: block;
  61. margin: 0;
  62. padding: 5px 10px;
  63. text-align: left;
  64. color: inherit;
  65. background: rgba(0, 0, 0, .1);
  66. }
  67. .bg-white .tile-footer {
  68. border-top-style: solid;
  69. border-top-width: 1px;
  70. }
  71. .tile-footer:hover {
  72. opacity: .80;
  73. color: inherit;
  74. -moz-opacity: .80;
  75. filter: alpha(opacity: 80);
  76. }
  77. .tile-footer .glyph-icon {
  78. float: right;
  79. }
  80. .tile-box-alt .tile-header {
  81. padding: 10px;
  82. text-align: center;
  83. }
  84. .tile-box-alt .tile-content-wrapper > .glyph-icon {
  85. font-size: 65px;
  86. margin-top: -32px;
  87. }
  88. .tile-box-shortcut:hover .tile-content-wrapper > .glyph-icon,
  89. a.tile-box.btn .tile-header .float-right,
  90. a.tile-box.btn .tile-content-wrapper > .glyph-icon {
  91. -webkit-transition: all .2s ease-in-out;
  92. -moz-transition: all .2s ease-in-out;
  93. -ms-transition: all .2s ease-in-out;
  94. -o-transition: all .2s ease-in-out;
  95. }
  96. a.tile-box.btn:hover .tile-content-wrapper > .glyph-icon {
  97. opacity: .70;
  98. -moz-opacity: .70;
  99. filter: alpha(opacity: 70);
  100. }
  101. a.tile-box.btn:hover .tile-header .float-right {
  102. opacity: .90;
  103. -moz-opacity: .90;
  104. filter: alpha(opacity: 90);
  105. }
  106. .tile-content-wrapper .easyPieChart {
  107. margin-top: -5px;
  108. margin-bottom: -5px;
  109. font-size: 19px;
  110. font-weight: 100;
  111. }
  112. .tile-box-shortcut .tile-header {
  113. background: none;
  114. padding: 0;
  115. position: absolute;
  116. right: 10px;
  117. bottom: 6px;
  118. font-size: 13px;
  119. font-weight: 400;
  120. }
  121. .tile-box-shortcut .bs-badge {
  122. left: auto;
  123. right: 10px;
  124. top: 10px;
  125. background: rgba(0, 0, 0, 0.5);
  126. }
  127. .tile-box-shortcut .tile-content-wrapper {
  128. padding: 0;
  129. min-height: 80px;
  130. }
  131. .tile-box-shortcut .tile-content-wrapper > .glyph-icon {
  132. position: absolute;
  133. left: 15px;
  134. top: 30px;
  135. }
  136. .tile-box-shortcut:hover .tile-content-wrapper > .glyph-icon {
  137. opacity: .80;
  138. -moz-opacity: .80;
  139. filter: alpha(opacity: 80);
  140. }
  141. .tile-box:hover { text-decoration:none; }