settings-admin.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. #theming {
  2. input {
  3. width: 230px;
  4. }
  5. input:focus,
  6. input:active {
  7. padding-right: 30px;
  8. }
  9. .fileupload {
  10. display: none;
  11. }
  12. div > label {
  13. position: relative;
  14. }
  15. .theme-undo {
  16. position: absolute;
  17. top: -7px; // input padding
  18. right: 4px; // input right margin + border
  19. cursor: pointer;
  20. opacity: .3;
  21. padding: 7px;
  22. vertical-align: top;
  23. display: inline-block;
  24. visibility: hidden;
  25. height: 32px; // height of input
  26. width: 32px; // height of input
  27. }
  28. form.uploadButton {
  29. width: 411px;
  30. }
  31. form .theme-undo,
  32. .theme-remove-bg {
  33. cursor: pointer;
  34. opacity: .3;
  35. padding: 7px;
  36. vertical-align: top;
  37. display: inline-block;
  38. float: right;
  39. position: relative;
  40. top: 4px;
  41. right: 0px;
  42. visibility: visible;
  43. height: 32px;
  44. width: 32px;
  45. }
  46. input[type='text']:hover + .theme-undo,
  47. input[type='text'] + .theme-undo:hover,
  48. input[type='text']:focus + .theme-undo,
  49. input[type='text']:active + .theme-undo,
  50. input[type='url']:hover + .theme-undo,
  51. input[type='url'] + .theme-undo:hover,
  52. input[type='url']:focus + .theme-undo,
  53. input[type='url']:active + .theme-undo{
  54. visibility: visible;
  55. }
  56. label span {
  57. display: inline-block;
  58. min-width: 175px;
  59. padding: 8px 0px;
  60. vertical-align: top;
  61. }
  62. .icon-upload,
  63. .uploadButton .icon-loading-small {
  64. padding: 8px 20px;
  65. width: 20px;
  66. margin: 2px 0px;
  67. min-height: 32px;
  68. display: inline-block;
  69. }
  70. #theming_settings_status {
  71. height: 26px;
  72. margin: 10px;
  73. }
  74. #theming_settings_loading {
  75. display: inline-block;
  76. vertical-align: middle;
  77. margin-right: 10px;
  78. }
  79. #theming_settings_msg {
  80. vertical-align: middle;
  81. border-radius: 3px;
  82. }
  83. #theming-preview {
  84. width: 230px;
  85. height: 140px;
  86. background-size: cover;
  87. background-position: center center;
  88. text-align: center;
  89. margin-left: 178px;
  90. margin-top: 10px;
  91. margin-bottom: 20px;
  92. cursor: pointer;
  93. #theming-preview-logo {
  94. cursor: pointer;
  95. width: 20%;
  96. height: 20%;
  97. margin-top: 20px;
  98. display: inline-block;
  99. background-position: center;
  100. background-repeat: no-repeat;
  101. background-size: contain;
  102. }
  103. }
  104. .theming-hints {
  105. margin-top: 20px;
  106. }
  107. .image-preview {
  108. display: inline-block;
  109. width: 80px;
  110. height: 36px;
  111. background-position: center;
  112. background-repeat: no-repeat;
  113. background-size: contain;
  114. }
  115. }
  116. /* transition effects for theming value changes */
  117. #header {
  118. transition: background-color 500ms linear;
  119. svg, img {
  120. transition: 500ms filter linear;
  121. }
  122. }