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,
  32. .color-form .form-select {
  33. float: left; /* LTR */
  34. }
  35. .color-form .form-text {
  36. text-align: center;
  37. margin-right: 5px; /* LTR */
  38. cursor: pointer;
  39. }
  40. #palette .hook {
  41. float: left; /* LTR */
  42. margin-top: 3px;
  43. width: 16px;
  44. height: 16px;
  45. }
  46. #palette .up {
  47. background-position: 100% -27px; /* LTR */
  48. }
  49. #palette .both {
  50. background-position: 100% -54px; /* LTR */
  51. }
  52. #palette .form-item {
  53. width: 24em;
  54. }
  55. #palette .item-selected {
  56. background: #eee;
  57. }
  58. /* Preview */
  59. #preview {
  60. width: 45%;
  61. float: right;
  62. margin: 0;
  63. }
  64. #ctools_stylizer_color_scheme_form {
  65. float: left;
  66. width: 45%;
  67. margin: 0;
  68. }
  69. /* general style for the layout-icon */
  70. .ctools-style-icon .caption {
  71. width: 100px;
  72. margin-bottom: 1em;
  73. line-height: 1em;
  74. text-align: center;
  75. cursor: default;
  76. }
  77. .ctools-style-icons .form-item {
  78. width: 100px;
  79. float: left;
  80. margin: 0 3px !important;
  81. }
  82. .ctools-style-icons .form-item .ctools-style-icon {
  83. float: none;
  84. height: 150px;
  85. width: 100px;
  86. }
  87. .ctools-style-icons .form-item label.option {
  88. width: 100px;
  89. display: block;
  90. text-align: center;
  91. }
  92. .ctools-style-icons .form-item label.option input {
  93. margin: 0 auto;
  94. }
  95. .ctools-style-icons .ctools-style-category {
  96. height: 190px;
  97. }
  98. .ctools-style-icons .ctools-style-category label {
  99. font-weight: bold;
  100. width: 100%;
  101. float: left;
  102. }
  103. /**
  104. * Stylizer font editor widget
  105. */
  106. .ctools-stylizer-spacing-form .form-item {
  107. float: left;
  108. margin: .25em;
  109. }
  110. #edit-font-font {
  111. width: 9em;
  112. }