You are here

recipe.css in Recipe 6

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

/* Summary Box */
.recipe-summary {
  float: right;
  width: 20em;
  margin: 0 0 1em 1em;
}
.recipe-summary table {
  border-collapse: collapse;
}
.recipe-summary td,
.recipe-summary th {
  border: 1px solid #aaa;
  padding: .2em;
}
.recipe-summary th {
  background: #eee;
}
#edit-custom-yield-wrapper {
  display: inline;
}
.summary-data, .summary-title {
  width: 10em;
}
.recipe-summary p {
  margin:0;
  padding:0;
}


/* Ingredient List in Recipe view */
.recipe-ingredients {
  width:60%;
}
.recipe-ingredients table {
  margin:0;
  padding:0;
}
.recipe-ingredients table tbody {
  border-style:none;
}
.recipe-ingredients .qty {
  vertical-align:top;
  text-align:right;
  white-space:nowrap;
  padding: 0 0.2em;
}
.recipe-ingredients .units {
  vertical-align:top;
  text-align:left;
  padding: 0 0.5em;
  /* cursor: help;  WHY?*/
}
.recipe-ingredients .ingredient {
  vertical-align:top;
  text-align:left;
  padding: 0 0.5em;
  /* cursor: help;  WHY?*/
}

#recipe_custom_yield fieldset .form-item {
  display: inline;
}

.recipe-summary .form-submit {
  font-size: 75%;
  width: 7em;
  float:right;
}

#recipe_custom_yield fieldset {
  border: none;
}

/*
 * 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%;
}

File

recipe.css
View source
  1. /* Summary Box */
  2. .recipe-summary {
  3. float: right;
  4. width: 20em;
  5. margin: 0 0 1em 1em;
  6. }
  7. .recipe-summary table {
  8. border-collapse: collapse;
  9. }
  10. .recipe-summary td,
  11. .recipe-summary th {
  12. border: 1px solid #aaa;
  13. padding: .2em;
  14. }
  15. .recipe-summary th {
  16. background: #eee;
  17. }
  18. #edit-custom-yield-wrapper {
  19. display: inline;
  20. }
  21. .summary-data, .summary-title {
  22. width: 10em;
  23. }
  24. .recipe-summary p {
  25. margin:0;
  26. padding:0;
  27. }
  28. /* Ingredient List in Recipe view */
  29. .recipe-ingredients {
  30. width:60%;
  31. }
  32. .recipe-ingredients table {
  33. margin:0;
  34. padding:0;
  35. }
  36. .recipe-ingredients table tbody {
  37. border-style:none;
  38. }
  39. .recipe-ingredients .qty {
  40. vertical-align:top;
  41. text-align:right;
  42. white-space:nowrap;
  43. padding: 0 0.2em;
  44. }
  45. .recipe-ingredients .units {
  46. vertical-align:top;
  47. text-align:left;
  48. padding: 0 0.5em;
  49. /* cursor: help; WHY?*/
  50. }
  51. .recipe-ingredients .ingredient {
  52. vertical-align:top;
  53. text-align:left;
  54. padding: 0 0.5em;
  55. /* cursor: help; WHY?*/
  56. }
  57. #recipe_custom_yield fieldset .form-item {
  58. display: inline;
  59. }
  60. .recipe-summary .form-submit {
  61. font-size: 75%;
  62. width: 7em;
  63. float:right;
  64. }
  65. #recipe_custom_yield fieldset {
  66. border: none;
  67. }
  68. /*
  69. * import preview
  70. */
  71. .recipe-error-item {
  72. margin-left: 10px;
  73. color:red;
  74. font-weight:bold;
  75. }
  76. .recipe-new-item {
  77. margin-left: 10px;
  78. color:#2E8B57;
  79. font-weight:bold;
  80. }
  81. .recipe-matched-item {
  82. margin-left: 10px;
  83. }
  84. /* recent index page */
  85. .recipe_index_list {
  86. float: left;
  87. width: 58%;
  88. }
  89. .recipe_index_recent {
  90. float: left;
  91. width: 40%;
  92. }