Login.styl 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. background-color thirdColor
  19. color #FFF
  20. font-size 25px
  21. .connection__form
  22. &__rememberme
  23. &__label
  24. font-size 13px
  25. &__groupemail
  26. position relative
  27. &__icon
  28. position absolute
  29. top 6px
  30. left 10px
  31. width 20px
  32. &__input
  33. padding-left 45px
  34. &__groupepw
  35. position relative
  36. &__icon
  37. position absolute
  38. top 5px
  39. left 8px
  40. width 20px
  41. font-size 20px
  42. &__input
  43. padding-left 45px
  44. &__btnsubmit
  45. display block
  46. border none
  47. width 150px
  48. background-color green
  49. cursor pointer
  50. &:hover
  51. background-color btnCallAction-hover
  52. &:focus
  53. box-shadow shadow-all-side-green
  54. &__pwforgot
  55. margin-top 3px
  56. cursor pointer
  57. font-size 13px
  58. &:hover::after
  59. position absolute
  60. top 20px
  61. right 15px
  62. border-bottom 1px solid darkGrey
  63. padding-bottom 2px
  64. content ' '
  65. width 130px
  66. &__footer
  67. position fixed
  68. bottom 2%
  69. left calc(50% - 155px) // 155px => width of the text / 2
  70. &__text
  71. width 310px
  72. font-size 17px
  73. @media (min-width: min-lg) and (max-width: max-lg)
  74. .loginpage
  75. .connection__form
  76. width 100%
  77. @media (min-width: min-md) and (max-width: max-md)
  78. .loginpage
  79. .connection__form
  80. width 95%
  81. @media (min-width: min-sm) and (max-width: max-sm)
  82. .loginpage
  83. padding-top 69px
  84. display block
  85. .connection__form
  86. width 90%
  87. @media (max-width: max-xs)
  88. .loginpage
  89. padding-top 69px
  90. background-size cover
  91. display block
  92. &__connection
  93. margin-top 90px
  94. &__logo
  95. display none
  96. .connection__form
  97. width 95%
  98. .connection__form__pwforgot:hover::after
  99. content normal