Login.styl 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .loginpage
  2. padding-top 85px // 85 = header height
  3. min-height 100%
  4. background-image url('../img/tracimLogoAsBg.png')
  5. background-repeat no-repeat
  6. background-size contain
  7. background-position center
  8. width 100%
  9. &__logo
  10. margin 0 auto
  11. padding 50px 0
  12. width 170px
  13. &__connection
  14. margin-bottom 50px
  15. border none
  16. box-shadow shadow-right
  17. .connection__header
  18. color off-white
  19. font-size 25px
  20. .connection__form
  21. &__rememberme
  22. margin-bottom 10px
  23. font-size 14px
  24. line-height 23px
  25. cursor pointer
  26. label
  27. margin-right 8px
  28. top 4px
  29. &__groupemail
  30. position relative
  31. &__icon
  32. position absolute
  33. top 6px
  34. left 10px
  35. width 20px
  36. &__input
  37. padding-left 45px
  38. &__groupepw
  39. position relative
  40. &__icon
  41. position absolute
  42. top 5px
  43. left 8px
  44. width 20px
  45. font-size 20px
  46. &__input
  47. padding-left 45px
  48. &__btnsubmit
  49. display block
  50. margin-right 15px
  51. border none
  52. width 150px
  53. background-color green
  54. cursor pointer
  55. &:hover
  56. background-color btnCallAction-hover
  57. &:focus
  58. box-shadow shadow-all-side-green
  59. &__pwforgot
  60. cursor pointer
  61. font-size 13px
  62. &__footer
  63. position fixed
  64. bottom 2%
  65. left calc(50% - 155px) // 155px => width of the text / 2
  66. &__text
  67. width 310px
  68. font-size 17px
  69. color off-white
  70. & > a
  71. color off-white
  72. font-size 19px
  73. &:hover
  74. text-decoration underline
  75. @media (min-width: min-lg) and (max-width: max-lg)
  76. .loginpage
  77. .connection__form
  78. width 100%
  79. @media (min-width: min-md) and (max-width: max-md)
  80. .loginpage
  81. .connection__form
  82. width 95%
  83. @media (min-width: min-sm) and (max-width: max-sm)
  84. .loginpage
  85. padding-top 69px
  86. display block
  87. .connection__form
  88. width 90%
  89. @media (max-width: max-xs)
  90. .loginpage
  91. padding-top 69px
  92. background-size cover
  93. display block
  94. &__connection
  95. margin-top 90px
  96. &__logo
  97. display none
  98. .connection__form
  99. width 95%
  100. .connection__form__pwforgot:hover::after
  101. content normal