svnno****@sourc*****
svnno****@sourc*****
2008年 8月 13日 (水) 16:42:55 JST
Revision: 1093 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1093 Author: sone Date: 2008-08-13 16:42:55 +0900 (Wed, 13 Aug 2008) Log Message: ----------- changed default css to use relative font-size Modified Paths: -------------- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/layout/default/css/styles.css pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/default/css/styles.css -------------- next part -------------- Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/layout/default/css/styles.css =================================================================== --- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/layout/default/css/styles.css 2008-08-13 02:16:55 UTC (rev 1092) +++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/layout/default/css/styles.css 2008-08-13 07:42:55 UTC (rev 1093) @@ -19,7 +19,8 @@ background-color: #ffffff; color: #000000; font-family: Arial, sans-serif; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 0.84em; margin: 0; padding: 0; } @@ -306,7 +307,8 @@ .layout-default #new-page-dialog h3.title { text-align: left; color: #333333; - font-size: 11pt; + /*font-size: 11pt;*/ + font-size: 1.1em; padding: 3px; margin: 0; } @@ -355,7 +357,8 @@ .layout-default #new-folder-dialog h3.title { text-align: left; color: #333333; - font-size: 11pt; + /*font-size: 11pt;*/ + font-size: 1.1em; padding: 3px; margin: 0; } @@ -404,7 +407,8 @@ .layout-default #add-portlet-dialog h3.title { text-align: left; color: #333333; - font-size: 11pt; + /*font-size: 11pt;*/ + font-size: 1.1em; padding: 3px; margin: 0; } Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/default/css/styles.css =================================================================== --- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/default/css/styles.css 2008-08-13 02:16:55 UTC (rev 1092) +++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/default/css/styles.css 2008-08-13 07:42:55 UTC (rev 1093) @@ -14,8 +14,10 @@ limitations under the License. */ +.default { + font-size: 1em; +} - .default .PTitle { /*background-image:url(../images/title_background.gif);*/ @@ -55,7 +57,8 @@ padding:0px; white-space: normal; background-color: #ffffff; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; position:static; overflow-x:auto; width:100%; @@ -81,7 +84,8 @@ font-family: Verdana, Helvetica, Arial, sans-serif; voice-family: inherit; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; } @@ -109,7 +113,8 @@ font-family: Verdana, Helvetica, Arial, sans-serif; voice-family: "\"}\""; voice-family: inherit; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; } @@ -131,7 +136,8 @@ font-family: Verdana, Helvetica, Arial, sans-serif; voice-family: "\"}\""; voice-family: inherit; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; } @@ -182,7 +188,8 @@ font-family: Verdana, Helvetica, Arial, sans-serif; voice-family: "\"}\""; voice-family: inherit; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; } @@ -270,7 +277,8 @@ font-family: Verdana, Helvetica, Arial, sans-serif; voice-family: "\"}\""; voice-family: inherit; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; } @@ -316,7 +324,8 @@ font-family: Verdana, Helvetica, Arial, sans-serif; voice-family: "\"}\""; voice-family: inherit; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; } @@ -392,7 +401,8 @@ font-family: Verdana, Helvetica, Arial, sans-serif; voice-family: "\"}\""; voice-family: inherit; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; } @@ -487,7 +497,8 @@ font-family: Verdana, Helvetica, Arial, sans-serif; voice-family: "\"}\""; voice-family: inherit; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; } /* --------------------------------- */ @@ -527,14 +538,16 @@ .default th, .default td { vertical-align: top; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; white-space: normal; /* action buttons shifts right a few millimeters by the following */ } .default th { - font-size: 10pt; +/*font-size: 10pt;*/ + font-size: 1em; } .default .portlet-table-header { @@ -554,7 +567,8 @@ background-color:#c0e0f0; color: #0080b0; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; padding: 5px; margin: .67em 2px; margin-top: 0; @@ -562,13 +576,15 @@ .default .portlet-table-row1 td { - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; background: #ddd; border-bottom: 1px solid #fff; } .default .portlet-table-row2 td { - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: 1em; background: #efefef; border-bottom: 1px solid #fff; }