You are here

charts_color.css in Charts 6

Same filename and directory in other branches
  1. 7 charts_color.css
/* Farbtastic placement */
#farbtastic {
  float: right;
}

/* All color-related */
#charts_color .form-item {
  height: 2em;
  line-height: 2em;
  padding-left: 1em;
  margin: 0.5em 0;
}
#charts_color label {
  float: left;
  clear: left;
  width: 10em;
}
#charts_color .form-text, #charts_color .form-select {
  float: left;
}
#charts_color .form-text {
  text-align: center;
  margin-right: 5px;
  cursor: pointer;
}

/* Palette */
#palette .hook {
  float: left;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}
#palette .down, #palette .up, #palette .both {
  background: url(images/hook.png) no-repeat 100% 0;
}
#palette .up {
  background-position: 100% -27px;
}
#palette .both {
  background-position: 100% -54px;
}
#palette .lock {
  float: left;
  position: relative;
  top: -1.4em;
  left: -10px;
  width: 20px;
  height: 25px;
  background: url(images/lock.png) no-repeat 50% 2px;
  cursor: pointer;
}
#palette .unlocked {
  background-position: 50% -22px;
}
#palette .form-item {
  width: 20em;
}
#palette .item-selected {
  background: #eee;
}

File

charts_color.css
View source
  1. /* Farbtastic placement */
  2. #farbtastic {
  3. float: right;
  4. }
  5. /* All color-related */
  6. #charts_color .form-item {
  7. height: 2em;
  8. line-height: 2em;
  9. padding-left: 1em;
  10. margin: 0.5em 0;
  11. }
  12. #charts_color label {
  13. float: left;
  14. clear: left;
  15. width: 10em;
  16. }
  17. #charts_color .form-text, #charts_color .form-select {
  18. float: left;
  19. }
  20. #charts_color .form-text {
  21. text-align: center;
  22. margin-right: 5px;
  23. cursor: pointer;
  24. }
  25. /* Palette */
  26. #palette .hook {
  27. float: left;
  28. margin-top: 3px;
  29. width: 16px;
  30. height: 16px;
  31. }
  32. #palette .down, #palette .up, #palette .both {
  33. background: url(images/hook.png) no-repeat 100% 0;
  34. }
  35. #palette .up {
  36. background-position: 100% -27px;
  37. }
  38. #palette .both {
  39. background-position: 100% -54px;
  40. }
  41. #palette .lock {
  42. float: left;
  43. position: relative;
  44. top: -1.4em;
  45. left: -10px;
  46. width: 20px;
  47. height: 25px;
  48. background: url(images/lock.png) no-repeat 50% 2px;
  49. cursor: pointer;
  50. }
  51. #palette .unlocked {
  52. background-position: 50% -22px;
  53. }
  54. #palette .form-item {
  55. width: 20em;
  56. }
  57. #palette .item-selected {
  58. background: #eee;
  59. }