main.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. @import "vars";
  2. @import "mixins";
  3. .wrapper {
  4. //@include transition( all 0.25s ease-in-out);
  5. position: relative;
  6. margin: auto;
  7. max-width: 1160px;
  8. min-height: 100%;
  9. height: 100%;
  10. }
  11. .main {
  12. background-color: $light;
  13. color: $medium;
  14. height: auto;
  15. top: 80px !important;
  16. bottom: 0;
  17. position: absolute;
  18. > .overflow-y-scroll {
  19. background-color: $light;
  20. height: 100%;
  21. }
  22. .header {
  23. @include clearfix();
  24. position: relative;
  25. z-index: 500;
  26. min-height: 60px;
  27. margin: 40px;
  28. .header-main {
  29. height: 60px;
  30. @include clearfix();
  31. }
  32. .header-center {
  33. text-align: center;
  34. pointer-events: none;
  35. z-index: 5000;
  36. position: absolute;
  37. width: 100%;
  38. top: 0;
  39. * {pointer-events: auto; }
  40. ul {
  41. margin: auto;
  42. display: block;
  43. vertical-align: middle;
  44. list-style: none;
  45. padding-left: 0px;
  46. }
  47. .profile-avatar {
  48. margin: auto;
  49. display: block;
  50. margin-top: -80px;
  51. img {
  52. border-radius: 100%;
  53. }
  54. }
  55. }
  56. .header-center > ul li span { padding-left: 5px; padding-right: 5px;}
  57. .header-left > ul li span { padding-right: 10px;}
  58. .header-right > ul li span { padding-left: 10px;}
  59. .header-center,
  60. .header-right,
  61. .header-left {
  62. height: 60px;
  63. line-height: 60px;
  64. }
  65. .header-right {
  66. float: right;
  67. @include transition( all 0.25s ease-in-out);
  68. @include translateX (0px);
  69. }
  70. .header-left {
  71. float: left;
  72. > h4 {
  73. vertical-align: middle;
  74. display: inline-block;
  75. }
  76. }
  77. }
  78. .content {
  79. margin: 40px;
  80. //@include transition( all 0.25s ease-in-out);
  81. .section {
  82. border-bottom: 2px solid rgba(0,0,0,0.04);
  83. margin-bottom: 80px;
  84. padding-bottom: 80px;
  85. @include clearfix();
  86. &:last-child {
  87. border-bottom: none;
  88. }
  89. form {
  90. // border-radius: $radius;
  91. // background-color: white;
  92. // display: block;
  93. // padding: 40px;
  94. }
  95. }
  96. .img {
  97. img {
  98. border-radius: $radius;
  99. }
  100. margin-right: 20px;
  101. position: relative;
  102. .btn {
  103. position: absolute;
  104. top: 0px;
  105. right: 0px;
  106. }
  107. }
  108. }
  109. }