You are here

webform-charts.css in Webform Charts 7

Styles for the Webform Charts module.

File

css/webform-charts.css
View source
  1. /**
  2. * @file
  3. * Styles for the Webform Charts module.
  4. */
  5. /* Main analysis page */
  6. .webform-chart {
  7. position: relative;
  8. }
  9. .webform-chart .chart {
  10. height: 240px;
  11. }
  12. .webform-chart-configure {
  13. position: absolute;
  14. top: -12px;
  15. right: 24px;
  16. color: #666;
  17. font-size: 90%;
  18. }
  19. .webform-chart-configure:hover {
  20. }
  21. /* Layout for configuring a chart */
  22. #webform-charts-edit-chart .chart-preview-wrapper {
  23. width: 66.66%;
  24. display: inline-block;
  25. vertical-align: top;
  26. }
  27. #webform-charts-edit-chart .chart-form-wrapper {
  28. width: 33.33%;
  29. display: inline-block;
  30. vertical-align: top;
  31. }
  32. #webform-charts-edit-chart .chart {
  33. height: 340px;
  34. }
  35. @media all and (max-width: 800px) {
  36. #webform-charts-edit-chart .chart-preview-wrapper,
  37. #webform-charts-edit-chart .chart-form-wrapper {
  38. width: 100%;
  39. }
  40. #webform-charts-edit-chart .chart {
  41. height: 260px;
  42. }
  43. }
  44. /* Inner form styles */
  45. #webform-charts-edit-chart .form-item {
  46. padding: 0;
  47. }
  48. #webform-charts-edit-chart fieldset input[type=text] {
  49. width: 100%;
  50. }
  51. #webform-charts-edit-chart .chart-preview {
  52. padding: 24px;
  53. }
  54. #webform-charts-edit-chart .chart-form {
  55. padding: 12px 24px 0;
  56. border: 1px solid #ddd;
  57. border-radius: 7px;
  58. margin: 24px 0;
  59. }
  60. table.webform-charts-colors {
  61. width: auto;
  62. border: none;
  63. margin: 0;
  64. }
  65. table.webform-charts-colors tr,
  66. table.webform-charts-colors td,
  67. table.webform-charts-colors td:last-child {
  68. border: none;
  69. background: transparent;
  70. }
  71. table.webform-charts-colors td {
  72. padding: 0 10px 10px 0; /* LTR */
  73. }