stylizer.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /* Farbtastic placement */
  2. .color-form {
  3. max-width: 50em;
  4. position: relative;
  5. min-height: 195px;
  6. }
  7. #placeholder {
  8. /*
  9. position: absolute;
  10. top: 0;
  11. right: 0;
  12. */
  13. margin: 0 auto;
  14. width: 195px;
  15. }
  16. /* Palette */
  17. .color-form .form-item {
  18. height: 2em;
  19. line-height: 2em;
  20. padding-left: 1em; /* LTR */
  21. margin: 0.5em 0;
  22. }
  23. .color-form .form-item input {
  24. margin-top: .2em;
  25. }
  26. .color-form label {
  27. float: left; /* LTR */
  28. clear: left; /* LTR */
  29. width: 14em;
  30. }
  31. .color-form .form-text, .color-form .form-select {
  32. float: left; /* LTR */
  33. }
  34. .color-form .form-text {
  35. text-align: center;
  36. margin-right: 5px; /* LTR */
  37. cursor: pointer;
  38. }
  39. #palette .hook {
  40. float: left; /* LTR */
  41. margin-top: 3px;
  42. width: 16px;
  43. height: 16px;
  44. }
  45. #palette .up {
  46. background-position: 100% -27px; /* LTR */
  47. }
  48. #palette .both {
  49. background-position: 100% -54px; /* LTR */
  50. }
  51. #palette .form-item {
  52. width: 24em;
  53. }
  54. #palette .item-selected {
  55. background: #eee;
  56. }
  57. /* Preview */
  58. #preview {
  59. width: 45%;
  60. float: right;
  61. margin: 0;
  62. }
  63. #ctools_stylizer_color_scheme_form {
  64. float: left;
  65. width: 45%;
  66. margin: 0;
  67. }
  68. /* general style for the layout-icon */
  69. .ctools-style-icon .caption {
  70. width: 100px;
  71. margin-bottom: 1em;
  72. line-height: 1em;
  73. text-align: center;
  74. cursor: default;
  75. }
  76. .ctools-style-icons .form-item {
  77. width: 100px;
  78. float: left;
  79. margin: 0 3px !important;
  80. }
  81. .ctools-style-icons .form-item .ctools-style-icon {
  82. float: none;
  83. height: 150px;
  84. width: 100px;
  85. }
  86. .ctools-style-icons .form-item label.option {
  87. width: 100px;
  88. display: block;
  89. text-align: center;
  90. }
  91. .ctools-style-icons .form-item label.option input {
  92. margin: 0 auto;
  93. }
  94. .ctools-style-icons .ctools-style-category {
  95. height: 190px;
  96. }
  97. .ctools-style-icons .ctools-style-category label {
  98. font-weight: bold;
  99. width: 100%;
  100. float: left;
  101. }
  102. /**
  103. * Stylizer font editor widget
  104. */
  105. .ctools-stylizer-spacing-form .form-item {
  106. float: left;
  107. margin: .25em;
  108. }
  109. #edit-font-font {
  110. width: 9em;
  111. }