-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
item.html and styles for mobile are started.
item display still needs: price display quantity selection non-mobile styles word size detection and font size correction Signed-off-by: Ian Jennings <[email protected]>
- Loading branch information
Ian Jennings
committed
Mar 2, 2014
1 parent
dad0686
commit 87d1f23
Showing
4 changed files
with
179 additions
and
15 deletions.
There are no files selected for viewing
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
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
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,115 @@ | ||
body.item{ | ||
.container{ | ||
margin:0; | ||
} | ||
.item-display{ | ||
@extend .creator; | ||
position:relative; | ||
top:0; | ||
background-position:0 0; | ||
width:85%; | ||
background-size:100%; | ||
margin:0 auto; | ||
max-height: 700px; | ||
overflow: hidden; | ||
|
||
} | ||
} | ||
|
||
@media screen and (max-width: 720px) { | ||
body.item{ | ||
.item-display{ | ||
display: block; | ||
width:100%; | ||
background-size:750px; | ||
background-position:55% 10%; | ||
|
||
.item-container{ | ||
width:300px; | ||
margin:140px auto; | ||
|
||
.words{ | ||
color:$white; | ||
text-align: right; | ||
|
||
h1{ | ||
margin:0; | ||
} | ||
|
||
span{ | ||
display: block; | ||
font-size:1.6em; | ||
line-height: .9em; | ||
|
||
&.hide{ | ||
display: none; | ||
} | ||
|
||
&.domain{ | ||
font-size:5px; | ||
line-height:2em; | ||
} | ||
} | ||
} | ||
|
||
.controls{ | ||
overflow: hidden; | ||
position:fixed; | ||
bottom:40px; | ||
.color{ | ||
input{ | ||
display:none; | ||
} | ||
|
||
.swatch{ | ||
display:block; | ||
float:left; | ||
width:40px; | ||
height:40px; | ||
color:transparent; | ||
background:$black; | ||
margin-right:5px; | ||
border: 3px solid transparent; | ||
} | ||
|
||
.swatch_black,.swatch_white{ | ||
@extend .swatch; | ||
} | ||
|
||
.swatch_black{ | ||
&.active{ | ||
border-color:$white; | ||
} | ||
} | ||
|
||
.swatch_white{ | ||
background:$white; | ||
&.active{ | ||
border-color:$black; | ||
} | ||
} | ||
} | ||
.size{ | ||
float:left; | ||
|
||
select{ | ||
width:198px; | ||
border:0; | ||
padding:14px 10px 13px; | ||
font-size:1em; | ||
margin:0; | ||
@include border-radius(0px); | ||
-webkit-appearance: none; | ||
} | ||
} | ||
.btn.buy{ | ||
width:281px; | ||
margin-top:10px; | ||
text-align: center; | ||
font-size:1.3em; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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