[2] | 1 | body { |
---|
| 2 | background: $menu_bg_over; |
---|
| 3 | color: $base_text; |
---|
| 4 | background-image: url(menu_bg.png); |
---|
| 5 | background-repeat: repeat-x; |
---|
| 6 | background-position: top; |
---|
| 7 | margin: 5px; |
---|
| 8 | border: 0; |
---|
| 9 | padding: 0; |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | a { |
---|
| 13 | color: $base_text; |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | ## Control links at top of history |
---|
| 17 | div.historyLinks { |
---|
| 18 | margin: 5px 5px; |
---|
| 19 | } |
---|
| 20 | |
---|
| 21 | ## Default history item appearance |
---|
| 22 | div.historyItem { |
---|
| 23 | margin: 5px -5px 5px 0px; |
---|
| 24 | padding: 5px 11px 5px 5px; |
---|
| 25 | border: solid $history_queued_border 1px; |
---|
| 26 | border-left: solid $history_queued_border 5px; |
---|
| 27 | border-right: none; |
---|
| 28 | background: $history_queued_bg; |
---|
| 29 | .state-icon { |
---|
| 30 | display: inline-block; |
---|
| 31 | vertical-align: middle; |
---|
| 32 | width: 16px; |
---|
| 33 | height: 16px; |
---|
| 34 | background-position: 0 1px; |
---|
| 35 | background-repeat: no-repeat; |
---|
| 36 | } |
---|
| 37 | .historyItemTitle { |
---|
| 38 | font-weight: bold; |
---|
| 39 | line-height: 16px; |
---|
| 40 | } |
---|
| 41 | } |
---|
| 42 | |
---|
| 43 | ## Nested history items |
---|
| 44 | div.historyItem div.historyItem { |
---|
| 45 | margin-right: -11px; |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | ## Change background/border color depending on state |
---|
| 49 | div.historyItem-ok, |
---|
| 50 | div.historyItem-failed_metadata { |
---|
| 51 | border-color: $history_ok_border; |
---|
| 52 | background: $history_ok_bg; |
---|
| 53 | .state-icon { |
---|
| 54 | display: none; |
---|
| 55 | } |
---|
| 56 | } |
---|
| 57 | |
---|
| 58 | div.historyItem-error { |
---|
| 59 | border-color: $history_error_border; |
---|
| 60 | background: $history_error_bg; |
---|
| 61 | .state-icon { |
---|
| 62 | -sprite-group: history-states; |
---|
| 63 | -sprite-image: data_error.png; |
---|
| 64 | } |
---|
| 65 | } |
---|
| 66 | |
---|
| 67 | div.historyItem-empty { |
---|
| 68 | border-color: $history_error_border; |
---|
| 69 | background: $history_error_bg; |
---|
| 70 | .state-icon { |
---|
| 71 | -sprite-group: history-states; |
---|
| 72 | -sprite-image: data_empty.png; |
---|
| 73 | } |
---|
| 74 | } |
---|
| 75 | |
---|
| 76 | div.historyItem-running { |
---|
| 77 | border-color: $history_running_border; |
---|
| 78 | background: $history_running_bg; |
---|
| 79 | .state-icon { |
---|
| 80 | background-image: url(data_running.gif); |
---|
| 81 | } |
---|
| 82 | } |
---|
| 83 | |
---|
| 84 | div.historyItem-setting_metadata { |
---|
| 85 | border-color: $history_running_border; |
---|
| 86 | background: $history_running_bg; |
---|
| 87 | .state-icon { |
---|
| 88 | background-image: url(data_running.gif); |
---|
| 89 | } |
---|
| 90 | } |
---|
| 91 | |
---|
| 92 | div.historyItem-upload { |
---|
| 93 | border-color: $history_upload_border; |
---|
| 94 | background: $history_upload_bg; |
---|
| 95 | .state-icon { |
---|
| 96 | background-image: url(data_upload.gif); |
---|
| 97 | } |
---|
| 98 | } |
---|
| 99 | |
---|
| 100 | div.historyItem-queued { |
---|
| 101 | background: $history_queued_bg; |
---|
| 102 | .state-icon { |
---|
| 103 | -sprite-group: history-states; |
---|
| 104 | -sprite-image: data_queued.png; |
---|
| 105 | } |
---|
| 106 | } |
---|
| 107 | |
---|
| 108 | div.historyItem-noPermission { |
---|
| 109 | filter: alpha(opacity=60); |
---|
| 110 | -moz-opacity: .60; |
---|
| 111 | opacity: .60; |
---|
| 112 | } |
---|
| 113 | |
---|
| 114 | ## Special case for showing the spinner but not changing the background |
---|
| 115 | div.historyItemTitleBar.spinner .state-icon { |
---|
| 116 | background: url(data_running.gif) 0 1px no-repeat !important; |
---|
| 117 | } |
---|
| 118 | |
---|
| 119 | ## Buttons |
---|
| 120 | div.historyItemButtons { |
---|
| 121 | float: right; |
---|
| 122 | } |
---|
| 123 | |
---|
| 124 | div.historyItemBody div { |
---|
| 125 | padding-top: 2px; |
---|
| 126 | } |
---|
| 127 | |
---|
| 128 | pre.peek { |
---|
| 129 | background: white; |
---|
| 130 | color: black; |
---|
| 131 | width: 100%; |
---|
| 132 | overflow: auto; |
---|
| 133 | th { |
---|
| 134 | color: white; |
---|
| 135 | background: $peek_table_header; |
---|
| 136 | } |
---|
| 137 | } |
---|