You are here

mostpopular-full.css in Drupal Most Popular 6

Same filename and directory in other branches
  1. 7 css/mostpopular-full.css
Non-displayable characters.

File

css/mostpopular-full.css
View source
  1. /*
  2. * Drupal Most Popular - Showcase the most popular content across your Drupal website and engage your audience.
  3. * Copyright © 2010 New Signature
  4. *
  5. * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  6. * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  7. * You should have received a copy of the GNU General Public License along with this program. If not, see .
  8. * You can contact New Signature by electronic mail at labs@newsignature.com –or- by U.S. Postal Service at 1100 H St. NW, Suite 940, Washington, DC 20005.
  9. */
  10. /**
  11. * Most Popular Basic Styles
  12. *
  13. * This is an example of basics styles for the Most Popular block. It is meant to give you
  14. * a good start with styling it.
  15. *
  16. * It depends upon the [module root]/mostpopular/css/mostpopular-basic.css.
  17. */
  18. /*
  19. * Typography
  20. */
  21. /**
  22. * The type treatment for the top two rows of filters.
  23. */
  24. .mostpopular .mostpopular--intervals a,
  25. .mostpopular .mostpopular--services a,
  26. .mostpopular .mostpopular--label {
  27. /* font-family: Arial, sans-serif; */
  28. /* font-size: 14px; */
  29. /* text-decoration: none; */
  30. }
  31. /**
  32. * The type treatment for the filter labels.
  33. */
  34. .mostpopular .mostpopular--label {
  35. font-weight: bold;
  36. }
  37. /**
  38. * The type treatment for the current filter link.
  39. */
  40. .mostpopular .mostpopular--intervals .selected a,
  41. .mostpopular .mostpopular--services .selected a {
  42. text-decoration: none;
  43. }
  44. /**
  45. * The type treatment for the result items.
  46. */
  47. .mostpopular .mostpopular--items {
  48. /* font-family: Arial, sans-serif; */
  49. /* font-size: 15px; */
  50. }
  51. /**
  52. * The type treatment for the article title and link
  53. */
  54. .mostpopular .mostpopular--items a {
  55. text-decoration: none;
  56. }
  57. /**
  58. * The type treatment for the article title
  59. */
  60. .mostpopular .mostpopular--items .title {
  61. /* font-weight: bold; */
  62. }
  63. /**
  64. * The type treatment for the popularity count for each article
  65. */
  66. .mostpopular .mostpopular--items .count {
  67. font-size: 85%;
  68. }
  69. /*
  70. * Color
  71. */
  72. /**
  73. * The border color around the Most Popular block box.
  74. */
  75. .mostpopular {
  76. border-color: #333;
  77. }
  78. /**
  79. * The background color for the service filter bar.
  80. */
  81. .mostpopular .mostpopular--services {
  82. background-color: #bbb;
  83. }
  84. /**
  85. * The border color for the bottom of the service filter bar.
  86. */
  87. .mostpopular .mostpopular--services,
  88. .mostpopular .mostpopular--services .selected a {
  89. border-color: #aaa;
  90. }
  91. /**
  92. * The background color for the interval filter bar.
  93. */
  94. .mostpopular .mostpopular--intervals,
  95. .mostpopular .mostpopular--services .selected a {
  96. background-color: #ddd;
  97. }
  98. /**
  99. * The border color for the bottom of the interval filter bar.
  100. */
  101. .mostpopular .mostpopular--intervals,
  102. .mostpopular .mostpopular--intervals .selected a {
  103. border-color: #ccc;
  104. }
  105. /**
  106. * The background color for the content area.
  107. */
  108. .mostpopular .mostpopular--content,
  109. .mostpopular .mostpopular--intervals .selected a {
  110. background-color: white;
  111. }
  112. /**
  113. * The color for the services filter bar label.
  114. */
  115. .mostpopular .mostpopular--services .mostpopular--label {
  116. /* color: #000; */
  117. }
  118. /**
  119. * The color for the interval filter bar label.
  120. */
  121. .mostpopular .mostpopular--interval .mostpopular--label {
  122. /* color: #000; */
  123. }
  124. /**
  125. * The color and background for the services links.
  126. */
  127. .mostpopular .mostpopular--services a {
  128. /* color: blue; */
  129. /* background-color: white; */
  130. }
  131. /**
  132. * The color and background for the interval links.
  133. */
  134. .mostpopular .mostpopular--interval a {
  135. /* color: blue; */
  136. /* background-color: white; */
  137. }
  138. /**
  139. * The color for the selected service link.
  140. */
  141. .mostpopular .mostpopular--services .selected a {
  142. /* color: blue; */
  143. }
  144. /**
  145. * The color for the selected interval link.
  146. */
  147. .mostpopular .mostpopular--interval .selected a {
  148. /* color: blue; */
  149. }
  150. /**
  151. * The color for the items links.
  152. */
  153. .mostpopular .mostpopular--items a {
  154. /* color: blue; */
  155. /* background-color: transparent; */
  156. }
  157. /**
  158. * The color for the items count.
  159. */
  160. .mostpopular .mostpopular--items a .count {
  161. color: #666;
  162. }
  163. /**
  164. * The hover color for the items links.
  165. */
  166. .mostpopular .mostpopular--items a:hover {
  167. /* color: blue; */
  168. background-color: #f0f0f0;
  169. }
  170. /*
  171. * Layout
  172. */
  173. /**
  174. * Layout for the most popular box container.
  175. */
  176. .mostpopular {
  177. border-style: solid;
  178. border-width: 1px;
  179. display: block;
  180. }
  181. /**
  182. * Layout for the label for filters.
  183. */
  184. .mostpopular .mostpopular--label {
  185. padding-right: 0.25em;
  186. }
  187. /**
  188. * Layout for the filter bars.
  189. */
  190. .mostpopular .mostpopular--services,
  191. .mostpopular .mostpopular--intervals {
  192. padding: 3px 2px 0 2px;
  193. border-bottom-style: solid;
  194. border-bottom-width: 1px;
  195. }
  196. /**
  197. * Layout for the filter links.
  198. */
  199. .mostpopular .mostpopular--intervals a,
  200. .mostpopular .mostpopular--services a {
  201. display: block;
  202. }
  203. /**
  204. * Layout for the selected filter links.
  205. */
  206. .mostpopular .mostpopular--intervals .selected a,
  207. .mostpopular .mostpopular--services .selected a {
  208. padding: 0 3px 1px;
  209. margin-bottom: -1px; /* knock out the border below the active link */
  210. border-style: solid;
  211. border-width: 1px 1px 0 1px;
  212. /* Give it rounded corners on the top. */
  213. -moz-border-radius: 3px 3px 0 0;
  214. -webkit-border-top-right-radius: 3px;
  215. -webkit-border-top-left-radius: 3px;
  216. border-radius: 3px 3px 0 0;
  217. }
  218. /**
  219. * Layout for the results items list.
  220. */
  221. .mostpopular .mostpopular--items {
  222. padding: 0;
  223. margin: 0;
  224. display: block;
  225. list-style-type: none;
  226. }
  227. /**
  228. * Layout for the results item list items.
  229. */
  230. .mostpopular ul.mostpopular--items li {
  231. padding: 0;
  232. margin: 0;
  233. display: block;
  234. list-style-type: none;
  235. }
  236. /**
  237. * Layout for the results item links.
  238. */
  239. .mostpopular .mostpopular--items a {
  240. padding: .25em .5em;
  241. display: block;
  242. }
  243. /**
  244. * Layout for the results item first link.
  245. */
  246. .mostpopular .mostpopular--items .first a {
  247. /* Double the padding to the bottom to match the spacing between links */
  248. padding-top: .5em;
  249. }
  250. /**
  251. * Layout for the results item last link.
  252. */
  253. .mostpopular .mostpopular--items .last a {
  254. /* Double the padding to the top to match the spacing between links */
  255. padding-bottom: .5em;
  256. }