You are here

views_isotope_example.css in Views Isotope (Deprecated) 7.2

CSS for the provided examples.

File

views_isotope_example/views_isotope_example.css
View source
  1. /**
  2. * @file
  3. * CSS for the provided examples.
  4. */
  5. * {
  6. -webkit-box-sizing: border-box;
  7. -moz-box-sizing: border-box;
  8. box-sizing: border-box;
  9. }
  10. /* ---- button ---- */
  11. .filterbutton,
  12. .sorterbutton {
  13. display: inline-block;
  14. padding: 0.5em 1.0em;
  15. background: #eee;
  16. border: none;
  17. border-radius: 7px;
  18. background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  19. color: #222;
  20. font-family: sans-serif;
  21. font-size: 16px;
  22. text-shadow: 0 1px white;
  23. cursor: pointer;
  24. }
  25. .filterbutton:hover,
  26. .sorterbutton:hover {
  27. background-color: #8cf;
  28. text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  29. color: #222;
  30. }
  31. .filterbutton:active,
  32. .filterbutton.selected,
  33. .sorterbutton:active,
  34. .sorterbutton.selected {
  35. background-color: #28f;
  36. }
  37. .filterbutton.selected,
  38. .sorterbutton.selected {
  39. color: white;
  40. text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
  41. }
  42. .filterbutton:active,
  43. .sorterbutton:active {
  44. box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
  45. }
  46. /* ---- button-group ---- */
  47. ul.isotope-options {
  48. list-style: none;
  49. margin: 0;
  50. padding: 0;
  51. }
  52. ul.isotope-options li {
  53. float: left;
  54. list-style: none;
  55. margin: 0;
  56. padding: 0;
  57. }
  58. .isotope-options:after {
  59. content: '';
  60. display: block;
  61. clear: both;
  62. }
  63. .isotope-options .filterbutton,
  64. .isotope-options .sorterbutton {
  65. float: left;
  66. border-radius: 0;
  67. margin-left: 0;
  68. margin-right: 1px;
  69. }
  70. .isotope-options li:first-child .filterbutton,
  71. .isotope-options li:first-child .sorterbutton {
  72. border-radius: 0.5em 0 0 0.5em;
  73. }
  74. .isotope-options li:last-child .filterbutton,
  75. .isotope-options li:last-child .sorterbutton {
  76. border-radius: 0 0.5em 0.5em 0;
  77. }
  78. .item-list ul.isotope-options {
  79. list-style: none;
  80. display: inline-block;
  81. margin-right: 20px;
  82. padding: 0;
  83. }
  84. .item-list ul.isotope-options li {
  85. padding: 0;
  86. margin: 0;
  87. }
  88. /* ---- isotope ---- */
  89. .isotope-container {
  90. background: #ddd;
  91. max-width: 1200px;
  92. }
  93. /* clear fix */
  94. .isotope-container:after {
  95. content: '';
  96. display: block;
  97. clear: both;
  98. }
  99. .item-list ul.isotope-container {
  100. list-style: none;
  101. margin: 0;
  102. padding: 0;
  103. }
  104. /* color-shape */
  105. .item-list li.isotope-element {
  106. list-style: none;
  107. margin: 5px;
  108. padding: 0;
  109. }
  110. .isotope-element {
  111. width: 70px;
  112. height: 70px;
  113. margin: 5px;
  114. float: left;
  115. background: black;
  116. }
  117. .isotope-element * {
  118. display: none;
  119. }
  120. .isotope-element.round {
  121. border-radius: 35px;
  122. }
  123. .isotope-element.big.round {
  124. border-radius: 75px;
  125. }
  126. .isotope-element.red {
  127. background: red;
  128. }
  129. .isotope-element.blue {
  130. background: blue;
  131. }
  132. .isotope-element.yellow {
  133. background: yellow;
  134. }
  135. .isotope-element.wide,
  136. .isotope-element.big {
  137. width: 150px;
  138. }
  139. .isotope-element.tall,
  140. .isotope-element.big {
  141. height: 150px;
  142. }
  143. .thisIsCustomisedLabel {
  144. color: red;
  145. }