pure-extras.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. /* Images */
  2. .pure-img-eliptical {
  3. border-radius: 80%;
  4. }
  5. .pure-img-rounded {
  6. border-radius: 3px;
  7. }
  8. .pure-img-bordered {
  9. background-color: #FFFFFF;
  10. border: 1px solid rgba(0, 0, 0, 0.2);
  11. padding: 5px;
  12. }
  13. /* Thumbnails */
  14. .pure-thumbnails li {
  15. text-align: center;
  16. display: inline-block;
  17. *display: inline;
  18. /* IE7 inline-block hack */
  19. *zoom: 1;
  20. vertical-align: top;
  21. -webkit-box-sizing: border-box;
  22. -moz-box-sizing: border-box;
  23. box-sizing: border-box;
  24. padding: 0.5em;
  25. }
  26. .pure-thumbnails {
  27. list-style: none;
  28. margin: 0;
  29. padding: 0;
  30. }
  31. .pure-thumbnails a:focus {
  32. outline: 0 none;
  33. }
  34. .pure-thumb {
  35. display: block;
  36. text-decoration: none;
  37. color: inherit;
  38. }
  39. .pure-thumb img {
  40. max-width: 100%;
  41. margin-right: auto;
  42. margin-left: auto;
  43. vertical-align: middle; /* this will remove a thin line below the image */
  44. -webkit-box-sizing: border-box;
  45. -moz-box-sizing: border-box;
  46. box-sizing: border-box;
  47. }
  48. .pure-thumb-bordered {
  49. border: 1px solid rgba(0, 0, 0, 0.2);
  50. }
  51. .pure-thumb .caption {
  52. text-align: left;
  53. display: block;
  54. margin: 0 5px 6px;
  55. }
  56. .pure-thumb .caption p {
  57. margin: 0.3em 0 0;
  58. font-size: 75%;
  59. }
  60. .pure-thumb .caption .caption-head {
  61. font-weight: bold;
  62. margin-top: 0.3em;
  63. }
  64. .pure-thumb-eliptical img {
  65. border-radius: 50%;
  66. }
  67. .pure-thumb-rounded img {
  68. border-radius: 3px;
  69. }
  70. /* Badges/Pills */
  71. .pure-badge,
  72. .pure-badge-error,
  73. .pure-badge-warning,
  74. .pure-badge-success,
  75. .pure-badge-info,
  76. .pure-badge-inverse {
  77. padding: 0.35em 0.9em 0.35em;
  78. background-color: #9D988E;
  79. color: #fff;
  80. display: inline-block;
  81. font-size: 11.844px;
  82. font-weight: bold;
  83. line-height: 1.2em;
  84. vertical-align: baseline;
  85. white-space: nowrap;
  86. border-radius: 20px;
  87. margin: 0.2em;
  88. }
  89. .pure-badge-error {
  90. background-color: #D13C38;
  91. }
  92. .pure-badge-warning {
  93. background-color: #E78C05;
  94. }
  95. .pure-badge-success {
  96. background-color: rgb(83, 180, 79);
  97. }
  98. .pure-badge-info {
  99. background-color: rgb(18, 169, 218);
  100. }
  101. .pure-badge-inverse {
  102. background-color: #4D370C;
  103. }
  104. /* Alerts */
  105. .pure-alert {
  106. position: relative;
  107. margin-bottom: 1em;
  108. padding: 1em;
  109. background: #ccc;
  110. border-radius: 3px;
  111. }
  112. .pure-alert label {
  113. display: inline-block;
  114. *display: inline;
  115. /* IE7 inline-block hack */
  116. *zoom: 1;
  117. white-space: nowrap;
  118. }
  119. .pure-alert {
  120. background-color: rgb(209, 235, 238);
  121. color: rgb(102, 131, 145);
  122. }
  123. .pure-alert-error {
  124. background-color: #D13C38;
  125. color: #fff;
  126. }
  127. .pure-alert-warning {
  128. background-color: rgb(250, 191, 103);
  129. color: rgb(151, 96, 13);
  130. }
  131. .pure-alert-success {
  132. background-color: rgb(83, 180, 79);
  133. color: #fff;
  134. }
  135. /* Contextual Modals */
  136. .pure-popover {
  137. position: relative;
  138. width: 300px;
  139. background-color: #f0f1f3;
  140. color: #2f3034;
  141. padding: 15px;
  142. border: 1px solid #bfc0c8;
  143. border-radius: 2px;
  144. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  145. box-padding: border-box;
  146. -webkit-background-clip: padding-box;
  147. -moz-background-clip: padding;
  148. background-clip: padding-box;
  149. }
  150. .pure-arrow-border, .pure-arrow {
  151. border-style: solid;
  152. border-width: 10px;
  153. height:0;
  154. width:0;
  155. position:absolute;
  156. }
  157. /* POPOVER ARROW POSITIONING BOTTOM */
  158. .pure-popover.bottom .pure-arrow-border {
  159. border-color: #bfc0c8 transparent transparent transparent;
  160. bottom: -20px;
  161. left: 50%;
  162. }
  163. .pure-popover.bottom .pure-arrow {
  164. border-color: #f0f1f3 transparent transparent transparent;
  165. bottom:-19px;
  166. left: 50%;
  167. }
  168. /* POPOVER ARROW POSITIONING TOP*/
  169. .pure-popover.top .pure-arrow-border {
  170. border-color: transparent transparent #bfc0c8 transparent;
  171. top: -21px;
  172. left: 50%;
  173. }
  174. .pure-popover.top .pure-arrow {
  175. border-color: transparent transparent #f0f1f3 transparent;
  176. top:-20px;
  177. left: 50%;
  178. }
  179. /* POPOVER ARROW POSITIONING RIGHT*/
  180. .pure-popover.right .pure-arrow-border {
  181. border-color: transparent transparent transparent #bfc0c8;
  182. top: 45%;
  183. right: -21px;
  184. }
  185. .pure-popover.right .pure-arrow {
  186. border-color: transparent transparent transparent #f0f1f3;
  187. top:45%;
  188. right: -20px;
  189. }
  190. /* POPOVER ARROW POSITIONING LEFT*/
  191. .pure-popover.left .pure-arrow-border {
  192. border-color: transparent #bfc0c8 transparent transparent;
  193. top: 45%;
  194. left: -21px;
  195. }
  196. .pure-popover.left .pure-arrow {
  197. border-color: transparent #f0f1f3 transparent transparent;
  198. top:45%;
  199. left: -20px;
  200. }
  201. /* BUTTON IMPROVEMENTS */
  202. .pure-button-block {
  203. display: block;
  204. }
  205. .pure-button-small {
  206. padding: .6em 2em .65em;
  207. font-size:70%;
  208. }
  209. .pure-button-large {
  210. padding: .8em 5em .9em;
  211. font-size:110%;
  212. }
  213. .pure-button-selected {
  214. background-color: #345fcb;
  215. color: #fff;
  216. }
  217. .pure-button-secondary {
  218. background: rgb(161, 195, 238);
  219. color: rgb(26, 88, 122);
  220. }
  221. .pure-button-error {
  222. background: rgb(214, 86, 75);
  223. color: white;
  224. }
  225. .pure-button-success {
  226. background: rgb(54, 197, 71);
  227. color: white;
  228. }
  229. .pure-button-warning {
  230. background: rgb(255, 163, 0);
  231. color: white;
  232. }