You are here

views_isotope.css in Views Isotope (Deprecated) 7

Same filename and directory in other branches
  1. 7.2 views_isotope.css
/* Start: Recommended Isotope styles */

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
          transition-duration: 0s;
}

/* End: Recommended Isotope styles */



/* disable CSS transitions for isotope-containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
     -moz-transition: none;
          transition: none;
}

.isotope-element a,
.isotope-element a code {
  color: #fff !important;
  text-decoration: none;
  -moz-transition: none;
  -webkit-transition: none;
  transition: none;
}

.isotope-element a:hover,
.isotope-element a:hover code { 
  color: #fff; 
}

.isotope-element a:active,
.isotope-element a:active code {
  color: #fff;
}

/**** Isotope styles ****/

/* required for isotope-containers to inherit vertical size from window */
html,
body {
  height: 100%;
}

.isotope-element {
  width: 150px;
  height: 150px;
  margin: 10px 10px;
  float: left;
  overflow: hidden;
  position: relative;
  background: #bebebe;
  color: #fff;
}

.isotope-element img {
  width: 150px;
  margin: 0 auto;
  text-align: center;
}


.variable-sizes .isotope-element.width2 { width: 230px; }

.variable-sizes .isotope-element.height2 { height: 230px; }

.variable-sizes .isotope-element.width2.height2 {
  font-size: 2.0em;
}

.isotope-element.large,
.variable-sizes .isotope-element.large,
.variable-sizes .isotope-element.large.width2.height2 {
  font-size: 3.0em;
  width: 350px;
  height: 350px;
  z-index: 100;
}

.clickable .isotope-element:hover {
  cursor: pointer;
}

.clickable .isotope-element:hover h3 {
  text-shadow:
    0 0 10px white,
    0 0 10px white
  ;
}

.clickable .isotope-element:hover h2 {
  color: white;
}

/**** Example Filters ****/

#isotope-options {
  background-color: #EEEEEE; 
}

.view-isotope-example ul {
    list-style: none outside none;
    margin: 0;
}

.view-isotope-example li {
    display: block;
    padding: 3px 10px;
    text-align: center;
    float: left;
}

File

views_isotope.css
View source
  1. /* Start: Recommended Isotope styles */
  2. /**** Isotope Filtering ****/
  3. .isotope-item {
  4. z-index: 2;
  5. }
  6. .isotope-hidden.isotope-item {
  7. pointer-events: none;
  8. z-index: 1;
  9. }
  10. /**** Isotope CSS3 transitions ****/
  11. .isotope,
  12. .isotope .isotope-item {
  13. -webkit-transition-duration: 0.8s;
  14. -moz-transition-duration: 0.8s;
  15. transition-duration: 0.8s;
  16. }
  17. .isotope {
  18. -webkit-transition-property: height, width;
  19. -moz-transition-property: height, width;
  20. transition-property: height, width;
  21. }
  22. .isotope .isotope-item {
  23. -webkit-transition-property: -webkit-transform, opacity;
  24. -moz-transition-property: -moz-transform, opacity;
  25. transition-property: transform, opacity;
  26. }
  27. /**** disabling Isotope CSS3 transitions ****/
  28. .isotope.no-transition,
  29. .isotope.no-transition .isotope-item,
  30. .isotope .isotope-item.no-transition {
  31. -webkit-transition-duration: 0s;
  32. -moz-transition-duration: 0s;
  33. transition-duration: 0s;
  34. }
  35. /* End: Recommended Isotope styles */
  36. /* disable CSS transitions for isotope-containers with infinite scrolling*/
  37. .isotope.infinite-scrolling {
  38. -webkit-transition: none;
  39. -moz-transition: none;
  40. transition: none;
  41. }
  42. .isotope-element a,
  43. .isotope-element a code {
  44. color: #fff !important;
  45. text-decoration: none;
  46. -moz-transition: none;
  47. -webkit-transition: none;
  48. transition: none;
  49. }
  50. .isotope-element a:hover,
  51. .isotope-element a:hover code {
  52. color: #fff;
  53. }
  54. .isotope-element a:active,
  55. .isotope-element a:active code {
  56. color: #fff;
  57. }
  58. /**** Isotope styles ****/
  59. /* required for isotope-containers to inherit vertical size from window */
  60. html,
  61. body {
  62. height: 100%;
  63. }
  64. .isotope-element {
  65. width: 150px;
  66. height: 150px;
  67. margin: 10px 10px;
  68. float: left;
  69. overflow: hidden;
  70. position: relative;
  71. background: #bebebe;
  72. color: #fff;
  73. }
  74. .isotope-element img {
  75. width: 150px;
  76. margin: 0 auto;
  77. text-align: center;
  78. }
  79. .variable-sizes .isotope-element.width2 { width: 230px; }
  80. .variable-sizes .isotope-element.height2 { height: 230px; }
  81. .variable-sizes .isotope-element.width2.height2 {
  82. font-size: 2.0em;
  83. }
  84. .isotope-element.large,
  85. .variable-sizes .isotope-element.large,
  86. .variable-sizes .isotope-element.large.width2.height2 {
  87. font-size: 3.0em;
  88. width: 350px;
  89. height: 350px;
  90. z-index: 100;
  91. }
  92. .clickable .isotope-element:hover {
  93. cursor: pointer;
  94. }
  95. .clickable .isotope-element:hover h3 {
  96. text-shadow:
  97. 0 0 10px white,
  98. 0 0 10px white
  99. ;
  100. }
  101. .clickable .isotope-element:hover h2 {
  102. color: white;
  103. }
  104. /**** Example Filters ****/
  105. #isotope-options {
  106. background-color: #EEEEEE;
  107. }
  108. .view-isotope-example ul {
  109. list-style: none outside none;
  110. margin: 0;
  111. }
  112. .view-isotope-example li {
  113. display: block;
  114. padding: 3px 10px;
  115. text-align: center;
  116. float: left;
  117. }