pages.scss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. // landing-page
  2. .landing-hero {
  3. position: relative;
  4. background-size: cover;
  5. background-repeat: no-repeat;
  6. background-image: url(https://images.unsplash.com/photo-1487621167305-5d248087c724?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1600&h=700&fit=crop&ixid=eyJhcHBfaWQiOjF9);
  7. border-bottom: 1px solid #ddd;
  8. }
  9. .landing-hero-overlay {
  10. position: absolute;
  11. top: 0;
  12. left: 0;
  13. right: 0;
  14. bottom: 0;
  15. background-color: darken($blue, 25);
  16. opacity: 0.5;
  17. z-index: 1;
  18. }
  19. .landing-hero-content {
  20. display: flex;
  21. flex-direction: column;
  22. justify-content: flex-end;;
  23. position: relative;
  24. padding: 60px 30px 0;
  25. z-index: 2;
  26. text-align: center;
  27. color: #fff;
  28. @media(min-width: 768px) { min-height: 100vh; }
  29. }
  30. .landing-hero-title {
  31. font-size: 26px;
  32. @media(max-width: 480px) { font-size: 20px; }
  33. }
  34. .landing-hero-description { font-size: 15px; }
  35. .landing-hero-banner {
  36. display: block;
  37. width: 100%;
  38. max-width: 900px;
  39. margin: 30px auto 0;
  40. border-radius: 6px 6px 0 0;
  41. }
  42. .features {
  43. padding: 60px 30px;
  44. }
  45. .features-title {
  46. font-size: 26px;
  47. text-align: center;
  48. margin-bottom: 30px;
  49. }
  50. .features-cards {
  51. max-width: 760px;
  52. list-style: none;
  53. margin: 0 auto;
  54. padding-left: 0;
  55. display: grid;
  56. grid-gap: 20px;
  57. grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  58. }
  59. .features-card {
  60. border-radius: 4px;
  61. padding: 10px;
  62. font-size: 1.143em;
  63. text-align: center;
  64. }
  65. .feature-icon-backdrop {
  66. width: 64px;
  67. height: 64px;
  68. margin: 0 auto 8px;
  69. padding: 15px;
  70. border-radius: 50%;
  71. background-color: $blue;
  72. }
  73. .feature-icon {
  74. width: 32px;
  75. height: 32px;
  76. stroke: #fff;
  77. fill: transparent;
  78. }
  79. .landing-footer {
  80. padding: 20px;
  81. text-align: center;
  82. border-top: 1px solid #ddd;
  83. }
  84. // docs
  85. .docs {
  86. font-size: 16px;
  87. }
  88. .docs-title {
  89. padding-bottom: 10px;
  90. border-bottom: 1px solid #ddd;
  91. font-size: 20px;
  92. &:not(:first-of-type) { margin-top: 30px; }
  93. }
  94. // login-material
  95. // Page: Login Material
  96. .login-content {
  97. display: flex;
  98. flex-direction: column;
  99. align-items: center;
  100. justify-content: center;
  101. min-height: 100vh;
  102. .logo {
  103. margin-bottom: 40px;
  104. font-family: "Niconne";
  105. color: #fff;
  106. h1 {
  107. font-size: 52px;
  108. font-weight: 400;
  109. }
  110. }
  111. .login-box {
  112. position: relative;
  113. min-width: 350px;
  114. min-height: 390px;
  115. background-color: #fff;
  116. box-shadow: 0px 29px 147.5px 102.5px rgba(0, 0, 0, 0.05), 0px 29px 95px 0px rgba(0, 0, 0, 0.16);
  117. perspective: 800px;
  118. transition: all 0.5s ease-in-out;
  119. .login-head {
  120. margin-top: 0;
  121. margin-bottom: 20px;
  122. padding-bottom: 20px;
  123. border-bottom: 1px solid #ddd;
  124. text-align: center;
  125. }
  126. label {
  127. color: #666;
  128. font-weight: 700;
  129. }
  130. .utility {
  131. display: flex;
  132. padding: 1px;
  133. justify-content: space-between;
  134. align-items: center;
  135. }
  136. .btn-container { margin-bottom: 0; }
  137. .login-form, .forget-form {
  138. position: absolute;
  139. top: 0;
  140. bottom: 0;
  141. left: 0;
  142. right: 0;
  143. padding: 40px;
  144. backface-visibility: hidden;
  145. -webkit-backface-visibility: hidden;
  146. transition: all 0.5s ease-in-out;
  147. }
  148. .forget-form {
  149. opacity: 0;
  150. transform: rotateY(180deg);
  151. }
  152. &.flipped {
  153. min-height: 300px;
  154. .login-form {
  155. opacity: 0;
  156. transform: rotateY(-180deg);
  157. }
  158. .forget-form {
  159. opacity: 1;
  160. transform: rotateY(0deg);
  161. }
  162. }
  163. }
  164. }
  165. @media (max-width: 351px) {
  166. .login-content {
  167. .login-box {
  168. min-width: 100%;
  169. .login-form, .forget-form {
  170. width: 100%;
  171. }
  172. }
  173. }
  174. }
  175. // lockscreen-material
  176. // Page: Login Material
  177. .lockscreen-content {
  178. display: flex;
  179. flex-direction: column;
  180. align-items: center;
  181. justify-content: center;
  182. min-height: 100vh;
  183. .logo {
  184. font-family: "Niconne";
  185. margin-bottom: 40px;
  186. color: #fff;
  187. h1 {
  188. font-size: 52px;
  189. font-weight: 400;
  190. }
  191. }
  192. .lock-box {
  193. position: relative;
  194. min-width: 320px;
  195. padding: 20px 40px;
  196. background-color: #fff;
  197. box-shadow: 0px 29px 147.5px 102.5px rgba(0, 0, 0, 0.05), 0px 29px 95px 0px rgba(0, 0, 0, 0.16);
  198. perspective: 800px;
  199. transition: all 0.5s ease-in-out;
  200. .user-image {
  201. border: 3px solid #fff;
  202. max-width: 100px;
  203. display: block;
  204. margin: 0 auto;
  205. }
  206. .user-name { margin-bottom: 2px; }
  207. label {
  208. color: #666;
  209. font-weight: 700;
  210. }
  211. }
  212. }
  213. // error-page
  214. // Page: Error
  215. .page-error {
  216. display: flex;
  217. align-items: center;
  218. justify-content: center;
  219. flex-direction: column;
  220. min-height: calc(100vh - 110px);
  221. margin-bottom: 0;
  222. h1 {
  223. margin: 10px;
  224. color: theme-color("danger");
  225. font-size: 42px;
  226. }
  227. }
  228. // mailbox
  229. // Page: Mailbox
  230. .folder-head {
  231. padding: 10px;
  232. margin-bottom: 0 !important;
  233. border-bottom: 1px solid #ddd;
  234. }
  235. .mailbox-controls {
  236. margin-bottom: 10px;
  237. border-bottom: 1px solid #ddd;
  238. padding: 0 0 10px 5px;
  239. display: flex;
  240. align-items: center;
  241. justify-content: space-between;
  242. .animated-checkbox {
  243. .label-text:before { vertical-align: (-7px) !important; }
  244. }
  245. }
  246. .mail-nav > li > a {
  247. display: block;
  248. background-color: #fff;
  249. color: #2a2a2a;
  250. border-radius: 0;
  251. font-weight: 500;
  252. }
  253. .mailbox-messages {
  254. table tr td {
  255. border: 0;
  256. padding: 5px;
  257. }
  258. .mail-subject {
  259. overflow: hidden;
  260. text-overflow: ellipsis;
  261. white-space: nowrap;
  262. max-width: 500px;
  263. }
  264. }
  265. // user-profile
  266. // Page: User Profile
  267. .user {
  268. .profile {
  269. margin: -30px -30px 0 -30px;
  270. display: flex;
  271. .info {
  272. padding: 30px 60px;
  273. text-align: center;
  274. background-color: #fff;
  275. white-space: nowrap;
  276. background-color: #404040;
  277. color: #fff;
  278. img {
  279. border-radius: 50%;
  280. max-width: 110px;
  281. margin-bottom: 20px;
  282. margin-top: 10px;
  283. }
  284. }
  285. .cover-image {
  286. flex: 1;
  287. background-image: url(http://placeimg.com/1200/300/nature);
  288. background-size: cover;
  289. background-position: center;
  290. min-height: 300px;
  291. }
  292. }
  293. .user-tabs {
  294. margin-top: 20px;
  295. .nav-link {
  296. border-left: 3px solid transparent;
  297. padding: 12px 15px;
  298. border-bottom: 0;
  299. font-size: 15px;
  300. border-radius: 0;
  301. &.active {
  302. border-left-color: $blue;
  303. border-bottom: 0;
  304. }
  305. &:hover,
  306. &:active {
  307. background-color: #eee !important;
  308. border-bottom: 0;
  309. }
  310. }
  311. }
  312. .tab-content { margin: 20px -10px -10px; }
  313. .timeline-post {
  314. background-color: #fff;
  315. padding: 20px;
  316. margin-bottom: 20px;
  317. box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  318. .post-media {
  319. display: flex;
  320. align-items: flex-start;
  321. margin-bottom: 15px;
  322. img { margin-right: 10px; }
  323. h5 {
  324. margin-top: 0;
  325. margin-bottom: 3px;
  326. font-size: 15px;
  327. }
  328. }
  329. .post-content { margin-bottom: 20px; }
  330. .post-utility {
  331. display: flex;
  332. list-style: none;
  333. padding-left: 0;
  334. margin-bottom: 0;
  335. .likes,
  336. .shares {
  337. margin-right: 10px;
  338. a { color: #555; }
  339. }
  340. .comments {
  341. color: #555;
  342. flex: 1;
  343. text-align: right;
  344. }
  345. }
  346. }
  347. .user-settings {
  348. .line-head {
  349. font-size: 18px;
  350. margin-bottom: 30px;
  351. color: #2a2a2a;
  352. }
  353. label { color: #666; }
  354. }
  355. }