From 7b83059d02faef443dc4ba2f2a0f779bf6a0bc4e Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 21 Aug 2008 02:38:00 +0000 Subject: 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 --- css/ledgersmb.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'css') 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 */ -- cgit v1.2.3