styles.css.tpl 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. /*------------------------------------
  2. [Stylesheet - Template]
  3. Instructions: To go to stylesheet section, you can do a find for section title in square brackets. This will take you to the initial mention.
  4. 1. [Basic Layout] Styling (all pages)
  5. - 1.2 [Blog]
  6. - 1.3 [Menu]
  7. - 1.4 [Minicontact]
  8. - 1.5 [Footer]
  9. 2. [@CSS Variables] that need to be in @CSS for Stylus
  10. 3. [Stylus Mixins + Variables]
  11. 4. [Typography]
  12. 5. [Reusable Styles]
  13. 6. [Header] styling
  14. 7. [Custom Section Styling]
  15. ------------------------------------*/
  16. /*-- 1 - [Basic Layout] --*/
  17. * {
  18. box-sizing: border-box;
  19. }
  20. #root {
  21. max-width: 960px;
  22. width: 100%;
  23. }
  24. .primary-column.has-content {
  25. padding: 1rem 0;
  26. }
  27. .primary-column {
  28. width: 69%;
  29. }
  30. .wide .primary-column {
  31. width: 100%;
  32. float: none;
  33. }
  34. .secondary-column {
  35. width: 31%;
  36. }
  37. .wide .secondary-column{
  38. display:none;
  39. }
  40. /*-- 1.3 - [Menu] --*/
  41. /* = Horizontal Menu */
  42. /*-- 1.4 - [Minicontact] --*/
  43. #mini{}
  44. #minicontact {
  45. margin:0;
  46. padding:0 12px;
  47. }
  48. #minicontact label {
  49. display:block;
  50. margin:8px 10px 2px 0;
  51. text-align:left;
  52. }
  53. .mini-header {
  54. font-size: 1.5rem;
  55. text-align:center;
  56. margin: 0 auto;
  57. box-sizing: border-box;
  58. padding-left: 12px;
  59. padding-right: 12px;
  60. }
  61. #minicontact input.form-btn {
  62. width: calc(100% - 12px);
  63. max-width: 250px;
  64. margin: 0 auto;
  65. margin-top: 0.5rem;
  66. height: auto;
  67. padding: 0.5rem 1rem;
  68. font-family: {$body_font_family};
  69. border: none;
  70. text-transform: uppercase;
  71. }
  72. #minicontact input, #minicontact textarea{
  73. font-size: 1rem;
  74. }
  75. #minicontact input{
  76. height: 3rem;
  77. padding: 6px;
  78. }
  79. #minicontact textarea{
  80. height: 3.75rem;
  81. padding: 6px;
  82. }
  83. .mini-submit{
  84. text-align: center;
  85. }
  86. .mini-bottom .mini-field input {
  87. height: 2.5rem;
  88. padding: 6px;
  89. font-size: 1rem;
  90. }
  91. .mini-bottom .mini-field {
  92. width: 33.33333%;
  93. float: left;
  94. }
  95. .mini-bottom .mini-field, .mini-bottom .mini-textarea{
  96. box-sizing: border-box;
  97. padding: 1rem 6px;
  98. }
  99. .mini-bottom #minicontact textarea{
  100. height: 5.625rem;
  101. clear: both;
  102. }
  103. .secondary-column .content-pad {
  104. padding: 0;
  105. }
  106. .secondary-column #mini {
  107. border-top: 1px solid #bfbfbf;
  108. padding: 2rem 1rem;
  109. }
  110. /*-- 1.5 - [Footer] --*/
  111. .footer-main {
  112. position:relative;
  113. width: 100%;
  114. margin: 0 auto;
  115. }
  116. .footer-main a {
  117. text-decoration: none;
  118. }
  119. .footer-main a:hover{
  120. }
  121. .footer-menu {
  122. list-style:none;
  123. display:block;
  124. clear:left;
  125. margin:0 auto;
  126. padding: 0;
  127. }
  128. .footer-menu li {
  129. display: inline;
  130. }
  131. .footer-menu a {
  132. margin:0 4px;
  133. white-space: nowrap;
  134. }
  135. .footer-logos img{
  136. vertical-align: middle;
  137. margin: 0 10px;
  138. }
  139. /* = Dakno Copyright */
  140. .dakno {
  141. width: 100%;
  142. padding: 0;
  143. }
  144. @media only screen and (max-width: 850px) {
  145. .primary-column, .secondary-column{
  146. width: 100%;
  147. float:none;
  148. }
  149. }
  150. @media only screen and (max-width: 650px) {
  151. .mini-bottom .mini-field {
  152. width: 100%;
  153. float: none;
  154. }
  155. .mini-bottom .mini-field, .mini-bottom .mini-textarea{
  156. padding: 0.25rem 0.5rem;
  157. }
  158. }
  159. /* magnific reset (otherwise the close button is covered) */
  160. body.db_body_margin .mfp-wrap {
  161. margin-top: 50px;
  162. height: calc(100% - 50px);
  163. }
  164. /*-- 2 - [@CSS Variables] --*/
  165. /*-- 3 - [Stylus Mixins + Variables] --*/
  166. /*
  167. #header {
  168. background-image: url(path + 'logo.png');
  169. }
  170. */
  171. /*-- 4 - [Typography] --*/
  172. body {
  173. -webkit-font-smoothing: antialiased;
  174. -moz-osx-font-smoothing: grayscale;
  175. }
  176. body * {
  177. box-sizing: border-box;
  178. }
  179. body a:hover {
  180. text-decoration: none;
  181. }
  182. [tabindex="-1"]:focus {
  183. outline: 0;
  184. }
  185. /*-- 5 - [Reusable Styles] --*/
  186. /*-- 6 - [Header] --*/
  187. .top {
  188. position: relative;
  189. }
  190. .header-main {
  191. position: relative;
  192. z-index: 30;
  193. box-sizing: border-box;
  194. }
  195. .logo {
  196. display: block;
  197. }
  198. .logo img {
  199. max-width: 100%;
  200. display: block;
  201. }
  202. .broker-logo img {
  203. max-width: 100%;
  204. display: block;
  205. }
  206. /*-- 7 - [Custom Section Styling] --*/
  207. .box-mid {
  208. position: relative;
  209. z-index: 20;
  210. }
  211. .secondary-column #mini {
  212. margin-top: 2rem;
  213. }
  214. .footer-menu li {
  215. display: block;
  216. box-sizing: border-box;
  217. padding: 0 1rem 0.5rem 1rem;
  218. }
  219. /* hero header */
  220. .box-custom-hero {
  221. height: 240px;
  222. }
  223. .box-custom-hero .dak-table-align__cell {
  224. background: rgba(0,0,0,0.45);
  225. }
  226. .box-custom-hero .page {
  227. padding: 0;
  228. }
  229. .box-custom-hero .section {
  230. padding: 0;
  231. }
  232. .box-custom-hero-form .dak-overlay-light-heavy {
  233. color: #000;
  234. text-shadow: none;
  235. }
  236. .box-custom-hero-form .standard-form label {
  237. text-align: left;
  238. }
  239. .set-hero .d5m-module-header,
  240. .set-hero_form .d5m-module-header {
  241. display: none;
  242. }
  243. @media screen and (min-width: 768px) {
  244. .box-custom-hero {
  245. height: 480px;
  246. }
  247. .primary-column.has-content {
  248. padding: 3rem 0;
  249. }
  250. }
  251. @media screen and (min-width: 851px) {
  252. .secondary-column .content-pad {
  253. padding: 12px;
  254. }
  255. .secondary-column #minicontact .form-btn {
  256. width: 100%;
  257. }
  258. .secondary-column #mini {
  259. margin-top: 3rem;
  260. padding: 0.5rem 1rem;
  261. border-top: none;
  262. border-left: 1px solid #bfbfbf;
  263. }
  264. .mini-bottom-wide #mini {
  265. max-width: 800px;
  266. margin: 0 auto;
  267. }
  268. .mini-bottom-wide #minicontact {
  269. max-width: 760px;
  270. margin: 0 auto;
  271. }
  272. }