You are here

views_isotope_example.css in Brainstorm profile 7

CSS for the provided examples.

File

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