You are here

recipe.css in Recipe 7.2

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

/* Ingredient field widget form */
.field-type-ingredient-reference .form-type-textfield,
.field-type-ingredient-reference .form-type-select {
  float: left;
}
.field-type-ingredient-reference .form-type-textfield {
  min-width: 17em;
}
.field-type-ingredient-reference .form-type-textfield:first-child {
  min-width: 8em;
}
.field-type-ingredient-reference .form-type-select {
  min-width: 12em;
}

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

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