login-page.less 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. /* For login and error pages */
  2. #wrapper {
  3. .container {
  4. display: flex;
  5. justify-content: center;
  6. align-items: center;
  7. flex-direction: column;
  8. height: 100%;
  9. @media (min-width: 991px) {
  10. min-height: 100vh;
  11. }
  12. }
  13. }
  14. .login-header {
  15. padding: 12px;
  16. img {
  17. height: 40px;
  18. max-height: 40px;
  19. }
  20. a {
  21. text-decoration: none;
  22. span {
  23. font-size: 1.7em;
  24. color: @baseHeadingcolor;
  25. font-weight: 900;
  26. white-space: nowrap;
  27. }
  28. }
  29. }
  30. .login-container {
  31. width: 380px;
  32. max-width:380px;
  33. @media (max-width: 990px) {
  34. margin-top: 8%;
  35. }
  36. .lang-btn {
  37. .btn {
  38. display: flex;
  39. align-items: center;
  40. justify-content: center;
  41. .iti-flag {
  42. margin-right: 0.25rem;
  43. }
  44. }
  45. }
  46. #default-captcha-domainchecker {
  47. p {
  48. font-size: 70%;
  49. }
  50. }
  51. .providerLinkingFeedback {
  52. margin-top: 1rem;
  53. }
  54. .social-or-login {
  55. margin-top: 1rem;
  56. position:relative;
  57. z-index:1;
  58. text-align: center;
  59. span {
  60. display:inline-block;
  61. background: @gray-lighter;
  62. padding: 2px 8px;
  63. color: @link-color;
  64. font-size: @baseFontSize;
  65. border-radius: 4px;
  66. }
  67. &:before {
  68. content:"";
  69. display:block;
  70. position:absolute;
  71. z-index:-1;
  72. top:50%;
  73. left:0;
  74. right:0;
  75. border-top: 1px dotted @default-border-color;
  76. }
  77. }
  78. .login-copyright-text {
  79. text-align: center;
  80. padding: 15px 0;
  81. p {
  82. margin: 0;
  83. }
  84. }
  85. }
  86. .login-box {
  87. position: relative;
  88. padding: 2rem;
  89. background: @white;
  90. overflow:hidden;
  91. box-shadow: @box-shadow;
  92. border-radius: 4px;
  93. .page-header {
  94. margin: -15px 0 15px;
  95. }
  96. .footer-warp {
  97. a {
  98. color: @gray-darker;
  99. }
  100. }
  101. .btn-login {
  102. margin-top: 20px;
  103. }
  104. .logincontainer {
  105. p {
  106. font-size: 80%;
  107. opacity: 0.80;
  108. }
  109. }
  110. h1 {
  111. line-height: 1.5;
  112. margin-bottom: 1rem;
  113. }
  114. h3, .h3 {
  115. font-size: 18px; color: #000;
  116. font-weight: 700;
  117. margin: 60px 0 10px;
  118. }
  119. .hr {
  120. border-color: rgba(255, 255, 255, 0.90);
  121. }
  122. .login-container-register {
  123. display: flex;
  124. align-items: center;
  125. justify-content: center;
  126. text-decoration: none;
  127. padding: 1rem;
  128. border-top: 1px solid @default-border-color;
  129. margin: 2rem -2rem -2rem;
  130. background-color: @gray-lighter;
  131. }
  132. }
  133. @media (max-width: 500px) {
  134. .login-container {
  135. width:95%;
  136. }
  137. }
  138. body {
  139. &.login, &.error {
  140. background-image: url("../../images/loginBg.jpg");
  141. background-position: center center;
  142. background-repeat: no-repeat;
  143. background-attachment: fixed;
  144. background-size: cover;
  145. -webkit-background-size: cover;
  146. -moz-background-size: cover;
  147. -o-background-size: cover;
  148. z-index: 1;
  149. margin: 0!important;
  150. &:before {
  151. background: rgba(255,255,255,255);
  152. content: "";
  153. z-index: -1;
  154. position: fixed;
  155. height: 100%;
  156. width: 100%;
  157. left: 0;
  158. right: 0;
  159. top:0;
  160. opacity:0.9;
  161. }
  162. }
  163. &.logo-dark, &.no-img {
  164. &.login, &.error {
  165. .login-header {
  166. a {
  167. span {
  168. color: @white;
  169. }
  170. }
  171. }
  172. .login-container {
  173. .login-copyright-text, .lang-btn .btn {
  174. color: @white;
  175. }
  176. }
  177. .login-box {
  178. background: @white;
  179. }
  180. .logo-light {
  181. display: none;
  182. }
  183. .logo-dark {
  184. display: block;
  185. }
  186. .loginpage-with-sidebar {
  187. .sidebar-container {
  188. .logo-light {
  189. display: block;
  190. }
  191. .logo-dark {
  192. display: none;
  193. }
  194. }
  195. }
  196. }
  197. }
  198. &.logo-dark {
  199. &.login, &.error {
  200. &:before {
  201. background: darken(@gray-darker, 30%);
  202. }
  203. }
  204. }
  205. &.no-img {
  206. &.login, &.error {
  207. background: linear-gradient(90deg,darken(@themeColor, 25%),@themeColor);
  208. &:before {
  209. display: none;
  210. }
  211. }
  212. }
  213. &.dark-mode {
  214. &.login, &.error {
  215. .login-container {
  216. .login-copyright-text, .lang-btn .btn {
  217. color: @white;
  218. }
  219. }
  220. .login-box {
  221. .login-container-register {
  222. border-color: @dmbc;
  223. background-color: @dmb;
  224. a {
  225. color: @dmc;
  226. }
  227. }
  228. }
  229. .loginpage-with-sidebar {
  230. .sidebar-container {
  231. .logo-light {
  232. display: none;
  233. }
  234. .logo-dark {
  235. display: block;
  236. }
  237. }
  238. }
  239. }
  240. }
  241. }
  242. .loginpage-with-sidebar {
  243. display: flex;
  244. flex-direction: row;
  245. padding: 0;
  246. overflow: hidden;
  247. min-height: unset;
  248. height: 100vh;
  249. &.sidebar-right {
  250. flex-direction: row-reverse;
  251. }
  252. .sidebar-container {
  253. position: relative;
  254. width: 33%;
  255. padding-top: 4rem;
  256. padding-left: 4rem;
  257. overflow-x: hidden;
  258. overflow-y: auto;
  259. display: flex;
  260. flex-direction: column;
  261. box-shadow: rgba(0, 0, 0, 0.45) 10px 0px 71px 1px;
  262. border-left: 1rem solid @themeColor!important;
  263. .user_lock_icon {
  264. font-size: 7rem;
  265. --fa-primary-opacity: 0.2;
  266. --fa-secondary-opacity: 1.0;
  267. --fa-secondary-color: @themeColor;
  268. margin: 3rem 4rem 0 -4rem;
  269. padding: 0.50rem 4rem;
  270. opacity: 0.30;
  271. }
  272. &::-webkit-scrollbar {
  273. background-color: transparent;
  274. }
  275. .sidebar-content {
  276. margin-top: auto;
  277. margin-bottom: auto;
  278. padding-bottom: 3rem;
  279. }
  280. .swiper-container {
  281. flex-direction: row;
  282. .swiper-wrapper {
  283. align-items: flex-start;
  284. position: relative;
  285. display: flex;
  286. flex-direction: row;
  287. .swiper-slide {
  288. min-width: 100%;
  289. padding-right: 4rem;
  290. margin-bottom: 3rem;
  291. overflow: hidden;
  292. a {
  293. text-decoration: none;
  294. }
  295. p {
  296. font-size: 18px;
  297. font-weight: 100;
  298. }
  299. h2, h3, {
  300. line-height: 1.5;
  301. }
  302. }
  303. }
  304. .swiper-pagination {
  305. display: flex;
  306. }
  307. .swiper-pagination-bullet {
  308. display: block;
  309. }
  310. }
  311. .header {
  312. display: inline-block;
  313. font-size: 1rem;
  314. padding: 1rem 1rem 0.50rem 0;
  315. border-bottom: 3px solid @themeColor;
  316. margin-bottom: 3rem;
  317. }
  318. .login-header {
  319. padding: 0;
  320. margin-bottom: 3rem;
  321. a {
  322. display: flex;
  323. justify-content: flex-start;
  324. }
  325. }
  326. }
  327. .center-container {
  328. display: flex;
  329. flex-direction: column;
  330. align-items: center;
  331. width: 67%;
  332. overflow-y: scroll;
  333. .login-container {
  334. margin-top: auto;
  335. margin-bottom: auto;
  336. }
  337. .login-header {
  338. display: none;
  339. align-items: center;
  340. }
  341. }
  342. }
  343. @media (min-width:992px) and (max-width:1300px) {
  344. .loginpage-with-sidebar {
  345. .sidebar-container {
  346. width: 43%;
  347. }
  348. .center-container {
  349. width: 57%;
  350. }
  351. }
  352. }
  353. @media (max-width:992px) {
  354. .loginpage-with-sidebar {
  355. overflow: auto;
  356. .center-container {
  357. max-width: 718px;
  358. width: 100%;
  359. display: flex;
  360. flex-direction: column;
  361. align-items: center;
  362. overflow: unset;
  363. justify-content: center;
  364. margin: auto;
  365. background: transparent;
  366. padding: 1rem;
  367. }
  368. .sidebar-container {
  369. display: none;
  370. }
  371. }
  372. .center-container {
  373. .login-container {
  374. .login-header {
  375. display: flex;
  376. }
  377. }
  378. }
  379. }