You are here

stylizer.css in Chaos Tool Suite (ctools) 6

Same filename and directory in other branches
  1. 7 css/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, .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. }