Commit cca9d3efd5ee60ee46cca40262d0fce34391b316
1 parent
3f128c48
KTS-1788
"the dashboard in open source when run in IE does not look correct. " Fixed. Reviewed By: Conrad git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6396 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
92 additions
and
14 deletions
resources/css/kt-framing.css
| @@ -1210,7 +1210,7 @@ a.main_nav_item { | @@ -1210,7 +1210,7 @@ a.main_nav_item { | ||
| 1210 | .ktError { | 1210 | .ktError { |
| 1211 | padding: 0 1em; | 1211 | padding: 0 1em; |
| 1212 | border: 1px solid #ffc21e; | 1212 | border: 1px solid #ffc21e; |
| 1213 | - margin: 0.5em 0; | 1213 | + margin: 1em 0 0 0.5em; |
| 1214 | background: #ffdd80; | 1214 | background: #ffdd80; |
| 1215 | } | 1215 | } |
| 1216 | 1216 | ||
| @@ -1223,7 +1223,7 @@ a.main_nav_item { | @@ -1223,7 +1223,7 @@ a.main_nav_item { | ||
| 1223 | .ktInfo { | 1223 | .ktInfo { |
| 1224 | padding: 0 1em; | 1224 | padding: 0 1em; |
| 1225 | border: 1px solid #c5c5c5; | 1225 | border: 1px solid #c5c5c5; |
| 1226 | - margin: 0.5em 0; | 1226 | + margin: 1em 0 0 0.5em; |
| 1227 | background: #dedede; | 1227 | background: #dedede; |
| 1228 | } | 1228 | } |
| 1229 | 1229 | ||
| @@ -1233,16 +1233,17 @@ a.main_nav_item { | @@ -1233,16 +1233,17 @@ a.main_nav_item { | ||
| 1233 | } | 1233 | } |
| 1234 | 1234 | ||
| 1235 | 1235 | ||
| 1236 | -.ktBlock { | 1236 | +.ktBlock { |
| 1237 | + position: relative; | ||
| 1237 | padding: 0.1em 1em; | 1238 | padding: 0.1em 1em; |
| 1238 | /*border-right: 1px solid #c5c5c5;*/ | 1239 | /*border-right: 1px solid #c5c5c5;*/ |
| 1239 | /*background-color: #fcfcfc;*/ | 1240 | /*background-color: #fcfcfc;*/ |
| 1240 | - margin: 1em 0; | ||
| 1241 | - position:relative; | 1241 | + margin: 1em 0 0 0.5em; |
| 1242 | } | 1242 | } |
| 1243 | 1243 | ||
| 1244 | 1244 | ||
| 1245 | -.ktInfo, .ktError { | 1245 | +.ktInfo, .ktError { |
| 1246 | + position: relative; | ||
| 1246 | background-repeat: repeat-x; | 1247 | background-repeat: repeat-x; |
| 1247 | background-position: top left; | 1248 | background-position: top left; |
| 1248 | } | 1249 | } |
| @@ -1353,7 +1354,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes | @@ -1353,7 +1354,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes | ||
| 1353 | padding: 0; | 1354 | padding: 0; |
| 1354 | padding-top: 16px; | 1355 | padding-top: 16px; |
| 1355 | height: 0px !important; | 1356 | height: 0px !important; |
| 1356 | - height /**/: 16px; | 1357 | + height: 16px; |
| 1357 | width: 16px; | 1358 | width: 16px; |
| 1358 | cursor: pointer; | 1359 | cursor: pointer; |
| 1359 | } | 1360 | } |
| @@ -1481,7 +1482,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes | @@ -1481,7 +1482,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes | ||
| 1481 | 1482 | ||
| 1482 | .dashboard_block_bottomrepeat { | 1483 | .dashboard_block_bottomrepeat { |
| 1483 | position: absolute; | 1484 | position: absolute; |
| 1484 | - width: 90%; | 1485 | + width: 92%; |
| 1485 | height: 13px; | 1486 | height: 13px; |
| 1486 | bottom: 0px; | 1487 | bottom: 0px; |
| 1487 | left: 30px; | 1488 | left: 30px; |
| @@ -1803,14 +1804,15 @@ hr { | @@ -1803,14 +1804,15 @@ hr { | ||
| 1803 | 1804 | ||
| 1804 | .dashboard_block_icons | 1805 | .dashboard_block_icons |
| 1805 | { | 1806 | { |
| 1806 | - float: right; | 1807 | + position: absolute; |
| 1808 | + top: 0px; | ||
| 1809 | + right: 10px; | ||
| 1807 | text-align: right; | 1810 | text-align: right; |
| 1808 | margin: 0.2em 0em 0 0; | 1811 | margin: 0.2em 0em 0 0; |
| 1809 | - z-index: 100; | ||
| 1810 | } | 1812 | } |
| 1811 | 1813 | ||
| 1812 | .dashboard_block_handle | 1814 | .dashboard_block_handle |
| 1813 | -{ | 1815 | +{ |
| 1814 | cursor: pointer; | 1816 | cursor: pointer; |
| 1815 | margin: 0.2em -0.5em 0.5em 0; | 1817 | margin: 0.2em -0.5em 0.5em 0; |
| 1816 | font-size:small; | 1818 | font-size:small; |
resources/css/kt-ie-icons.css
| 1 | .ktInfo p { background: transparent url(../../thirdparty/icon-theme/16x16/status/dialog-information.gif) center left no-repeat; } | 1 | .ktInfo p { background: transparent url(../../thirdparty/icon-theme/16x16/status/dialog-information.gif) center left no-repeat; } |
| 2 | -.ktError p { background: transparent url(../../thirdparty/icon-theme/16x16/status/dialog-warning.gif) center left no-repeat; } | 2 | +.ktError p { background: transparent url(../../thirdparty/icon-theme/16x16/status/dialog-warning.gif) center left no-repeat; } |
| 3 | .ktHelp { background: transparent url(../../thirdparty/icon-theme/16x16/apps/help-browser.gif) top left no-repeat; } | 3 | .ktHelp { background: transparent url(../../thirdparty/icon-theme/16x16/apps/help-browser.gif) top left no-repeat; } |
| 4 | +.ktBlock { | ||
| 5 | + background-color: white; | ||
| 6 | + border: 1px solid #ccc; | ||
| 7 | + padding-left: 0em; | ||
| 8 | +} | ||
| 9 | + | ||
| 10 | +.ktInfo, .ktError { | ||
| 11 | + padding: 0.1em 1em; | ||
| 12 | + margin: 0.5em 0 0.5em 0em; | ||
| 13 | +} | ||
| 4 | 14 | ||
| 5 | .ktActionLink.ktDelete, .ktAction.ktDelete { background-image: url(../../resources/graphics/delete.gif); } | 15 | .ktActionLink.ktDelete, .ktAction.ktDelete { background-image: url(../../resources/graphics/delete.gif); } |
| 6 | .ktActionLink.ktEdit, .ktAction.ktEdit { background-image: url(../../thirdparty/icon-theme/16x16/actions/document-properties.gif); } | 16 | .ktActionLink.ktEdit, .ktAction.ktEdit { background-image: url(../../thirdparty/icon-theme/16x16/actions/document-properties.gif); } |
| @@ -13,7 +23,7 @@ | @@ -13,7 +23,7 @@ | ||
| 13 | .ktActionLink.ktDenied, .ktAction.ktDenied { background-image: url(../../resources/graphics/denied.gif); } | 23 | .ktActionLink.ktDenied, .ktAction.ktDenied { background-image: url(../../resources/graphics/denied.gif); } |
| 14 | .ktActionLink.ktMoveUp, .ktAction.ktMoveUp { background-image: url(../../thirdparty/icon-theme/16x16/actions/move-up.gif); } | 24 | .ktActionLink.ktMoveUp, .ktAction.ktMoveUp { background-image: url(../../thirdparty/icon-theme/16x16/actions/move-up.gif); } |
| 15 | .ktActionLink.ktMoveDown, .ktAction.ktMoveDown { background-image: url(../../thirdparty/icon-theme/16x16/actions/move-down.gif); } | 25 | .ktActionLink.ktMoveDown, .ktAction.ktMoveDown { background-image: url(../../thirdparty/icon-theme/16x16/actions/move-down.gif); } |
| 16 | - | 26 | +.ktBlock {margin: 0.5em 0;} |
| 17 | .contenttype.office { background-image: url(../../resources/mimetypes/office.gif); } | 27 | .contenttype.office { background-image: url(../../resources/mimetypes/office.gif); } |
| 18 | .contenttype.word { background-image: url(../../resources/mimetypes/word.gif); } | 28 | .contenttype.word { background-image: url(../../resources/mimetypes/word.gif); } |
| 19 | .contenttype.database { background-image: url(../../resources/mimetypes/database.gif); } | 29 | .contenttype.database { background-image: url(../../resources/mimetypes/database.gif); } |
| @@ -93,6 +103,21 @@ | @@ -93,6 +103,21 @@ | ||
| 93 | background: url(../../resources/graphics/menu_divider.gif) top left no-repeat; | 103 | background: url(../../resources/graphics/menu_divider.gif) top left no-repeat; |
| 94 | } | 104 | } |
| 95 | 105 | ||
| 106 | +#content .dashboard_block .action_rollup | ||
| 107 | +{ | ||
| 108 | + background-image: url(../graphics/bullet_toggle_minus.gif); | ||
| 109 | +} | ||
| 110 | + | ||
| 111 | +#content .dashboard_block.rolled-up .action_rollup | ||
| 112 | +{ | ||
| 113 | + background-image: url(../graphics/bullet_toggle_plus.gif); | ||
| 114 | +} | ||
| 115 | + | ||
| 116 | +#content .dashboard_block .action_close | ||
| 117 | +{ | ||
| 118 | + background-image: url(../graphics/bullet_toggle_close.gif); | ||
| 119 | +} | ||
| 120 | + | ||
| 96 | 121 | ||
| 97 | /* NO CHILD SELECTORS IN IE! */ | 122 | /* NO CHILD SELECTORS IN IE! */ |
| 98 | 123 | ||
| @@ -118,3 +143,54 @@ | @@ -118,3 +143,54 @@ | ||
| 118 | .kt_treenodes li.inactive ul { | 143 | .kt_treenodes li.inactive ul { |
| 119 | display: none; | 144 | display: none; |
| 120 | } | 145 | } |
| 146 | + | ||
| 147 | + | ||
| 148 | +.dashboard_block_topleft { | ||
| 149 | + background: white url(../graphics/dashlet_toprepeat.gif) top left repeat-x; | ||
| 150 | +} | ||
| 151 | + | ||
| 152 | +.dashboard_block_toprepeat { | ||
| 153 | + width: 95%; | ||
| 154 | + background: white url(../graphics/dashlet_toprepeat.gif) top left repeat-x; | ||
| 155 | +} | ||
| 156 | + | ||
| 157 | +.dashboard_block_topright { | ||
| 158 | + background: white url(../graphics/dashlet_toprepeat.gif) top left repeat-x; | ||
| 159 | +} | ||
| 160 | + | ||
| 161 | +.dashboard_block_leftrepeat_top { | ||
| 162 | + display: none; | ||
| 163 | +} | ||
| 164 | + | ||
| 165 | +.dashboard_block_leftrepeat_bottom { | ||
| 166 | + display: none; | ||
| 167 | +} | ||
| 168 | + | ||
| 169 | +.dashboard_block_bottomleft { | ||
| 170 | + display: none; | ||
| 171 | +} | ||
| 172 | + | ||
| 173 | +.dashboard_block_bottomrepeat { | ||
| 174 | + display: none; | ||
| 175 | +} | ||
| 176 | + | ||
| 177 | +.dashboard_block_bottomright { | ||
| 178 | + display: none; | ||
| 179 | +} | ||
| 180 | + | ||
| 181 | +.dashboard_block_rightrepeat_top { | ||
| 182 | + display: none; | ||
| 183 | +} | ||
| 184 | + | ||
| 185 | +.dashboard_block_rightrepeat_bottom { | ||
| 186 | + display: none; | ||
| 187 | +} | ||
| 188 | + | ||
| 189 | +.dashboard_block_handle { | ||
| 190 | + margin: 0.2em -0.5em 0.5em 1em; | ||
| 191 | +} | ||
| 192 | + | ||
| 193 | +.ktBlock .dashboard_block_body | ||
| 194 | +{ | ||
| 195 | + margin: 8px 0 10px 1em; | ||
| 196 | +} | ||
| 121 | \ No newline at end of file | 197 | \ No newline at end of file |
templates/kt3/standard_page.smarty
| @@ -94,7 +94,7 @@ | @@ -94,7 +94,7 @@ | ||
| 94 | · | 94 | · |
| 95 | {/if} | 95 | {/if} |
| 96 | {/foreach} | 96 | {/foreach} |
| 97 | - {if ($page->getHelpURL() != null)} <span class="fahrner"><a href="{$page->getHelpURL()}"><img src="thirdparty/icon-theme/16x16/apps/help-browser.png" border="0" align="top" /></a>{/if} | 97 | + {if ($page->getHelpURL() != null)} <span class="fahrner"><a href="{$page->getHelpURL()}"><img src="thirdparty/icon-theme/16x16/apps/help-browser.gif" border="0" align="top" /></a>{/if} |
| 98 | </li> | 98 | </li> |
| 99 | </ul> | 99 | </ul> |
| 100 | </div> | 100 | </div> |