summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-21 02:38:00 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-21 02:38:00 +0000
commit7b83059d02faef443dc4ba2f2a0f779bf6a0bc4e (patch)
tree09bd70fb959aeefc1308b753088a793fc9ec5f4e /css
parent19aa03e4ec78fb7058ceaa43c5e78233d5edd6ae (diff)
Pretty notes....
On the main ledgersmb.css, the following effects added for notes: 1) Margins, background color, borders added 2) By default boxes are 90% of container width wide, 5ems high, overflow text not shown. 3) On mouse over, div extends downward full length of note, and horizontal scroll bars if necessary appear. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2291 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'css')
-rw-r--r--css/ledgersmb.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/css/ledgersmb.css b/css/ledgersmb.css
index d5217ed5..652e5a12 100644
--- a/css/ledgersmb.css
+++ b/css/ledgersmb.css
@@ -186,6 +186,26 @@ h2.error {
font-size: 14pt;
}
+div.note {
+ margin: 1em;
+ padding: 1em;
+ border: 2px;
+ height: 5em;
+ width: 90%;
+ overflow: hidden;
+ background-color: #ddd;
+ border-style: groove;
+}
+
+div.note:hover {
+ overflow:visible;
+ background-color: #ddd;
+ border-style: groove;
+ height: 100%;
+ width: 90%;
+ min-height: 5em;
+ overflow: auto;
+}
/* media stuff */