diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-10-08 15:34:10 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-10-08 15:34:10 -0400 |
| commit | 82343a901aa641569ecf03e55d4560f691bea9ba (patch) | |
| tree | 1a1c85dbff3828f899a362fc16bc8e5f4b544fce /public/assets/stylesheets/app.css | |
| parent | 06f14d5f9cce84bd6e3409b6d59fcb85c6c1aac0 (diff) | |
better markup on layouts modal
Diffstat (limited to 'public/assets/stylesheets/app.css')
| -rwxr-xr-x | public/assets/stylesheets/app.css | 30 |
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 { |
