From 4696eabeb1e6a068dfd99529dfa580953a6586bc Mon Sep 17 00:00:00 2001 From: Jon Lambson Date: Thu, 7 Sep 2017 15:26:22 -0600 Subject: [PATCH] added more --- css/styles.css | 46 +++++++++-- js/controllers/website-controller.js | 2 + templates/website.html | 117 +++++++++++++++++++++------ 3 files changed, 133 insertions(+), 32 deletions(-) diff --git a/css/styles.css b/css/styles.css index fe41340..e512698 100644 --- a/css/styles.css +++ b/css/styles.css @@ -159,23 +159,22 @@ border: 1px solid #e5e5e5; } .invite-card-container { - display: table; + flex-wrap: wrap; width: 100%; + display: flex; } .invite-card-container .invite-option { - width: 28%; + width: 25%; background: white; float: left; padding: 2%; text-align: center; -webkit-transition: all .3s ease-in-out; transition: all .3s ease-in-out; -} -.invite-card-container .invite-option:nth-child(even) { - margin: 0 2%; + margin: 5px; } .invite-card-container .invite-option:hover { - cursor: pointer; + /*cursor: pointer;*/ box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.3); -webkit-transform: scale(1.04); transform: scale(1.04); @@ -192,6 +191,7 @@ visibility: visible !important; } .invite-card-container .invite-option:hover .back a.button { + cursor: pointer; -webkit-transform: translateY(0px) !important; transform: translateY(0px) !important; } @@ -200,7 +200,6 @@ border-bottom: 1px solid #F0F0F0; } .invite-card-container .invite-option i { - font-size: 3rem; color: #D8D8D8; -webkit-transition: all .3s ease-in-out; transition: all .3s ease-in-out; @@ -261,3 +260,36 @@ .invite-card-container .invite-option .price .back a.button:hover { background: #286090; } +.invite-card-container .invite-option:hover i { + color: white; +} +.website-card-button-group { + display: flex; + justify-content: space-around; +} + +.media { + border: 1px solid #d5dbdd; + padding: 5px 20px; + border-radius: 5px; + box-shadow: 0px 2px 1px rgba(0,0,0,0.04); + background: #fff; + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; +} +.align-self-center { + -ms-flex-item-align: center !important; + align-self: center !important; +} +.rounded-circle { + border-radius: 50%; +} +.media .media-left img { + width: 75px; +} +.shares-container { + list-style: none; + -webkit-padding-start: 0px; +} diff --git a/js/controllers/website-controller.js b/js/controllers/website-controller.js index f6b77f2..f1bc2a1 100644 --- a/js/controllers/website-controller.js +++ b/js/controllers/website-controller.js @@ -482,4 +482,6 @@ app.controller('websiteCtrl', [ }); return matches; }; + + }]); diff --git a/templates/website.html b/templates/website.html index 8be8a94..da6d625 100644 --- a/templates/website.html +++ b/templates/website.html @@ -1,5 +1,6 @@
+

Create a new Website

+
+
+ + + + + + + + + + + +
Website
example.com
+
-
-

Your Websites

-
-

example.com

-
-
-
- -
- + +
- -
@@ -226,13 +295,11 @@ Sites > blogs > blog.jane.smith.net -
+ / friend@email.com - pending (rwx) - -
+