stylizer.css

/* Farbtastic placement */
.color-form {
  max-width: 50em;
  position: relative;
  min-height: 195px;
}
#placeholder {
/*
  position: absolute;
  top: 0;
  right: 0;
*/
  margin: 0 auto;
  width: 195px;
}

/* Palette */
.color-form .form-item {
  height: 2em;
  line-height: 2em;
  padding-left: 1em; /* LTR */
  margin: 0.5em 0;
}

.color-form .form-item input {
  margin-top: .2em;
}

.color-form label {
  float: left; /* LTR */
  clear: left; /* LTR */
  width: 14em;
}
.color-form .form-text,
.color-form .form-select {
  float: left; /* LTR */
}
.color-form .form-text {
  text-align: center;
  margin-right: 5px; /* LTR */
  cursor: pointer;
}

#palette .hook {
  float: left; /* LTR */
  margin-top: 3px;
  width: 16px;
  height: 16px;
}
#palette .up {
  background-position: 100% -27px; /* LTR */
}
#palette .both {
  background-position: 100% -54px; /* LTR */
}


#palette .form-item {
  width: 24em;
}
#palette .item-selected {
  background: #eee;
}

/* Preview */
#preview {
  width: 45%;
  float: right;
  margin: 0;
}

#ctools_stylizer_color_scheme_form {
  float: left;
  width: 45%;
  margin: 0;
}

/* general style for the layout-icon */
.ctools-style-icon .caption {
  width: 100px;
  margin-bottom: 1em;
  line-height: 1em;
  text-align: center;
  cursor: default;
}

.ctools-style-icons .form-item {
  width: 100px;
  float: left;
  margin: 0 3px !important;
}

.ctools-style-icons .form-item .ctools-style-icon {
  float: none;
  height: 150px;
  width: 100px;
}

.ctools-style-icons .form-item label.option {
  width: 100px;
  display: block;
  text-align: center;
}

.ctools-style-icons .form-item label.option input {
  margin: 0 auto;
}

.ctools-style-icons .ctools-style-category {
  height: 190px;
}

.ctools-style-icons .ctools-style-category label {
  font-weight: bold;
  width: 100%;
  float: left;
}

/**
 * Stylizer font editor widget
 */
.ctools-stylizer-spacing-form .form-item {
  float: left;
  margin: .25em;
}

#edit-font-font {
  width: 9em;
}

File

css/stylizer.css

View source
  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. }