_sign.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. // WRAPPER
  2. // -----------------------------------------------------------------------------
  3. /* Sign Screens - Wrappers */
  4. .body-sign {
  5. display: table;
  6. height: 100vh;
  7. margin: 0 auto;
  8. max-width: 500px;
  9. padding: 0 15px;
  10. width: 100%;
  11. .center-sign {
  12. display: table-cell;
  13. padding-top: 20px;
  14. vertical-align: middle;
  15. }
  16. .panel-sign {
  17. background: transparent;
  18. .panel-title-sign {
  19. .title {
  20. background-color: $color-primary;
  21. border-radius: $border-radius $border-radius 0 0;
  22. color: #FFF;
  23. display: inline-block;
  24. @include font-size(12);
  25. @include line-height(20);
  26. padding: 13px 17px;
  27. vertical-align: bottom;
  28. }
  29. }
  30. .panel-body {
  31. background: #FFF;
  32. border-top: 5px solid $color-primary;
  33. border-radius: $border-radius 0 $border-radius $border-radius;
  34. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  35. padding: 33px 33px 15px;
  36. }
  37. }
  38. }
  39. // ELEMENTS
  40. // -----------------------------------------------------------------------------
  41. /* Sign Screens - Elements */
  42. .body-sign {
  43. .input-group-icon {
  44. .input-group-addon i {
  45. width: 14px;
  46. }
  47. }
  48. .checkbox-custom {
  49. margin-top: 8px;
  50. }
  51. .line-thru {
  52. display: block;
  53. @include font-size(12);
  54. position: relative;
  55. span {
  56. color: #CCC;
  57. position: relative;
  58. z-index: 3;
  59. }
  60. &:before {
  61. background-color: #FFF;
  62. content: '';
  63. height: 10px;
  64. left: 50%;
  65. position: absolute;
  66. margin: -5px 0 0 -20px;
  67. top: 50%;
  68. width: 40px;
  69. z-index: 2;
  70. }
  71. &:after {
  72. border-bottom: 1px solid #DADADA;
  73. content: '';
  74. display: block;
  75. left: 10%;
  76. position: absolute;
  77. top: 47%;
  78. width: 81%;
  79. z-index: 1;
  80. }
  81. }
  82. }
  83. // LOCK SCREEN
  84. // -----------------------------------------------------------------------------
  85. /* Lock Screen */
  86. .body-locked {
  87. background: url(../images/patterns/noisy_net.png) repeat;
  88. max-width: none;
  89. min-height: 400px;
  90. &.body-locked-inline {
  91. background: none;
  92. bottom: 0;
  93. height: 100%;
  94. left: 0;
  95. min-height: 0;
  96. position: fixed;
  97. right: 0;
  98. top: 0;
  99. z-index: 9999;
  100. }
  101. .panel-sign {
  102. margin: 0 auto;
  103. max-width: 400px;
  104. padding-top: 40px;
  105. .panel-body {
  106. border-radius: $border-radius;
  107. position: relative;
  108. }
  109. }
  110. .current-user {
  111. margin-top: 60px;
  112. margin-bottom: 35px;
  113. .user-image {
  114. border: 5px solid $color-primary;
  115. border-radius: 150px;
  116. height: 150px;
  117. left: 50%;
  118. position: absolute;
  119. margin-left: -75px;
  120. top: -75px;
  121. width: 150px;
  122. }
  123. .user-name {
  124. @include font-size(30);
  125. @include line-height(36);
  126. }
  127. .user-email {
  128. @include font-size(11);
  129. @include line-height(14);
  130. }
  131. }
  132. }
  133. /* Locked Screen - Responsive Landscape */
  134. @media only screen and (max-width: 767px) and (orientation : landscape) {
  135. .body-locked {
  136. &,
  137. &.body-locked-inline {
  138. .panel-sign {
  139. padding-top: 0;
  140. }
  141. .center-sign {
  142. padding-top: 0;
  143. .current-user {
  144. margin-bottom: 45px;
  145. margin-left: 100px;
  146. margin-top: 10px;
  147. .user-image {
  148. height: 100px;
  149. left: 35px;
  150. margin-left: 0;
  151. margin-top: 0;
  152. top: 15px;
  153. width: 100px;
  154. }
  155. }
  156. }
  157. }
  158. }
  159. }
  160. /* Lock Screen - Modal */
  161. .mfp-lock-screen {
  162. &.mfp-bg {
  163. background: #000 url(../images/patterns/noisy_net.png) repeat;
  164. opacity: 0.99;
  165. z-index: 9998;
  166. }
  167. &.mfp-wrap {
  168. background: none;
  169. z-index: 9999;
  170. }
  171. }
  172. // DARK SKIN
  173. // -----------------------------------------------------------------------------\
  174. /* dark */
  175. html.dark {
  176. .body-sign {
  177. .panel-sign .panel-body {
  178. background-color: $dark-color-4;
  179. }
  180. .line-thru {
  181. &:before {
  182. background-color: $dark-color-4;
  183. }
  184. &:after {
  185. border-bottom-color: $dark-color-3;
  186. }
  187. }
  188. }
  189. }