summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-28 17:16:11 +0100
committerSarven Capadisli <csarven@status.net>2010-01-28 18:43:56 +0100
commit09b62f01445ba4bc3d4e3809359bc16ccfdb0260 (patch)
treed9db68f6ba3f8e4cd19614676938f2c3d82a7e81
parent8add14b04607c449eabc59a9579fdc56eb4883a8 (diff)
Updated biz theme to use dialogbox styles
-rw-r--r--theme/biz/css/base.css43
-rw-r--r--theme/biz/css/display.css40
2 files changed, 68 insertions, 15 deletions
diff --git a/theme/biz/css/base.css b/theme/biz/css/base.css
index d5873b0b0..a8834ca57 100644
--- a/theme/biz/css/base.css
+++ b/theme/biz/css/base.css
@@ -900,6 +900,49 @@ display:inline-block;
text-transform:lowercase;
}
+.dialogbox {
+position:absolute;
+top:-4px;
+right:29px;
+z-index:9;
+min-width:199px;
+float:none;
+background-color:#FFF;
+padding:11px;
+border-radius:7px;
+-moz-border-radius:7px;
+-webkit-border-radius:7px;
+border-style:solid;
+border-width:1px;
+border-color:#DDDDDD;
+-moz-box-shadow:3px 7px 5px rgba(194, 194, 194, 0.7);
+}
+
+.dialogbox legend {
+display:block !important;
+margin-right:18px;
+}
+
+.dialogbox button.close {
+position:absolute;
+right:3px;
+top:3px;
+}
+
+.dialogbox .submit_dialogbox {
+font-weight:bold;
+text-indent:0;
+min-width:46px;
+}
+
+#wrap form.processing input.submit,
+.entity_actions a.processing,
+.dialogbox.processing .submit_dialogbox {
+cursor:wait;
+outline:none;
+text-indent:-9999px;
+}
+
.notice-options {
position:relative;
font-size:0.95em;
diff --git a/theme/biz/css/display.css b/theme/biz/css/display.css
index 4dfd25a99..52f36ab54 100644
--- a/theme/biz/css/display.css
+++ b/theme/biz/css/display.css
@@ -40,24 +40,34 @@ border-color:#DDDDDD;
background:none;
}
-input.submit,
-#form_notice.warning #notice_text-count,
-.form_settings .form_note,
-.entity_remote_subscribe {
-background-color:#9BB43E;
+input.submit {
+color:#FFFFFF;
}
-
-input:focus, textarea:focus, select:focus,
-#form_notice.warning #notice_data-text {
-border-color:#9BB43E;
-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3);
--moz-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3);
--webkit-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3);
+.entity_actions input.submit {
+border-color:transparent;
+text-shadow:none;
}
+.dialogbox .submit_dialogbox,
input.submit,
-.entity_remote_subscribe,
-#site_nav_local_views a {
-color:#FFFFFF;
+.form_notice input.submit {
+background:#AAAAAA url(../../base/images/illustrations/illu_pattern-01.png) 0 0 repeat-x;
+text-shadow:0 1px 0 #FFFFFF;
+color:#000000;
+border-color:#AAAAAA;
+border-top-color:#CCCCCC;
+border-left-color:#CCCCCC;
+}
+.dialogbox .submit_dialogbox:hover,
+input.submit:hover {
+background-position:0 -5px;
+}
+.dialogbox .submit_dialogbox:focus,
+input.submit:focus {
+background-position:0 -15px;
+box-shadow:3px 3px 3px rgba(194, 194, 194, 0.1);
+-moz-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.1);
+-webkit-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.1);
+text-shadow:none;
}
.form_notice label[for=notice_data-geo] {