user.less 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. h2.page-header {
  2. margin: 10px 0 25px 0;
  3. padding-bottom: 15px;
  4. }
  5. .user-baseinfo {
  6. margin-bottom: 25px;
  7. table tr td {
  8. color: #999;
  9. }
  10. }
  11. @media (min-width: 992px) {
  12. .user-center {
  13. .avatar-text, .avatar-img {
  14. height: 150px;
  15. width: 150px;
  16. border-radius: 150px;
  17. line-height: 150px;
  18. font-size: 70px;
  19. }
  20. .avatar-img {
  21. font-size: 0;
  22. img {
  23. height: 150px;
  24. width: 150px;
  25. border-radius: 150px;
  26. }
  27. }
  28. }
  29. }
  30. .sidebar-toggle {
  31. display: none;
  32. }
  33. @media (max-width: 991px) {
  34. .sidenav {
  35. position: fixed;
  36. top: 50px;
  37. z-index: 1029;
  38. height: calc(~ '100vh - 50px');
  39. padding: 20px 0 20px 0;
  40. min-width: 250px;
  41. overflow-y: auto;
  42. overflow-x: hidden;
  43. width: 250px;
  44. left: -250px;
  45. -webkit-transition: all 0.3s ease;
  46. -moz-transition: all 0.3s ease;
  47. -o-transition: all 0.3s ease;
  48. transition: all 0.3s ease;
  49. }
  50. .sidebar-toggle {
  51. display: block;
  52. position: fixed;
  53. right: 20px;
  54. bottom: 70px;
  55. border-radius: 50%;
  56. background: #eee;
  57. font-size: 22px;
  58. padding: 10px;
  59. line-height: 30px;
  60. height: 50px;
  61. width: 50px;
  62. text-align: center;
  63. z-index: 999999;
  64. }
  65. }
  66. body.sidebar-open {
  67. .sidenav {
  68. left: 0;
  69. width: 250px;
  70. box-shadow: 0 6px 27px rgba(0, 0, 0, 0.075);
  71. }
  72. .sidebar-toggle i:before {
  73. content: "\f00d";
  74. }
  75. }