You are here

views.ticker.scroller.css in Views Ticker 7.2

Same filename and directory in other branches
  1. 6.2 views.ticker.scroller.css
  2. 7 views.ticker.scroller.css
/*
 * Default styles
 */
.views-scroller-horizontal-container {
  width: 600px;
  height: 40px;
  overflow: hidden;
}

.views-scroller-horizontal-item {
  display: inline;
  margin-right: 20px;
}

.views-scroller-vertical-container {
  width: 210px;
  height: 160px;
  overflow: hidden;
}

.views-scroller-vertical-item {
  margin-top: 20px;
}
.views-scroller-vertical-item span {
  display: block;
}

/*
 * Jscroller styles
 */
.jscroller2_up,
.jscroller2_down,
.jscroller2_left,
.jscroller2_right {
  margin: 0;
  padding: 0;
}

.jscroller2_left,
.jscroller_right,
.jscroller2_left_endless,
.jscroller2_right_endless {
  white-space: nowrap;
}

/*
 * liScroll styles
 */
.liScroll-container {
  width: 738px;
  height: 27px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* This providing a sort of padding both left and right. */
.liScroll-container .mask {
  position: relative;
  left: 10px;
  top: 8px;
  width: 718px;
  overflow: hidden;
}

/* That's your list */
ul.liScroll {
  position: relative;
  left: 750px;
  font: bold 10px Verdana;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/*
 * Important: display inline gives incorrect results
 * when you check for the width of the element.
 */
ul.liScroll li {
  float: left;
  margin: 0;
  padding: 0;
}

ul.liScroll a {
  white-space: nowrap;
  padding: 0;
  margin: 0 50px 0 0;
}

ul.liScroll span {
  margin: 0 10px 0 0;
}

File

views.ticker.scroller.css
View source
  1. /*
  2. * Default styles
  3. */
  4. .views-scroller-horizontal-container {
  5. width: 600px;
  6. height: 40px;
  7. overflow: hidden;
  8. }
  9. .views-scroller-horizontal-item {
  10. display: inline;
  11. margin-right: 20px;
  12. }
  13. .views-scroller-vertical-container {
  14. width: 210px;
  15. height: 160px;
  16. overflow: hidden;
  17. }
  18. .views-scroller-vertical-item {
  19. margin-top: 20px;
  20. }
  21. .views-scroller-vertical-item span {
  22. display: block;
  23. }
  24. /*
  25. * Jscroller styles
  26. */
  27. .jscroller2_up,
  28. .jscroller2_down,
  29. .jscroller2_left,
  30. .jscroller2_right {
  31. margin: 0;
  32. padding: 0;
  33. }
  34. .jscroller2_left,
  35. .jscroller_right,
  36. .jscroller2_left_endless,
  37. .jscroller2_right_endless {
  38. white-space: nowrap;
  39. }
  40. /*
  41. * liScroll styles
  42. */
  43. .liScroll-container {
  44. width: 738px;
  45. height: 27px;
  46. margin: 0;
  47. padding: 0;
  48. overflow: hidden;
  49. }
  50. /* This providing a sort of padding both left and right. */
  51. .liScroll-container .mask {
  52. position: relative;
  53. left: 10px;
  54. top: 8px;
  55. width: 718px;
  56. overflow: hidden;
  57. }
  58. /* That's your list */
  59. ul.liScroll {
  60. position: relative;
  61. left: 750px;
  62. font: bold 10px Verdana;
  63. list-style-type: none;
  64. margin: 0;
  65. padding: 0;
  66. }
  67. /*
  68. * Important: display inline gives incorrect results
  69. * when you check for the width of the element.
  70. */
  71. ul.liScroll li {
  72. float: left;
  73. margin: 0;
  74. padding: 0;
  75. }
  76. ul.liScroll a {
  77. white-space: nowrap;
  78. padding: 0;
  79. margin: 0 50px 0 0;
  80. }
  81. ul.liScroll span {
  82. margin: 0 10px 0 0;
  83. }