From 2c8bba4f41a315402d674013161ec43b6fd49a05 Mon Sep 17 00:00:00 2001 From: Jay Wood Date: Mon, 1 Dec 2014 09:02:02 -0500 Subject: [PATCH] Update dialog widths and maximums --- css/cwv3.css | 4 ++-- css/cwv3.min.css | 2 +- css/sass/partials/_cwv3.scss | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/css/cwv3.css b/css/cwv3.css index 2c7d231..b0bad8e 100644 --- a/css/cwv3.css +++ b/css/cwv3.css @@ -11,8 +11,8 @@ .cwv3_dialog { border: 3px solid #cccccc; background: white; - width: 50%; - height: 50%; + max-width: 60%; + max-height: 90%; position: fixed; top: 25%; left: 25%; diff --git a/css/cwv3.min.css b/css/cwv3.min.css index 869eed6..eb08bec 100644 --- a/css/cwv3.min.css +++ b/css/cwv3.min.css @@ -1 +1 @@ -.cwv3.dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99998}.cwv3_dialog{border:3px solid #ccc;background:#fff;width:50%;height:50%;position:fixed;top:25%;left:25%;-webkit-box-shadow:2px 11px 48px #000;-moz-box-shadow:2px 11px 48px #000;box-shadow:2px 11px 48px #000;overflow:hidden;z-index:99999}.cwv3_dialog div{padding:.25em}.cwv3_dialog .cwv3.auth,.cwv3_dialog .cwv3.denied{height:100%}.cwv3_dialog .cwv3_title{color:#fff;font-weight:700;text-align:center;background:red}.cwv3_dialog .cwv3_content{height:84%;overflow-y:scroll}.cwv3_dialog .cwv3_btns{overflow:hidden}.cwv3_dialog .cwv3_btns a{display:block;width:100%;text-align:center;color:#fff;font-weight:700;text-decoration:none}.cwv3_dialog .cwv3_btns .cwv3_exit{float:right;width:40%}.cwv3_dialog .cwv3_btns .cwv3_exit a{background-color:red}.cwv3_dialog .cwv3_btns .cwv3_enter{float:left;width:40%}.cwv3_dialog .cwv3_btns .cwv3_enter a{background-color:#0c3} \ No newline at end of file +.cwv3.dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99998}.cwv3_dialog{border:3px solid #ccc;background:#fff;max-width:60%;max-height:90%;position:fixed;top:25%;left:25%;-webkit-box-shadow:2px 11px 48px #000;-moz-box-shadow:2px 11px 48px #000;box-shadow:2px 11px 48px #000;overflow:hidden;z-index:99999}.cwv3_dialog div{padding:.25em}.cwv3_dialog .cwv3.auth,.cwv3_dialog .cwv3.denied{height:100%}.cwv3_dialog .cwv3_title{color:#fff;font-weight:700;text-align:center;background:red}.cwv3_dialog .cwv3_content{height:84%;overflow-y:scroll}.cwv3_dialog .cwv3_btns{overflow:hidden}.cwv3_dialog .cwv3_btns a{display:block;width:100%;text-align:center;color:#fff;font-weight:700;text-decoration:none}.cwv3_dialog .cwv3_btns .cwv3_exit{float:right;width:40%}.cwv3_dialog .cwv3_btns .cwv3_exit a{background-color:red}.cwv3_dialog .cwv3_btns .cwv3_enter{float:left;width:40%}.cwv3_dialog .cwv3_btns .cwv3_enter a{background-color:#0c3} \ No newline at end of file diff --git a/css/sass/partials/_cwv3.scss b/css/sass/partials/_cwv3.scss index c408877..bf0981a 100644 --- a/css/sass/partials/_cwv3.scss +++ b/css/sass/partials/_cwv3.scss @@ -13,8 +13,8 @@ .cwv3_dialog{ border: 3px solid $dialog-border-color; background: $dialog-background; - width: 50%; - height: 50%; + max-width: 60%; + max-height: 90%; position: fixed; top: 25%; left: 25%;