You are here

color_field_widget_box.css in Color Field 8.2

.color_field_widget_box__square {
  border: 1px solid #000;
  box-shadow: 0 0 1px #000;
  box-sizing: border-box;
  height: 16px;
  margin: 2px;
  width: 16px;
  display: inline-block;
}

.color_field_widget_box__square.active,
.color_field_widget_box__square:hover {
  height: 32px;
  width: 32px;
}

.color_field_widget_box__square--transparent {
  background-image: url("../images/transparent_box16.gif");
  background-repeat: no-repeat;
  border: 1px solid #000;
  box-shadow: 0 0 1px #000;
  box-sizing: border-box;
  height: 16px;
  margin: 2px;
  width: 16px;
}

.color_field_widget_box__square--transparent.active,
.color_field_widget_box__square--transparent:hover {
  background-image: url(../images/transparent_box32.gif);
  height: 32px;
  width: 32px;
}

.color_field_widget_box__color.required {
  display: block !important;
  width: 0;
  height: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}

File

css/color_field_widget_box.css
View source
  1. .color_field_widget_box__square {
  2. border: 1px solid #000;
  3. box-shadow: 0 0 1px #000;
  4. box-sizing: border-box;
  5. height: 16px;
  6. margin: 2px;
  7. width: 16px;
  8. display: inline-block;
  9. }
  10. .color_field_widget_box__square.active,
  11. .color_field_widget_box__square:hover {
  12. height: 32px;
  13. width: 32px;
  14. }
  15. .color_field_widget_box__square--transparent {
  16. background-image: url("../images/transparent_box16.gif");
  17. background-repeat: no-repeat;
  18. border: 1px solid #000;
  19. box-shadow: 0 0 1px #000;
  20. box-sizing: border-box;
  21. height: 16px;
  22. margin: 2px;
  23. width: 16px;
  24. }
  25. .color_field_widget_box__square--transparent.active,
  26. .color_field_widget_box__square--transparent:hover {
  27. background-image: url(../images/transparent_box32.gif);
  28. height: 32px;
  29. width: 32px;
  30. }
  31. .color_field_widget_box__color.required {
  32. display: block !important;
  33. width: 0;
  34. height: 0;
  35. padding: 0;
  36. border: none;
  37. overflow: hidden;
  38. }