_elements.scss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. // HEADINGS
  2. // -----------------------------------------------------------------------------
  3. /* Headings */
  4. h1,
  5. h2,
  6. h3,
  7. .h1,
  8. .h2,
  9. .h3 {
  10. letter-spacing: -1px;
  11. }
  12. h1,
  13. .h1 {
  14. @include font-size($h1-font-size);
  15. }
  16. h2,
  17. .h2 {
  18. @include font-size($h2-font-size);
  19. }
  20. h3,
  21. .h3 {
  22. @include font-size($h3-font-size);
  23. }
  24. h4,
  25. .h4 {
  26. @include font-size($h4-font-size);
  27. }
  28. h5,
  29. .h5 {
  30. @include font-size($h5-font-size);
  31. }
  32. h6,
  33. .h6 {
  34. @include font-size($h6-font-size);
  35. letter-spacing: 0;
  36. }
  37. /* Alternative Font Style */
  38. .alternative-font {
  39. color: $color-primary;
  40. font-family: $font-secundary;
  41. font-size: 1.6em;
  42. }
  43. /* Drop Caps */
  44. p.drop-caps {
  45. &:first-child:first-letter {
  46. float: left;
  47. font-size: 75px;
  48. line-height: 60px;
  49. padding: 4px;
  50. margin-right: 5px;
  51. margin-top: 5px;
  52. font-family: Georgia;
  53. color: $color-dark;
  54. }
  55. &.secundary:first-child:first-letter {
  56. background-color: $color-dark;
  57. color: #FFF;
  58. padding: 6px;
  59. margin-right: 5px;
  60. border-radius: 4px;
  61. }
  62. &.colored:first-child:first-letter {
  63. color: $color-primary;
  64. }
  65. &.colored.secundary:first-child:first-letter {
  66. background-color: $color-primary;
  67. color: #FFF;
  68. }
  69. }
  70. /* Blockquote */
  71. blockquote {
  72. font-size: 1em;
  73. }
  74. /* Hightlight */
  75. .highlight {
  76. background-color: $color-primary;
  77. color: #FFF;
  78. padding: 3px 6px;
  79. }
  80. /* Divider Line */
  81. hr {
  82. border: 0;
  83. height: 1px;
  84. background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.20), rgba(0,0,0,0));
  85. background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.20), rgba(0,0,0,0));
  86. background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.20), rgba(0,0,0,0));
  87. background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.20), rgba(0,0,0,0));
  88. margin: 22px 0 22px 0;
  89. }
  90. hr.short {
  91. margin: 11px 0 11px 0;
  92. }
  93. hr.tall {
  94. margin: 44px 0 44px 0;
  95. }
  96. hr.taller {
  97. margin: 66px 0 66px 0;
  98. }
  99. hr.light {
  100. background-image: -webkit-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.20), rgba(255,255,255,0));
  101. background-image: -moz-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.20), rgba(255,255,255,0));
  102. background-image: -ms-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.20), rgba(255,255,255,0));
  103. background-image: -o-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.20), rgba(255,255,255,0));
  104. }
  105. hr.dotted {
  106. height: 0;
  107. border-bottom: 1px dotted #ddd;
  108. }
  109. hr.solid {
  110. height: 0;
  111. border-bottom: 1px solid #ddd;
  112. }
  113. /* Buttons Icon */
  114. .btn-icon i {
  115. margin-right: 10px;
  116. }
  117. .btn-icon-right i {
  118. margin-right: 0;
  119. margin-left: 10px;
  120. }
  121. /* Form Elements */
  122. input {
  123. outline: none;
  124. }
  125. label {
  126. font-weight: normal;
  127. }
  128. textarea {
  129. resize: vertical;
  130. }
  131. textarea[data-toggle=autosize] {
  132. @include transition(height .15s ease-in);
  133. }
  134. select {
  135. border: 1px solid #E5E7E9;
  136. border-radius: 6px;
  137. height: 46px;
  138. padding: 12px;
  139. outline: none;
  140. }
  141. /* Forms Validations */
  142. label.valid {
  143. display: inline-block;
  144. text-indent: -9999px;
  145. }
  146. label.error {
  147. color: #C10000;
  148. font-size: 0.9em;
  149. margin-top: -5px;
  150. padding: 0;
  151. }
  152. /* Miscellaneous */
  153. body a {
  154. &,
  155. &:focus,
  156. &:hover,
  157. &:active,
  158. &:visited {
  159. outline: none !important;
  160. }
  161. }
  162. .center {
  163. text-align: center;
  164. }
  165. // LISTS
  166. // -----------------------------------------------------------------------------
  167. ul,
  168. ol {
  169. margin-bottom: 0;
  170. padding-left: 27px;
  171. }
  172. // BLOCKQUOTES
  173. // -----------------------------------------------------------------------------
  174. @each $state in $states {
  175. blockquote.#{nth($state,1)} {
  176. border-color: #{nth($state,2)};
  177. }
  178. }
  179. // WELLS
  180. // -----------------------------------------------------------------------------
  181. @each $state in $states {
  182. .well.#{nth($state,1)} {
  183. background: #{nth($state,2)};
  184. border-color: darken( nth($state,2), 10% );
  185. color: #{nth($state,3)};
  186. }
  187. }
  188. /* Arrows */
  189. .arrow {
  190. background: transparent url(../images/arrows.png) no-repeat 0 0;
  191. width: 47px;
  192. height: 120px;
  193. display: inline-block;
  194. position: relative;
  195. &.vtl {
  196. background-position: 0 0;
  197. width: 47px;
  198. height: 96px;
  199. }
  200. &.vtr {
  201. background-position: -101px 0;
  202. width: 47px;
  203. height: 96px;
  204. }
  205. &.vbl {
  206. background-position: 0 -144px;
  207. width: 47px;
  208. height: 96px;
  209. }
  210. &.vbr {
  211. background-position: -101px -144px;
  212. width: 47px;
  213. height: 96px;
  214. }
  215. &.hlt {
  216. background-position: -209px 0;
  217. width: 120px;
  218. height: 47px;
  219. }
  220. &.hlb {
  221. background-position: -209px -101px;
  222. width: 120px;
  223. height: 47px;
  224. }
  225. &.hrt {
  226. background-position: -353px 0;
  227. width: 120px;
  228. height: 47px;
  229. }
  230. &.hrb {
  231. background-position: -353px -101px;
  232. width: 120px;
  233. height: 47px;
  234. }
  235. }
  236. // THUMBNAILS
  237. // -----------------------------------------------------------------------------
  238. .img-thumbnail {
  239. border-radius: 8px;
  240. position: relative;
  241. }
  242. .img-thumbnail .zoom {
  243. display: block;
  244. position: absolute;
  245. right: 8px;
  246. bottom: 8px;
  247. height: 30px;
  248. width: 30px;
  249. padding: 6px;
  250. font-size: 14px;
  251. line-height: 18px;
  252. background: #CCC;
  253. border-radius: 100%;
  254. color: #FFF;
  255. text-align: center;
  256. }
  257. .img-thumbnail .zoom i {
  258. position: relative;
  259. top: -1px;
  260. left: -1px;
  261. }
  262. /* Thumbnail Gallery */
  263. .thumbnail-gallery {
  264. list-style: none;
  265. margin: 10px 0;
  266. padding: 0;
  267. }
  268. .thumbnail-gallery .img-thumbnail,
  269. .thumbnail-gallery .thumbnail {
  270. margin: 10px 10px 0 0;
  271. }
  272. // NAVS
  273. // -----------------------------------------------------------------------------
  274. /* Navs */
  275. ul.nav-list.primary > li {
  276. margin: 0;
  277. padding: 0;
  278. &:last-child {
  279. a {
  280. border-bottom: transparent !important;
  281. }
  282. }
  283. a {
  284. @include transition( all .3s );
  285. background-position: 9px 16px;
  286. background-repeat: no-repeat;
  287. border-bottom: 1px solid #EDEDDE;
  288. padding: 8px 20px;
  289. }
  290. }