_themepanel.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. #template-panel {
  2. & > .fui-panel-content
  3. > .fui-label-panel-content
  4. > .fui-drop-panel {
  5. width: 65px;
  6. height: 50px;
  7. }
  8. }
  9. #theme-panel {
  10. & > .fui-panel-content
  11. > .fui-label-panel-content
  12. > .fui-drop-panel {
  13. width: 90px;
  14. height: 50px;
  15. }
  16. }
  17. #layout-panel {
  18. & > .fui-panel-content
  19. > .fui-label-panel-content
  20. > .fui-drop-panel {
  21. width: 65px;
  22. height: 50px;
  23. margin-right: 10px;
  24. }
  25. }
  26. .fui-button.template {
  27. width: 50px;
  28. height: 40px;
  29. padding: 0 2px !important;
  30. margin: 5px !important;
  31. .fui-label {
  32. display: none;
  33. }
  34. .fui-icon {
  35. display: block;
  36. width: 50px;
  37. height: 40px;
  38. background-image: url(../images/template.png);
  39. background-repeat: no-repeat;
  40. }
  41. &.default .fui-icon {
  42. background-position: 0 0;
  43. }
  44. &.structure .fui-icon {
  45. background-position: -50px 0;
  46. }
  47. &.filetree .fui-icon {
  48. background-position: -100px 0;
  49. }
  50. &.right .fui-icon {
  51. background-position: -150px 0;
  52. }
  53. &.fish-bone .fui-icon {
  54. background-position: -200px 0;
  55. }
  56. &.tianpan .fui-icon {
  57. background-position: -250px 0;
  58. }
  59. }
  60. .fui-button.theme {
  61. padding: 5px !important;
  62. margin: 5px !important;
  63. .fui-label {
  64. width: 60px;
  65. height: 30px;
  66. line-height: 30px;
  67. text-align: center;
  68. padding: 0 5px;
  69. }
  70. }
  71. .fui-button.layout {
  72. width: 50px;
  73. height: 40px;
  74. padding: 0 2px !important;
  75. margin: 5px 0 0 5px !important;
  76. .fui-label {
  77. display: none;
  78. }
  79. .fui-icon {
  80. display: block;
  81. width: 50px;
  82. height: 40px;
  83. background-image: url(../images/layout.png);
  84. background-repeat: no-repeat;
  85. }
  86. &.default .fui-icon {
  87. background-position: 0 0;
  88. }
  89. &.bottom .fui-icon {
  90. background-position: -100px 0;
  91. }
  92. &.filetree .fui-icon {
  93. background-position: -200px 0;
  94. }
  95. }