summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/css/blogs.css
diff options
context:
space:
mode:
authorRene Ae <aehtyb@gmail.com>2015-11-30 15:24:27 -0600
committerRene Ae <aehtyb@gmail.com>2015-11-30 15:24:27 -0600
commit9d0e54228c79d151c30c527ea83efa7479793686 (patch)
tree3baf83427cd61cb1994e8551eefba5cd21d1a65b /StoneIsland/platforms/ios/www/css/blogs.css
parentb208cb0283c23d68e8013c0dd5ddd4e5e6df8950 (diff)
parentd26e72aea3b3127c95c5ba7069c95f73cf52a2fd (diff)
Merge branch 'master' of https://github.com/okfocus/stone-island
Diffstat (limited to 'StoneIsland/platforms/ios/www/css/blogs.css')
-rw-r--r--StoneIsland/platforms/ios/www/css/blogs.css102
1 files changed, 84 insertions, 18 deletions
diff --git a/StoneIsland/platforms/ios/www/css/blogs.css b/StoneIsland/platforms/ios/www/css/blogs.css
index 239e99bf..0dd14166 100644
--- a/StoneIsland/platforms/ios/www/css/blogs.css
+++ b/StoneIsland/platforms/ios/www/css/blogs.css
@@ -39,6 +39,8 @@
display: none;
}
+/* FAQ */
+
.privacy #privacy { display: block }
.terms #terms { display: block }
.returns #returns { display: block }
@@ -100,32 +102,44 @@
.gallery-multiple-images::before {
border:1px solid black;
+ background:rgba(255,255,255,1);
+ background-image:url(../img/left-arrow.png);
+ background-size:5px 10px;
+ background-repeat:no-repeat;
+ background-position:center;
+ width:15px;
+ height:30px;
top:50%;
- transform:scale(.5,1) translateY(-50%);
- transform-origin:top left;
+ content:'';
+ transform:translateY(-50%);
+ transform-origin:top right;
left:20px;
- content:'\25C0';
font-size:18px;
- padding:3px 14px 3px 11px;
+ padding:3px 3px 3px 1px;
z-index:999;
position:absolute;
display:block;
- background:rgba(255,255,255,1);
}
.gallery-multiple-images::after {
border:1px solid black;
+ background:rgba(255,255,255,1);
+ background-image:url(../img/right-arrow.png);
+ background-size:5px 10px;
+ background-repeat:no-repeat;
+ background-position:center;
+ width:15px;
+ height:30px;
top:50%;
- transform:scale(.5,1) translateY(-50%);
+ content:'';
+ transform:translateY(-50%);
transform-origin:top right;
right:20px;
- content:'\25B6';
font-size:18px;
- padding:3px 11px 3px 14px;
+ padding:3px 1px 3px 3px;
z-index:999;
position:absolute;
display:block;
- background:rgba(255,255,255,1);
}
/* NOTE: not sure if this down arrow is necessary.. the fade
@@ -188,15 +202,67 @@ ul.links {
font-size:14px;
}
-/* NOTE: not really sure how this is going to work on the archive page
- based on the pdf mockup */
+.archive h2 {
+ font-size:32px
+}
-.archive .above {
- width:calc(100vw - 80px);
- box-sizing:border-box;
- margin:0 auto;
+#archive .heading {
+ position: absolute;
+ top: 0; left: 0;
+ width: 100%;
+ pointer-events: none;
+}
+#archive .menu .items,
+#archive .row .image,
+#archive .row .text {
+ position: absolute;
+ top: 50%; left: 50%;
+ transform-origin: 50% 50%;
+ transform: translateZ(0) translateX(-50%) translateY(-50%);
}
-.archive h2 {
-font-size:32px
-} \ No newline at end of file
+#archive.menu .menu {
+ opacity: 1;
+ pointer-events: auto;
+}
+#archive .menu {
+ background: rgba(255,255,255,0.8);
+ position: absolute;
+ top: 0; left: 0;
+ height: 100%;
+ width: 100%;
+ opacity: 0;
+ pointer-events: none;
+ transition: opacity 0.2s;
+}
+#archive .menu .items {
+ width: 100%;
+}
+#archive .menu .item:first-of-type {
+ border-top: 1px solid black;
+}
+#archive .menu .item {
+ width: 100%;
+ text-align: center;
+ border-bottom: 1px solid black;
+ background: white;
+}
+
+#archive .scroll {
+ top: 0; left: 0;
+ height: 100%;
+}
+#archive .row {
+ position: relative;
+ min-height: 80vh;
+ perspective: 500;
+}
+#archive .row .image {
+ width: 100%; height: 100%;
+ background-repeat: no-repeat;
+ background-size: 80% auto;
+ background-position: center center;
+}
+#archive .row .text {
+ width: 80%;
+}