]> git.wh0rd.org Git - tt-rss.git/commitdiff
further stylesheet simplification related fixes
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 3 Dec 2017 10:25:34 +0000 (13:25 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 3 Dec 2017 10:25:34 +0000 (13:25 +0300)
atom-to-html.xsl
classes/feeds.php
classes/handler/public.php
classes/opml.php
css/utility.less
include/login_form.php
include/sanity_check.php
install/index.php
plugins/auth_internal/init.php
register.php
update.php

index 1b827bb8f76a86f20f13ed31e2e21bd519f2a199..f32d5998311f11cbe7176cac094dab71ad83ed01 100644 (file)
@@ -9,11 +9,11 @@
 <html>
        <head>
                <title><xsl:value-of select="atom:title"/></title>
-               <link rel="stylesheet" type="text/css" href="css/utility.css"/>
+               <link rel="stylesheet" type="text/css" href="css/default.css"/>
                <script language="javascript" src="lib/xsl_mop-up.js"></script>
        </head>
 
-       <body onload="go_decoding()">
+       <body onload="go_decoding()" class="ttrss_utility">
 
                <div id="cometestme" style="display:none;">
                        <xsl:text disable-output-escaping="yes">&amp;amp;</xsl:text>
index 70e8ade939655a8cb8ee218c561a922d88f9bcca..30d26f361937aa4cb95defbcfd106977ff89a231 100755 (executable)
@@ -1201,10 +1201,10 @@ class Feeds extends Handler_Protected {
                ?>
                <html>
                <head>
-                       <link rel="stylesheet" type="text/css" href="css/utility.css">
+                       <?php echo stylesheet_tag("css/default.css") ?>
                        <title>Feed Debugger</title>
                </head>
-               <body class="small_margins">
+               <body class="small_margins ttrss_utility claro">
                <h1>Feed Debugger: <?php echo "$feed_id: " . $this->getFeedTitle($feed_id) ?></h1>
                <form method="GET" action="">
                        <input type="hidden" name="op" value="feeds">
index 9fccf884b45a3ea915855e57193662949f8c7978..bd938cdbb51275ae6b251e2b970d08780833125b 100644 (file)
@@ -353,12 +353,11 @@ class Handler_Public extends Handler {
                <link rel=\"shortcut icon\" type=\"image/png\" href=\"images/favicon.png\">
                <link rel=\"icon\" type=\"image/png\" sizes=\"72x72\" href=\"images/favicon-72px.png\">";
 
-               echo stylesheet_tag("css/utility.css");
                echo stylesheet_tag("css/default.css");
                echo javascript_tag("lib/prototype.js");
                echo javascript_tag("lib/scriptaculous/scriptaculous.js?load=effects,controls");
                print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
-                       </head><body id='sharepopup'>";
+                       </head><body id='sharepopup' class='ttrss_utility'>";
 
                $action = $_REQUEST["action"];
 
@@ -647,11 +646,12 @@ class Handler_Public extends Handler {
                <link rel=\"shortcut icon\" type=\"image/png\" href=\"images/favicon.png\">
                <link rel=\"icon\" type=\"image/png\" sizes=\"72x72\" href=\"images/favicon-72px.png\">";
 
-               echo stylesheet_tag("css/utility.css");
+               echo stylesheet_tag("lib/dijit/themes/claro/claro.css");
+               echo stylesheet_tag("css/default.css");
                echo javascript_tag("lib/prototype.js");
 
                print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
-                       </head><body id='forgotpass'>";
+                       </head><body class='claro ttrss_utility'>";
 
                print '<div class="floatingLogo"><img src="images/logo_small.png"></div>';
                print "<h1>".__("Password recovery")."</h1>";
@@ -707,17 +707,17 @@ class Handler_Public extends Handler {
 
                        print "<fieldset>";
                        print "<label>".__("Login:")."</label>";
-                       print "<input type='text' name='login' value='' required>";
+                       print "<input class='input input-text' type='text' name='login' value='' required>";
                        print "</fieldset>";
 
                        print "<fieldset>";
                        print "<label>".__("Email:")."</label>";
-                       print "<input type='email' name='email' value='' required>";
+                       print "<input class='input input-text' type='email' name='email' value='' required>";
                        print "</fieldset>";
 
                        print "<fieldset>";
                        print "<label>".__("How much is two plus two:")."</label>";
-                       print "<input type='text' name='test' value='' required>";
+                       print "<input class='input input-text' type='text' name='test' value='' required>";
                        print "</fieldset>";
 
                        print "<p/>";
@@ -831,7 +831,7 @@ class Handler_Public extends Handler {
                        <head>
                        <title>Database Updater</title>
                        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-                       <link rel="stylesheet" type="text/css" href="css/utility.css"/>
+                       <link rel="stylesheet" type="text/css" href="css/default.css"/>
                        <link rel=\"shortcut icon\" type=\"image/png\" href=\"images/favicon.png\">
                        <link rel=\"icon\" type=\"image/png\" sizes=\"72x72\" href=\"images/favicon-72px.png\">
                        </head>
@@ -839,7 +839,7 @@ class Handler_Public extends Handler {
                                span.ok { color : #009000; font-weight : bold; }
                                span.err { color : #ff0000; font-weight : bold; }
                        </style>
-               <body>
+               <body class="claro ttrss_utility">
                        <script type='text/javascript'>
                        function confirmOP() {
                                return confirm("Update the database?");
index 98ea21a5ce97eff9932e151294e8bc08c98b0fb4..b09653ca97268924e13ba2833e59c224617ec220 100644 (file)
@@ -27,11 +27,11 @@ class Opml extends Handler_Protected {
 
                print "<html>
                        <head>
-                               <link rel=\"stylesheet\" href=\"css/utility.css\" type=\"text/css\">
+                               ".stylesheet_tag("css/default.css")."
                                <title>".__("OPML Utility")."</title>
                                <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
                        </head>
-                       <body>
+                       <body class='claro ttrss_utility'>
                        <div class=\"floatingLogo\"><img src=\"images/logo_small.png\"></div>
                        <h1>".__('OPML Utility')."</h1><div class='content'>";
 
index fd6d4fbc1f9d4e684c233d24e407089a28874616..a74b0078027095e56738c20bc03407a2aa11219b 100644 (file)
@@ -177,35 +177,6 @@ body.ttrss_utility {
                border-color : #e0e0e0;
        }
 
-       body#sharepopup {
-               background-color : white;
-               background-image : url("../images/toolbar.png");
-               background-repeat : repeat-x;
-               background-position : bottom;
-               margin : 10px;
-               padding : 0px;
-       }
-
-       body#sharepopup h1 {
-               font-size : 14px;
-               margin : 0px;
-               color : rgb(82, 168, 236);
-       }
-
-       body#sharepopup table {
-               background : white;
-               border : 1px solid rgb(82, 168, 236);
-               padding : 5px;
-       }
-
-       body#sharepopup form {
-               height : 100%;
-       }
-
-       body#sharepopup input {
-               width : 100%;
-       }
-
        div.autocomplete {
                position : absolute;
                width : 250px;
@@ -288,3 +259,30 @@ body.small_margins {
        margin : 1em;
        max-width : none;
 }
+
+body#sharepopup {
+       background: white url("../images/toolbar.png") repeat-x bottom;
+       margin : 10px;
+       padding : 0px;
+
+       h1 {
+               font-size : 14px;
+               margin : 0px;
+               color : rgb(82, 168, 236);
+       }
+
+       table {
+               background : white;
+               border : 1px solid rgb(82, 168, 236);
+               padding : 5px;
+       }
+
+       form {
+               height : 100%;
+       }
+
+       input {
+               width : 100%;
+       }
+
+}
index 09f9f04b89bea77c418731d788d5e5df97c8b1ee..3cc89f41f5ac71fc275b3782f215139a9957331c 100644 (file)
@@ -24,7 +24,7 @@
                });
        </script>
        <style type="text/css">
-       body#ttrssLogin {
+       body.ttrss_login {
                padding : 2em;
                font-size : 14px;
        }
                border-width : 0px;
        }
 
-       /*input.input {
-               font-family : sans-serif;
-               font-size : medium;
-               border-spacing : 2px;
-               border : 1px solid #b5bcc7;
-               padding : 2px;
-       }*/
-
        label {
                width : 120px;
                margin-right : 20px;
        }
 
        div.header {
-               border-width : 0px 0px 1px 0px;
-               border-style : solid;
-               border-color : #0088cc;
-               margin-bottom : 1em;
+        border: 0px solid #0088cc;
+        border-bottom-width: 1px;
+        margin-bottom : 1em;
                padding-bottom : 5px;
        }
 
        div.footer {
                margin-top : 1em;
                padding-top : 5px;
-               border-width : 1px 0px 0px 0px;
-               border-style : solid;
-               border-color : #0088cc;
-               text-align : center;
+        border: 0px solid #0088cc;
+        border-top-width: 1px;
+        text-align : center;
                color : gray;
                font-size : 12px;
        }
                display : inline-block;
        }
 
-       a {
-               color : #0088cc;
-       }
-
        a {
                color: #0088cc;
                text-decoration: none;
        </style>
 </head>
 
-<body id="ttrssLogin" class="claro">
+<body class="claro ttrss_main ttrss_login">
 
 <script type="text/javascript">
 function init() {
index 7137775850feb9ffec1fbefc6cf86e998e23076d..9c089bda2e728b290df80a0413d074bac657dadf 100755 (executable)
                        <head>
                        <title>Startup failed</title>
                                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-                               <link rel="stylesheet" type="text/css" href="css/utility.css">
+                               <link rel="stylesheet" type="text/css" href="css/default.css">
                        </head>
-               <body class='sanity_failed'>
+               <body class='sanity_failed claro ttrss_utility'>
                <div class="floatingLogo"><img src="images/logo_small.png"></div>
                        <div class="content">
 
index 9f817db1790d6da4dd3e834170f62d1e22b21cd8..46a0fdecdfa6d3f146c130cd2b182e71c0f55cb6 100755 (executable)
@@ -2,13 +2,12 @@
 <head>
        <title>Tiny Tiny RSS - Installer</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-       <link rel="stylesheet" type="text/css" href="../css/utility.css">
        <link rel="stylesheet" type="text/css" href="../css/default.css">
        <style type="text/css">
        textarea { font-size : 12px; }
        </style>
 </head>
-<body class="claro">
+<body class="claro ttrss_utility">
 
 <?php
 
index 5253ae67b9a6fac2789013880cc96c783f6b9038..ee475853034a01cfd5f5b9cd70b7c7248b87669c 100644 (file)
@@ -54,8 +54,8 @@ class Auth_Internal extends Plugin implements IAuthModule {
                                                        $return = urlencode($_REQUEST["return"]);
                                                        ?><html>
                                                                <head><title>Tiny Tiny RSS</title></head>
-                                                               <?php echo stylesheet_tag("css/utility.css") ?>
-                                                       <body class="otp"><div class="content">
+                                                               <?php echo stylesheet_tag("css/default.css") ?>
+                                                       <body class="ttrss_utility otp"><div class="content">
                                                        <form action="public.php?return=<?php echo $return ?>"
                                                                        method="POST" class="otpform">
                                                                <input type="hidden" name="op" value="login">
index 11f5d9284190d758f289a0c64e80e0b840a24eb2..d03218fc155b1da3811ee02f1bec73ff30e24c49 100644 (file)
@@ -95,7 +95,6 @@
 <head>
 <title>Create new account</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<?php echo stylesheet_tag("css/utility.css") ?>
 <?php echo stylesheet_tag("css/default.css") ?>
 <?php echo javascript_tag("js/functions.js") ?>
 <?php echo javascript_tag("lib/prototype.js") ?>
 
 </script>
 
-<body>
+<body class="claro ttrss_utility">
 
 <div class="floatingLogo"><img src="images/logo_small.png"></div>
 
index 3116ab7815cc1a4521b005ed3d436a3015e1026d..99f4a59dc7c13c96425c3b5ee6981574701bf15a 100755 (executable)
@@ -60,7 +60,6 @@
                <head>
                <title>Tiny Tiny RSS data update script.</title>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-               <link rel="stylesheet" type="text/css" href="css/utility.css">
                </head>
 
                <body>