svnno****@sourc*****
svnno****@sourc*****
2008年 11月 27日 (木) 23:10:04 JST
Revision: 1455 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1455 Author: shinsuke Date: 2008-11-27 23:10:04 +0900 (Thu, 27 Nov 2008) Log Message: ----------- added css. Modified Paths: -------------- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/config/index.jsp vfs-portlets/trunk/src/main/webapp/WEB-INF/view/list/error.jsp vfs-portlets/trunk/src/main/webapp/WEB-INF/view/list/index.jsp vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/confirm.jsp vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/edit.jsp vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/error.jsp vfs-portlets/trunk/src/main/webapp/WEB-INF/view/upload/edit.jsp vfs-portlets/trunk/src/main/webapp/WEB-INF/view/upload/error.jsp Added Paths: ----------- vfs-portlets/trunk/src/main/webapp/css/ vfs-portlets/trunk/src/main/webapp/css/pal-extension.css -------------- next part -------------- Modified: vfs-portlets/trunk/src/main/webapp/WEB-INF/view/config/index.jsp =================================================================== --- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2008-11-27 10:05:44 UTC (rev 1454) +++ vfs-portlets/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2008-11-27 14:10:04 UTC (rev 1455) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="vfs-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="form-table"> <s:form> Modified: vfs-portlets/trunk/src/main/webapp/WEB-INF/view/list/error.jsp =================================================================== --- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/list/error.jsp 2008-11-27 10:05:44 UTC (rev 1454) +++ vfs-portlets/trunk/src/main/webapp/WEB-INF/view/list/error.jsp 2008-11-27 14:10:04 UTC (rev 1455) @@ -4,8 +4,25 @@ <title></title> </head> <body> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="vfs-portlet" style="padding:3px;"> <html:errors/> <br> <s:link href="/list/index"><bean:message key="labels.back"/></s:link> +</div> </body> </html> Modified: vfs-portlets/trunk/src/main/webapp/WEB-INF/view/list/index.jsp =================================================================== --- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/list/index.jsp 2008-11-27 10:05:44 UTC (rev 1454) +++ vfs-portlets/trunk/src/main/webapp/WEB-INF/view/list/index.jsp 2008-11-27 14:10:04 UTC (rev 1455) @@ -6,7 +6,22 @@ </head> <body> <c:if test="${available}"> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="vfs-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> Modified: vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/confirm.jsp =================================================================== --- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/confirm.jsp 2008-11-27 10:05:44 UTC (rev 1454) +++ vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/confirm.jsp 2008-11-27 14:10:04 UTC (rev 1455) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="vfs-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="form-table"> <s:form> Modified: vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/edit.jsp =================================================================== --- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/edit.jsp 2008-11-27 10:05:44 UTC (rev 1454) +++ vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/edit.jsp 2008-11-27 14:10:04 UTC (rev 1455) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="vfs-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div style="margin:5px;"> Modified: vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/error.jsp =================================================================== --- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/error.jsp 2008-11-27 10:05:44 UTC (rev 1454) +++ vfs-portlets/trunk/src/main/webapp/WEB-INF/view/newfolder/error.jsp 2008-11-27 14:10:04 UTC (rev 1455) @@ -4,8 +4,25 @@ <title></title> </head> <body> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="vfs-portlet" style="padding:3px;"> <html:errors/> <br> <s:link href="/list/index"><bean:message key="labels.back"/></s:link> +</div> </body> </html> Modified: vfs-portlets/trunk/src/main/webapp/WEB-INF/view/upload/edit.jsp =================================================================== --- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/upload/edit.jsp 2008-11-27 10:05:44 UTC (rev 1454) +++ vfs-portlets/trunk/src/main/webapp/WEB-INF/view/upload/edit.jsp 2008-11-27 14:10:04 UTC (rev 1455) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="vfs-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div style="margin:5px;"> Modified: vfs-portlets/trunk/src/main/webapp/WEB-INF/view/upload/error.jsp =================================================================== --- vfs-portlets/trunk/src/main/webapp/WEB-INF/view/upload/error.jsp 2008-11-27 10:05:44 UTC (rev 1454) +++ vfs-portlets/trunk/src/main/webapp/WEB-INF/view/upload/error.jsp 2008-11-27 14:10:04 UTC (rev 1455) @@ -4,8 +4,25 @@ <title></title> </head> <body> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="vfs-portlet" style="padding:3px;"> <html:errors/> <br> <s:link href="/list/index"><bean:message key="labels.back"/></s:link> +</div> </body> </html> Added: vfs-portlets/trunk/src/main/webapp/css/pal-extension.css =================================================================== --- vfs-portlets/trunk/src/main/webapp/css/pal-extension.css (rev 0) +++ vfs-portlets/trunk/src/main/webapp/css/pal-extension.css 2008-11-27 14:10:04 UTC (rev 1455) @@ -0,0 +1,216 @@ +/* +Copyright 2008 Portal Application Laboratory Project + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/* ---------------- */ +/* Form Table */ +/* ---------------- */ +.vfs-portlet .form-table table { +border-top: 1px solid #cccccc; +border-left: 1px solid #cccccc; +border-collapse:collapse; +} + +.vfs-portlet .form-table caption { +border-top: 1px solid #cccccc; +border-left: 1px solid #cccccc; +border-right: 1px solid #cccccc; +background-color: #e8e8e8; +padding:5px; +margin:0; +font-weight: bold; +font-size:11pt; +color:#003366; +} + +.vfs-portlet .form-table thead { +margin:0; +padding:0; +} + +.vfs-portlet .form-table tbody { +margin:0; +padding:0; +} + +.vfs-portlet .form-table tfoot { +margin:0; +padding:0; +} + +.vfs-portlet .form-table th { +border-right: 1px solid #cccccc; +border-bottom: 1px solid #cccccc; +padding: 5px; +text-align: center; +background-color: #eeeeee; +empty-cells: show; +} + +.vfs-portlet .form-table td { +border-right: 1px solid #cccccc; +border-bottom: 1px solid #cccccc; +padding:3px; +empty-cells: show; +} + +.vfs-portlet .form-table tfoot tr td { +padding:10px; +text-align: center; +empty-cells: show; +} + +/* ---------------- */ +/* List Table */ +/* ---------------- */ +.vfs-portlet .list-table table { +border-top: 1px solid #cccccc; +border-left: 1px solid #cccccc; +border-collapse:collapse; +} + +.vfs-portlet .list-table caption { +border-top: 1px solid #cccccc; +border-left: 1px solid #cccccc; +border-right: 1px solid #cccccc; +background-color: #e8e8e8; +padding:5px; +margin:0; +font-weight: bold; +font-size:11pt; +color:#003366; +} + +.vfs-portlet .list-table thead { +margin:0; +padding:0; +} + +.vfs-portlet .list-table tbody { +margin:0; +padding:0; +} + +.vfs-portlet .list-table tfoot { +margin:0; +padding:0; +} + +.vfs-portlet .list-table .row1 { +background-color: #ffffff; +} + +.vfs-portlet .list-table .row2 { +background-color: #fffff8; +} + +.vfs-portlet .list-table th { +border-right: 1px solid #cccccc; +border-bottom: 1px solid #cccccc; +padding: 5px; +text-align: center; +background-color: #eeeeee; +empty-cells: show; +} + +.vfs-portlet .list-table td { +border-right: 1px solid #cccccc; +border-bottom: 1px solid #cccccc; +padding:3px; +empty-cells: show; +} + + +/* ---------------- */ +/* Tab */ +/* ---------------- */ +.vfs-portlet .tab-nav div { +height:25px; +line-height:23px; +margin:0; +padding:0; +width:100%; +} + +.vfs-portlet .tab-nav ul { +margin:0; +padding:0; +width:100%; +} + +.vfs-portlet .tab-nav ul li { +float:left; +height:25px; +line-height:23px; +list-style-image:none; +list-style-position:outside; +list-style-type:none; +} + +.vfs-portlet .tab-nav ul li a:visited { +color:#0000EE; +} + +.vfs-portlet .tab-nav ul li.first { +border-bottom:1px solid #A9A9A9; +width:10px; +} + +.vfs-portlet .tab-nav ul li.last-spacer { +border-bottom:1px solid #A9A9A9; +width:5px; +margin-right:-5px; +} + +.vfs-portlet .tab-nav ul li.last { +border-bottom:1px solid #A9A9A9; +float:none; +padding-right:10px; +text-align:right; +} + +.vfs-portlet .tab-nav ul li.selected { +border-color:#A9A9A9 #A9A9A9 #FFFFFF; +border-style:solid; +border-width:1px; +display:block; +margin:-1px; +_margin-top: 0px; +} + +.vfs-portlet .tab-nav ul li.selected span { +display:inline; +padding:0 10px; +white-space:pre; +} + +.vfs-portlet .tab-nav ul li.selectable { +background-color:#DCDCDC; +border:1px solid #A9A9A9; +display:block; +height:24px; +} + +.vfs-portlet .tab-nav ul li.selectable { +display:inline; +padding:0 10px; +white-space:pre; +} + +.vfs-portlet .tab-nav ul li.spacer { +border-bottom:1px solid #A9A9A9; +width:5px; +} + Property changes on: vfs-portlets/trunk/src/main/webapp/css/pal-extension.css ___________________________________________________________________ Name: svn:eol-style + native