Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
images and css copied from sample code.
- Loading branch information
Showing
6 changed files
with
141 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
/* Global styles */ | ||
|
||
h1 { | ||
font: 150% sans-serif; | ||
color: #226; | ||
border-bottom: 3px dotted #77d; | ||
} | ||
|
||
/* Styles for products/index */ | ||
|
||
#product-list table { | ||
border-collapse: collapse; | ||
} | ||
|
||
#product-list table tr td { | ||
padding: 5px; | ||
vertical-align: top; | ||
} | ||
|
||
#product-list .list-image { | ||
width: 60px; | ||
height: 70px; | ||
} | ||
|
||
#product-list .list-description { | ||
width: 60%; | ||
} | ||
|
||
#product-list .list-description dl { | ||
margin: 0; | ||
} | ||
|
||
#product-list .list-description dt { | ||
color: #244; | ||
font-weight: bold; | ||
font-size: larger; | ||
} | ||
|
||
#product-list .list-description dd { | ||
margin: 0; | ||
} | ||
|
||
#product-list .list-actions { | ||
font-size: x-small; | ||
text-align: right; | ||
padding-left: 1em; | ||
} | ||
|
||
#product-list .list-line-even { | ||
background: #e0f8f8; | ||
} | ||
|
||
#product-list .list-line-odd { | ||
background: #f8b0f8; | ||
} | ||
|
||
/* An entry in the store catalog */ | ||
|
||
#store .entry { | ||
overflow: auto; | ||
margin-top: 1em; | ||
border-bottom: 1px dotted #77d; | ||
} | ||
|
||
#store .title { | ||
font-size: 120%; | ||
font-family: sans-serif; | ||
} | ||
|
||
#store .entry img { | ||
width: 75px; | ||
float: left; | ||
} | ||
|
||
|
||
#store .entry h3 { | ||
margin-top: 0; | ||
margin-bottom: 2px; | ||
color: #227; | ||
} | ||
|
||
#store .entry p { | ||
margin-top: 0.5em; | ||
margin-bottom: 0.8em; | ||
} | ||
|
||
#store .entry .price-line { | ||
clear: both; | ||
} | ||
|
||
#store .entry .add-to-cart { | ||
position: relative; | ||
} | ||
|
||
#store .entry .price { | ||
color: #44a; | ||
font-weight: bold; | ||
margin-right: 2em; | ||
} | ||
|
||
/* The error box */ | ||
|
||
.fieldWithErrors { | ||
padding: 2px; | ||
background-color: #EEFFEE; | ||
display: inline; | ||
} | ||
|
||
.fieldWithErrors * { | ||
background-color: red; | ||
} | ||
|
||
#errorExplanation { | ||
width: 400px; | ||
border: 2px solid red; | ||
padding: 7px; | ||
padding-bottom: 12px; | ||
margin-bottom: 20px; | ||
background-color: #f0f0f0; | ||
} | ||
|
||
#errorExplanation h2 { | ||
text-align: left; | ||
font-weight: bold; | ||
padding: 5px 5px 5px 15px; | ||
font-size: 12px; | ||
margin: -7px; | ||
background-color: #c00; | ||
color: #fff; | ||
} | ||
|
||
#errorExplanation p { | ||
color: #333; | ||
margin-bottom: 0; | ||
padding: 5px; | ||
} | ||
|
||
#errorExplanation ul li { | ||
font-size: 12px; | ||
list-style: square; | ||
} |