Mikolaj Zalewski : move styles to styles.css
Alexandre Julliard
julliard at winehq.org
Fri Jun 19 08:36:19 CDT 2009
Module: tools
Branch: master
Commit: 936e4469ee4b733ff88e46fbb507b2fbe03fb911
URL: http://source.winehq.org/git/tools.git/?a=commit;h=936e4469ee4b733ff88e46fbb507b2fbe03fb911
Author: Mikolaj Zalewski <mikolajz at tygrys.dom>
Date: Sun Mar 2 13:47:25 2008 +0100
move styles to styles.css
---
php/resource.php | 13 +------------
php/style.css | 13 +++++++++++++
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/php/resource.php b/php/resource.php
index 5d6edbe..e17fbaa 100644
--- a/php/resource.php
+++ b/php/resource.php
@@ -12,18 +12,7 @@ $compare = isset($_REQUEST['compare']);
?>
<html>
<head>
- <style>
- .resmeta
- {
- color: #7f7fff;
- font-style: italic;
- }
- .resdisabled
- {
- color: grey;
- font-style: italic;
- }
- </style>
+ <link rel="stylesheet" href="style.css" type="text/css"/>
</head>
<body>
<?php dump_menu_root() ?> > <?php dump_menu_lang($lang) ?> > <?php dump_menu_resfile($lang, $resfile) ?> >
diff --git a/php/style.css b/php/style.css
new file mode 100644
index 0000000..aed2948
--- /dev/null
+++ b/php/style.css
@@ -0,0 +1,13 @@
+/* used to mark resource parts that are not literaly in the string, like \0, \n etc*/
+.resmeta
+{
+ color: #7f7fff;
+ font-style: italic;
+}
+
+/* used to mark disabled menu options */
+.resdisabled
+{
+ color: grey;
+ font-style: italic;
+}
More information about the wine-cvs
mailing list