From 8abf93cc365d0858145280e841e9418fd5d10bfc Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Fri, 16 Nov 2012 17:00:53 -0500 Subject: [PATCH] search and upload button added to widget --- cms/static/sass/_assets.scss | 42 ++++++++++++++++++++++++++++++++++-- cms/templates/unit.html | 23 +++++++++++++------- 2 files changed, 55 insertions(+), 10 deletions(-) diff --git a/cms/static/sass/_assets.scss b/cms/static/sass/_assets.scss index aacadbdfa7..8436780943 100644 --- a/cms/static/sass/_assets.scss +++ b/cms/static/sass/_assets.scss @@ -108,13 +108,44 @@ .asset-library { @include clearfix; + display: block; &.widget { position: absolute; left: 50%; - width: 900px; - margin-left: -450px; z-index: 99999; + width: 900px; + padding: 20px; + margin-left: -450px; + border-radius: 3px; + background: $lightGrey; + + header { + height: 40px; + margin-bottom: 20px; + } + + .close-button { + @include white-button; + width: 29px; + height: 29px; + padding: 0; + border-radius: 29px; + text-align: center; + + .close-icon { + margin-top: 8px; + } + } + + .search { + width: 400px; + height: 38px; + padding-left: 36px; + background-color: #fff; + background-position: 12px 10px; + font-size: 14px; + } .thumb-col { width: 50px; @@ -124,6 +155,13 @@ width: 50px; max-height: 50px; } + + .upload-button { + @include blue-button; + float: right; + padding: 8px 30px 10px; + font-size: 12px; + } } table { diff --git a/cms/templates/unit.html b/cms/templates/unit.html index b52e1e9f53..21db3b208e 100644 --- a/cms/templates/unit.html +++ b/cms/templates/unit.html @@ -55,6 +55,13 @@