You are here

recipe.css in Recipe 7

Same filename and directory in other branches
  1. 5 recipe.css
  2. 6 recipe.css
  3. 7.2 recipe.css


.recipe-section div.section {
  margin: 0;
  padding: 0 0 0 1.5em;
}

.recipe-ingredients {
  padding-left: 7em;
  text-indent: -7em;
}

.recipe-ingredients .quantity-unit {
  float: left;
  width: 7em;
}


/*
 * import preview
 */
.recipe-error-item {
  margin-left: 10px;
  color:red;
  font-weight:bold;
}
.recipe-new-item {
  margin-left: 10px;
  color:#2E8B57;
  font-weight:bold;
}
.recipe-matched-item {
  margin-left: 10px;
}

/* recent index page */
.recipe_index_list {
  float: left;
  width: 58%;
}
.recipe_index_recent {
  float: left;
  width: 40%;
}


.recipe-import-text {
  font-family: monospace;
}

/*
 * Summary Box
 */
.recipe-summary {
  float: right;
  width: 20em;
  margin:0; padding:0;
  font-size: 1.0em;
}
/* If summary is in block, remove float and width so that it won't blowup the layout. */
.block-recipe .recipe-summary {
  float:none;
  width:100%;
}
.recipe-summary table {
  border-collapse: collapse;
}
.recipe-summary td,
.recipe-summary th {
  border: 1px solid #aaa;
  padding: .2em;
}
.recipe-summary th {
  background: #E0E0E0;
  color: black;
  font-weight: bold;
  width: 4em;
}
.recipe-summary td {
  background: white;
  color: black;
}
.recipe-summary .form-item {
  display: inline;
}
.summary-data, .summary-title {
  width: 10em;
}
.recipe-summary p {
  margin:0; padding:0;
}
.recipe-summary h2 {
  margin:0; padding:0;
}
.recipe-summary .form-submit {
  font-size: 75%;
  width: 8em;
  float:right;
}
#recipe_custom_yield fieldset {
  border: none;
}
#recipe_custom_yield fieldset .form-item {
  display: inline;
}

File

recipe.css
View source
  1. .recipe-section div.section {
  2. margin: 0;
  3. padding: 0 0 0 1.5em;
  4. }
  5. .recipe-ingredients {
  6. padding-left: 7em;
  7. text-indent: -7em;
  8. }
  9. .recipe-ingredients .quantity-unit {
  10. float: left;
  11. width: 7em;
  12. }
  13. /*
  14. * import preview
  15. */
  16. .recipe-error-item {
  17. margin-left: 10px;
  18. color:red;
  19. font-weight:bold;
  20. }
  21. .recipe-new-item {
  22. margin-left: 10px;
  23. color:#2E8B57;
  24. font-weight:bold;
  25. }
  26. .recipe-matched-item {
  27. margin-left: 10px;
  28. }
  29. /* recent index page */
  30. .recipe_index_list {
  31. float: left;
  32. width: 58%;
  33. }
  34. .recipe_index_recent {
  35. float: left;
  36. width: 40%;
  37. }
  38. .recipe-import-text {
  39. font-family: monospace;
  40. }
  41. /*
  42. * Summary Box
  43. */
  44. .recipe-summary {
  45. float: right;
  46. width: 20em;
  47. margin:0; padding:0;
  48. font-size: 1.0em;
  49. }
  50. /* If summary is in block, remove float and width so that it won't blowup the layout. */
  51. .block-recipe .recipe-summary {
  52. float:none;
  53. width:100%;
  54. }
  55. .recipe-summary table {
  56. border-collapse: collapse;
  57. }
  58. .recipe-summary td,
  59. .recipe-summary th {
  60. border: 1px solid #aaa;
  61. padding: .2em;
  62. }
  63. .recipe-summary th {
  64. background: #E0E0E0;
  65. color: black;
  66. font-weight: bold;
  67. width: 4em;
  68. }
  69. .recipe-summary td {
  70. background: white;
  71. color: black;
  72. }
  73. .recipe-summary .form-item {
  74. display: inline;
  75. }
  76. .summary-data, .summary-title {
  77. width: 10em;
  78. }
  79. .recipe-summary p {
  80. margin:0; padding:0;
  81. }
  82. .recipe-summary h2 {
  83. margin:0; padding:0;
  84. }
  85. .recipe-summary .form-submit {
  86. font-size: 75%;
  87. width: 8em;
  88. float:right;
  89. }
  90. #recipe_custom_yield fieldset {
  91. border: none;
  92. }
  93. #recipe_custom_yield fieldset .form-item {
  94. display: inline;
  95. }