main.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. body {
  2. background-color: #fcfcfc;
  3. }
  4. .avatar-view {
  5. display: block;
  6. height: 120px;
  7. width: 120px;
  8. border: 3px solid #fff;
  9. border-radius: 5px;
  10. box-shadow: 0 0 5px rgba(0,0,0,.15);
  11. cursor: pointer;
  12. overflow: hidden;
  13. }
  14. .avatar-view img {
  15. width: 100%;
  16. }
  17. .avatar-body {
  18. padding-right: 15px;
  19. padding-left: 15px;
  20. }
  21. .avatar-upload {
  22. overflow: hidden;
  23. }
  24. .avatar-upload label {
  25. display: block;
  26. float: left;
  27. clear: left;
  28. width: 100px;
  29. }
  30. .avatar-upload input {
  31. display: block;
  32. margin-left: 110px;
  33. }
  34. .avater-alert {
  35. margin-top: 10px;
  36. margin-bottom: 10px;
  37. }
  38. .avatar-wrapper {
  39. height: 364px;
  40. width: 100%;
  41. margin-top: 15px;
  42. box-shadow: inset 0 0 5px rgba(0,0,0,.25);
  43. background-color: #fcfcfc;
  44. overflow: hidden;
  45. }
  46. .avatar-wrapper img {
  47. display: block;
  48. height: auto;
  49. max-width: 100%;
  50. }
  51. .avatar-preview {
  52. float: left;
  53. margin-top: 15px;
  54. margin-right: 15px;
  55. border: 1px solid #eee;
  56. border-radius: 4px;
  57. background-color: #fff;
  58. overflow: hidden;
  59. }
  60. .avatar-preview:hover {
  61. border-color: #ccf;
  62. box-shadow: 0 0 5px rgba(0,0,0,.15);
  63. }
  64. .avatar-preview img {
  65. width: 100%;
  66. }
  67. .preview-lg {
  68. height: 184px;
  69. width: 184px;
  70. margin-top: 15px;
  71. }
  72. .preview-md {
  73. height: 100px;
  74. width: 100px;
  75. }
  76. .preview-sm {
  77. height: 50px;
  78. width: 50px;
  79. }
  80. @media (min-width: 992px) {
  81. .avatar-preview {
  82. float: none;
  83. }
  84. }
  85. .avatar-btns {
  86. margin-top: 30px;
  87. margin-bottom: 15px;
  88. }
  89. .avatar-btns .btn-group {
  90. margin-right: 5px;
  91. }
  92. .loading {
  93. display: none;
  94. position: absolute;
  95. top: 0;
  96. right: 0;
  97. bottom: 0;
  98. left: 0;
  99. background: #fff url("../img/loading.gif") no-repeat center center;
  100. opacity: .75;
  101. filter: alpha(opacity=75);
  102. z-index: 20140628;
  103. }