summaryrefslogtreecommitdiff
path: root/public/assets/stylesheets/app.css
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-10-08 15:34:10 -0400
committerJules Laplace <jules@okfoc.us>2014-10-08 15:34:10 -0400
commit82343a901aa641569ecf03e55d4560f691bea9ba (patch)
tree1a1c85dbff3828f899a362fc16bc8e5f4b544fce /public/assets/stylesheets/app.css
parent06f14d5f9cce84bd6e3409b6d59fcb85c6c1aac0 (diff)
better markup on layouts modal
Diffstat (limited to 'public/assets/stylesheets/app.css')
-rwxr-xr-xpublic/assets/stylesheets/app.css30
1 files changed, 16 insertions, 14 deletions
diff --git a/public/assets/stylesheets/app.css b/public/assets/stylesheets/app.css
index 93645e1..b91c02d 100755
--- a/public/assets/stylesheets/app.css
+++ b/public/assets/stylesheets/app.css
@@ -647,36 +647,38 @@ iframe.embed {
}
.templates span {
+ display: block;
+ float: left;
+ background: white;
+ margin: 2vw;
+ padding: 2vw;
+ cursor:pointer;
+}
+.templates span .image {
background-position: center;
background-size: contain;
background-repeat: no-repeat;
background-color: #fff;
width: 20vw;
- height: 20vw;
- display: inline-block;
- margin: 4vw;
+ height: 15vw;
+ display: block;
background-color: #ddd;
- position: relative;
}
-.templates span:after {
- content: attr(data-name);
- position: absolute;
- top: 100%;
+.templates span label {
width: 100%;
left: 0;
- background: #fff;
- padding: 5px;
+ display: block;
font-weight: 300;
}
-.templates span:hover {
+.templates span:hover,
+.templates span:hover .image {
background-color: #f00;
cursor:pointer;
}
-
-.templates span:hover:after {
- color: #f00;
+.templates span:hover label {
+ color: white;
}
.templates h1 {