Last change
on this file since 246 was
42,
checked in by dungnv, 11 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
1.8 KB
|
Rev | Line | |
---|
[15] | 1 | @CHARSET "UTF-8";
|
---|
| 2 |
|
---|
| 3 | /* Generic context menu styles */
|
---|
| 4 | .contextMenu {
|
---|
| 5 | position: absolute;
|
---|
| 6 | width: 130px;
|
---|
| 7 | z-index: 99999;
|
---|
| 8 | border: solid 1px #CCC;
|
---|
| 9 | background: #EEE;
|
---|
| 10 | padding: 0px;
|
---|
| 11 | margin: 0px;
|
---|
| 12 | display: none;
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | .contextMenu LI {
|
---|
| 16 | list-style: none;
|
---|
| 17 | padding: 0px;
|
---|
| 18 | margin: 0px;
|
---|
| 19 | padding-top: 1px;
|
---|
| 20 | padding-bottom: 1px;
|
---|
| 21 | padding-left: 3px;
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | .contextMenu A {
|
---|
| 25 | color: #333;
|
---|
| 26 | text-decoration: none;
|
---|
| 27 | display: block;
|
---|
| 28 | line-height: 20px;
|
---|
| 29 | height: 25px;
|
---|
| 30 | background-position: 6px center;
|
---|
| 31 | background-repeat: no-repeat;
|
---|
| 32 | outline: none;
|
---|
| 33 | padding: 1px 5px;
|
---|
| 34 | padding-left: 28px;
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | .contextMenu LI.hover A {
|
---|
| 38 | color: #FFF;
|
---|
| 39 | background-color: #3399FF;
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | .contextMenu LI.disabled A {
|
---|
| 43 | color: #AAA;
|
---|
| 44 | cursor: default;
|
---|
| 45 | }
|
---|
| 46 |
|
---|
| 47 | .contextMenu LI.hover.disabled A {
|
---|
| 48 | background-color: transparent;
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | .contextMenu LI.separator {
|
---|
| 52 | border-top: solid 1px #CCC;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | /*
|
---|
| 56 | Adding Icons
|
---|
| 57 |
|
---|
| 58 | You can add icons to the context menu by adding
|
---|
| 59 | classes to the respective LI element(s)
|
---|
| 60 | */
|
---|
| 61 |
|
---|
| 62 | .contextMenu LI.preview A { background-image: url(images/preview.png); }
|
---|
[42] | 63 | .contextMenu LI.open A { /* background-image: url(images/folder_open.png); */ }
|
---|
[15] | 64 | .contextMenu LI.share A { background-image: url(images/share.png); }
|
---|
| 65 | .contextMenu LI.rename A { background-image: url(images/rename.png); }
|
---|
| 66 |
|
---|
[42] | 67 | .contextMenu LI.newfolder A { background-image: url(images/folder_open.png); }
|
---|
| 68 |
|
---|
[15] | 69 | .contextMenu LI.edit A { background-image: url(images/page_white_edit.png); }
|
---|
| 70 | .contextMenu LI.cut A { background-image: url(images/cut.png); }
|
---|
| 71 | .contextMenu LI.copy A { background-image: url(images/page_white_copy.png); }
|
---|
| 72 | .contextMenu LI.paste A { background-image: url(images/page_white_paste.png); }
|
---|
| 73 | .contextMenu LI.delete A { background-image: url(images/page_white_delete.png); }
|
---|
| 74 | .contextMenu LI.quit A { background-image: url(images/door.png); }
|
---|
Note: See
TracBrowser
for help on using the repository browser.