scrolling.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /* ----------------------------------
  2. * Scrolling
  3. * ---------------------------------- */
  4. nav[data-type="scrollbar"] {
  5. position: absolute;
  6. right: 0;
  7. top: 0;
  8. bottom: 0;
  9. }
  10. /* Mirror */
  11. nav[data-type="scrollbar"] p {
  12. position: absolute;
  13. right: 5rem;
  14. top: 20%;
  15. margin: 0;
  16. width: 12rem;
  17. height: 12rem;
  18. border-radius: 50%;
  19. opacity: 0;
  20. font-weight: 300;
  21. font-size: 7rem;
  22. line-height: 12rem;
  23. color: #fff;
  24. background: rgba(51,204,204,0.8);
  25. pointer-events: none;
  26. text-align: center;
  27. transition: opacity;
  28. }
  29. nav[data-type="scrollbar"] p img {
  30. position: absolute;
  31. width: 4.8rem;
  32. left: 3.5rem;
  33. top: 3.5rem;
  34. }
  35. nav[data-type="scrollbar"] ol {
  36. padding: 0.3rem 0;
  37. margin: 0;
  38. height: 100%;
  39. -moz-box-sizing: border-box;
  40. border-radius: 4rem;
  41. opacity: 0.6;
  42. list-style: none;
  43. }
  44. nav[data-type="scrollbar"] li {
  45. font-size: 1.1rem;
  46. line-height: 1.4em;
  47. text-align: center;
  48. text-transform: uppercase;
  49. width: 4.5rem;
  50. height: 3.44%; /* 100% / 29 items */
  51. }
  52. nav[data-type="scrollbar"] li a {
  53. display: block;
  54. color: #aaa;
  55. width: 100%;
  56. height: 100%;
  57. text-indent: 1.5rem;
  58. text-decoration: none;
  59. }
  60. /* Top action icons */
  61. nav[data-type="scrollbar"] li .pack-icon-search,
  62. nav[data-type="scrollbar"] li .pack-icon-favorites {
  63. width: 1.2rem;
  64. height: 1.2rem;
  65. font-size: 0;
  66. vertical-align: middle;
  67. background: transparent no-repeat center center / 1.2rem;
  68. }
  69. nav[data-type="scrollbar"] li span:not([hidden]) {
  70. display: inline-block;
  71. }
  72. nav[data-type="scrollbar"] li .pack-icon-search {
  73. background-image: url(scrolling/images/icons/search.svg);
  74. background-size: 1.8rem
  75. }
  76. nav[data-type="scrollbar"] li .pack-icon-favorites {
  77. background-image: url(scrolling/images/icons/favorites.svg);
  78. }
  79. /* Themes */
  80. /*.skin-comms*/ nav[data-type="scrollbar"] p {
  81. background: rgba(51,204,204,0.8);
  82. }