login.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /* login */
  2. .login-home {
  3. .home-body{
  4. background-color: $--color-primary;
  5. }
  6. .home-head{
  7. background-color: rgba($color: #000, $alpha: 0.2);
  8. }
  9. .head-title,.head-actions{
  10. color: #fff;
  11. }
  12. .login-action{
  13. position: absolute;
  14. top: 50px;
  15. right: 20px;
  16. z-index: auto;
  17. &-btn{
  18. display: inline-block;
  19. vertical-align: top;
  20. border: 1px solid #fff;
  21. border-radius: 5px;
  22. padding: 6px 10px;
  23. line-height: 1;
  24. color: #fff;
  25. margin-left: 10px;
  26. cursor: pointer;
  27. >i {
  28. margin-right: 5px;
  29. }
  30. &:hover{
  31. opacity: 0.8;
  32. }
  33. }
  34. }
  35. }
  36. .login-body {
  37. position: absolute;
  38. top: 50%;
  39. left: 50%;
  40. transform: translate(-50%,-50%);
  41. margin-top: -70px;
  42. z-index: 99;
  43. .login-title {
  44. text-align: center;
  45. margin-bottom: 40px;
  46. h1 {
  47. font-size: 24px;
  48. font-weight: bold;
  49. color: #fff;
  50. }
  51. }
  52. }
  53. .login-form {
  54. border-radius: 10px;
  55. overflow: hidden;
  56. background-color: #fff;
  57. &-title{
  58. font-size: 16px;
  59. padding: 20px;
  60. border-bottom: 1px solid $--color-border;
  61. }
  62. .el-form{
  63. padding: 30px 40px;
  64. width: 360px;
  65. }
  66. .el-input__prefix {
  67. left: 9px;
  68. }
  69. .icon{
  70. margin-top: 5px;
  71. }
  72. }
  73. // setting
  74. .setting {
  75. .el-form{
  76. width: 400px;
  77. }
  78. .el-form-item{
  79. margin-right: 0;
  80. display: inline-block;
  81. }
  82. .ip-split{
  83. display: inline-block;
  84. vertical-align: top;
  85. margin: 6px 5px auto;
  86. }
  87. .el-input-number.is-without-controls .el-input__inner{
  88. padding-left: 10px;
  89. padding-right: 10px;
  90. }
  91. }