Author: taylor Date: Wed Nov 25 04:35:24 2015 New Revision: 1716299 URL: http://svn.apache.org/viewvc?rev=1716299&view=rev Log: JS2-1345: Minor Improvements to the CSS in Site Manager and Constraints portlet.
Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/site/PortalSiteManager.html portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/css/security-constraints.css Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/site/PortalSiteManager.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/site/PortalSiteManager.html?rev=1716299&r1=1716298&r2=1716299&view=diff ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/site/PortalSiteManager.html (original) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/site/PortalSiteManager.html Wed Nov 25 04:35:24 2015 @@ -70,10 +70,10 @@ div.wicket-aa ul li.selected { <td colspan="2" class="portlet-section-header"></td> </tr> <tr> - <td class="portlet-section-body"> + <td class="portlet-section-body" style="width: 40%"> <div wicket:id="siteTree" class="my-tree">[Tree goes here]</div> </td> - <td class="portlet-section-body"> + <td class="portlet-section-body" style="width: 60%"> <div wicket:id="tabs" class="tabpanel">[panel goes here]</div> </td> </tr> Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/css/security-constraints.css URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/css/security-constraints.css?rev=1716299&r1=1716298&r2=1716299&view=diff ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/css/security-constraints.css (original) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/css/security-constraints.css Wed Nov 25 04:35:24 2015 @@ -14,112 +14,112 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - .dojoDialog { - background : #eee; - border : 1px solid #999; - -moz-border-radius : 5px; - padding : 4px; - width: 920px; - } - - .buttonbox { - display: block; - text-align: center; - } - .buttonbox .dojoButton { - float: left; - margin-right: 10px; - margin-bottom: 6px; - } - - .buttonboxright { - display: block; - text-align: center; - } - .buttonboxright .dojoButton { - float: right; - margin-left: 10px; - margin-bottom: 6px; - } - - .constraints { - font-family:Lucida Grande, Verdana; - font-size:0.8em; - width:100%; - border:1px solid #ccc; - cursor:default; - } - - #mainTabContainer { - width: 100%; - height: 304px; - top: 2px; /* without this, the tabs are cut off at the top */ - } - - * html div.tableContainer { /* IE only hack */ - width: 95%; - border: 1px solid #ccc; - height: 285px; - overflow-x: hidden; - overflow-y: auto; - } - - .constraints td, - .constraints th{ - border-right: 1px solid #999; - padding: 2px; - font-weight: normal; - font-size: small; - } - - .constraints thead td, .constraints thead th { - background-image:url(/j2-admin/images/st-head.gif); - background-repeat:no-repeat; - background-position:top right; - font-size: small; - font-weight: bold; - text-align: left; - } - .constraints thead td.selectedUp, .constraints thead th.selectedUp { - background-image:url(/j2-admin/images/st-headup.gif); - } - .constraints thead td.selectedDown, .constraints thead th.selectedDown { - background-image:url(/j2-admin/images/st-headdown.gif); - } - - * html div.tableContainer table thead tr td, - * html div.tableContainer table thead tr th{ - /* IE Only hacks */ - position:relative; - top:expression(dojo.html.getFirstAncestorByTag(this,'table').parentNode.scrollTop-2); - } - - - html>body tbody.scrollContent { - height: 262px; - overflow-x: hidden; - overflow-y: auto; - } - - tbody.scrollContent td, tbody.scrollContent tr td { - background: #FFF; - padding: 2px; - } - - tbody.scrollContent tr.alternateRow td { - background: #e3edfa; - padding: 2px; - } - - tbody.scrollContent tr.selected td { - background: yellow; - padding: 2px; - } - tbody.scrollContent tr:hover td { - background: #a6c2e7; - padding: 2px; - } - tbody.scrollContent tr.selected:hover td { - background: #ff3; - padding: 2px; - } +.dojoDialog { + background : #eee; + border : 1px solid #999; + -moz-border-radius : 5px; + padding : 4px; + width: 920px; +} + +.buttonbox { + display: block; + text-align: center; +} +.buttonbox .dojoButton { + float: left; + margin-right: 10px; + margin-bottom: 6px; +} + +.buttonboxright { + display: block; + text-align: center; +} +.buttonboxright .dojoButton { + float: right; + margin-left: 10px; + margin-bottom: 6px; +} + +.constraints { + font-family:Lucida Grande, Verdana; + font-size:0.8em; + width:100%; + border:1px solid #ccc; + cursor:default; +} + +#mainTabContainer { + width: 100%; + height: 304px; + top: 2px; /* without this, the tabs are cut off at the top */ +} + +* html div.tableContainer { /* IE only hack */ + width: 95%; + border: 1px solid #ccc; + height: 285px; + overflow-x: hidden; + overflow-y: auto; +} + +.constraints td, +.constraints th{ + border-right: 1px solid #999; + padding: 2px; + font-weight: normal; + font-size: small; +} + +.constraints thead td, .constraints thead th { + background-image:url(/j2-admin/images/st-head.gif); + background-repeat:no-repeat; + background-position:top right; + font-size: small; + font-weight: bold; + text-align: left; +} +.constraints thead td.selectedUp, .constraints thead th.selectedUp { + background-image:url(/j2-admin/images/st-headup.gif); +} +.constraints thead td.selectedDown, .constraints thead th.selectedDown { + background-image:url(/j2-admin/images/st-headdown.gif); +} + +* html div.tableContainer table thead tr td, +* html div.tableContainer table thead tr th{ + /* IE Only hacks */ + position:relative; + top:expression(dojo.html.getFirstAncestorByTag(this,'table').parentNode.scrollTop-2); +} + + +html>body tbody.scrollContent, #defs>.tableContainer { + height: 262px; + overflow-x: hidden; + overflow-y: auto; +} + +tbody.scrollContent td, tbody.scrollContent tr td { + background: #FFF; + padding: 2px; +} + +tbody.scrollContent tr.alternateRow td { + background: #e3edfa; + padding: 2px; +} + +tbody.scrollContent tr.selected td { + background: yellow; + padding: 2px; +} +tbody.scrollContent tr:hover td { + background: #a6c2e7; + padding: 2px; +} +tbody.scrollContent tr.selected:hover td { + background: #ff3; + padding: 2px; +} --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org