]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.css
css layout for preferences
[tt-rss.git] / tt-rss.css
index 9b4d3eac9212ff252bf04be8ea38c4999170ba5f..1206c64332ee08bdbc6d69430428ca5fab0bb0d6 100644 (file)
@@ -6,108 +6,7 @@ body {
        font-family : sans-serif;
 }
 
-/* common styles */
-
-table.main td.headerBox {
-/*        background-image : url("images/vgrad_light_rev2.png");
-       background-position : top left;
-       background-repeat : repeat-x; */
-                 background-color : white;
-}
-
-table.main td.header {
-       padding : 10px 10px 10px 10px;
-       height : 70px;
-}
-
-table.main td.mainToolbar {
-       border-width : 0px 0px 0px 0px;
-       border-style : solid;
-       border-color : #c0c0c0;
-       padding : 3px 25px 3px 10px;
-}
-
-table.main td.prefsToolbar {
-       padding : 0px 5px 5px 0px;
-}
-
-table.main td.feeds {
-       width : 290px;
-       height : 100%;
-       border-width : 1px 0px 0px 0px;
-       border-style : solid;
-       border-color : #88b0f0;
-       padding : 0px;
-}
-
-table.main td.headlinesToolbarBox {
-       padding : 10px;
-       border-width : 0px 0px 1px 1px;
-       border-style : solid;
-       border-color : #88b0f0;
-       background-image : url("images/toolbar.png");
-       background-position : bottom left;
-       background-repeat : repeat-x;
-       background-color : white;
-}
-
-table.main td.footer {
-       border-width : 1px 0px 0px 0px;
-       border-style : solid;
-       border-color : #88b0f0;
-       padding : 10px;
-       text-align : center;
-       font-size : x-small;
-       background-image : url("images/footer.png");
-       background-position : top left;
-       background-repeat : repeat-x; 
-       background-color : white;
-       color : black;
-}
-
-table.main td.footer a {
-       color : black;
-}
-
-table.main td.footer a:hover {
-       color : #4684ff;
-}
-
-table.main td.headlines {
-       height : 25%;
-       border-width : 0px 0px 1px 1px;
-       border-style : solid;
-       border-color : #88b0f0;
-}
-
-table.main td.headlines2 {
-       height : 100%;
-       border-width : 0px 0px 0px 1px;
-       border-style : solid;
-       border-color : #c0c0c0;
-}
-
-table.main td.content {
-       height : 100%;
-       border-width : 0px 0px 0px 1px;
-       border-style : solid;
-       border-color : #88b0f0;
-}
-
-table.main td.prefContent {
-       height : 100%;
-       background-image : url("images/prefs-content.png");
-       background-position : top left;
-       background-repeat : repeat-x;
-       border-width : 1px 0px 0px 0px;
-       border-style : solid;
-       border-color : #88b0f0;
-       padding : 20px;
-       background-color : white; 
-}
-
 div.postReply {
-       height : 100%;
        padding : 10px;
 }
 
@@ -141,15 +40,15 @@ div.postReply div.postIcon {
 ul.feedList {
        list-style-type : none;
        margin : 5px;
-       padding : 0px 0px 0px 10px;
-       font-size : x-small;
+       padding : 0px 0px 0px 5px;
+       font-size : small;
 }
 
 ul.feedList li.feedCat {
        margin : 0px;
        padding : 3px 0px 3px 0px;
        color : #707070;
-       font-size : x-small;
+       font-size : small;
 }
 
 ul.feedList li.feedCat a {
@@ -162,7 +61,7 @@ ul.feedList li.feedCat a:hover {
 
 ul.feedCatList {
        list-style-type : none;
-       margin : 0px 0px 0px 20px;
+       margin : 0px 0px 0px 15px;
        padding : 0px;  
 }
 
@@ -176,44 +75,44 @@ ul.feedList li {
        margin : 0px;
 }
 
-ul.feedlist li.feedUnread, 
-ul.feedlist li.errorUnread, 
-ul.feedlist li.labelUnread, 
-ul.feedlist li.virtUnread,
-ul.feedlist li.tagUnread {
+li.feedUnread, 
+li.errorUnread, 
+li.labelUnread, 
+li.virtUnread,
+li.tagUnread {
        font-weight : bold;
 }
 
-ul.feedlist li.errorSelected a,
-ul.feedlist li.error a,
-ul.feedlist li.errorUnread a,
-ul.feedlist li.errorUnreadSelected a {
+li.errorSelected a,
+li.error a,
+li.errorUnread a,
+li.errorUnreadSelected a {
        color : #f04040;
 }
 
-ul.feedlist li.feedSelected a,
-ul.feedlist li.labelSelected a,
-ul.feedlist li.virtSelected a,
-ul.feedlist li.tagSelected a {
+li.feedSelected a,
+li.labelSelected a,
+li.virtSelected a,
+li.tagSelected a {
        color : #4684ff;
 }
 
-ul.feedlist li.feedUnreadSelected a,
-ul.feedlist li.labelUnreadSelected a,
-ul.feedlist li.virtUnreadSelected a,
-ul.feedlist li.tagUnreadSelected a {
+li.feedUnreadSelected a,
+li.labelUnreadSelected a,
+li.virtUnreadSelected a,
+li.tagUnreadSelected a {
        color : #4684ff;
 }
 
-ul.feedlist li.feedUnreadSelected,
-ul.feedlist li.errorUnreadSelected,
-ul.feedlist li.labelUnreadSelected,
-ul.feedlist li.virtUnreadSelected,
-ul.feedlist li.tagUnreadSelected {
+li.feedUnreadSelected,
+li.errorUnreadSelected,
+li.labelUnreadSelected,
+li.virtUnreadSelected,
+li.tagUnreadSelected {
        font-weight : bold;
 }
 
-ul.feedList li.feed {
+li.feed {
        display : block;
 }
 
@@ -266,8 +165,8 @@ a:hover {
        top : -400;
        background-color : white;
        display : none;
-       z-index : 3;
-       background-image : url("http://madoka.spb.ru/stuff/fox/piggie.png");
+       z-index : 999;
+       background-image : url("images/piggie.png");
        background-position : center center;
        background-repeat : no-repeat;
        position : absolute;
@@ -284,6 +183,20 @@ a:hover {
 #iedit_parent_feed {
        width : 100%;
        padding-left : 2px;
+       background-color : #f0fff0;
+}
+
+textarea.iedit {
+       width : 100%;
+}
+
+input.iedit {
+       width : 100%;
+       padding-left : 2px;
+}
+
+select.iedit {
+       width : 100%;
 }
 
 input.editbox {
@@ -296,27 +209,44 @@ td.notifyBox {
        text-align : right;
 }
 
-#notify {
+.notify_sm {
        background : #fff7d5;
        border : 1px solid #d7c47a;
        padding : 3px;
-       top : 25px;
-       right : 150px;
-       min-width : 300px;
-       position : absolute;    
        -moz-border-radius : 3px;
-       font-size : x-small;
-       font-weight : bold;
-       text-align : center;
-       float : right;
+       font-size : small;
+       text-align : left;
        padding : 3px 20px 3px 20px;
+       text-align : center;
+       float : left;
+       min-width : 20%;
+       position : absolute;
+       left : 2px;
+       top : 2px;
+       display : none;
+}
+
+.notify {
+       background : #fff7d5;
+       border : 1px solid #d7c47a;
+       top : 10px;
+       right : 35%;
+       min-width : 30%;
+       position : absolute;    
        display : none;
+       float : right;
+       font-size : small;
+       text-align : center;
+       z-index : 999;
+       -moz-border-radius : 2px;
+       padding : 5px 5px 5px 5px;
 }
 
 #dispSwitch {
-       padding : 5px 5px 5px 0px;
        font-size : x-small;
        text-align : right;
+       float : right;
+       margin : 5px 5px 0px 0px;
 }
 
 #dispSwitch a {
@@ -525,7 +455,7 @@ div.helpResponse {
        background-color : #ecf4ff;
 }
 
-#infoBox > #infoBoxTitle {
+#infoBoxTitle {
        border-width : 1px 1px 1px 1px;
        border-style : solid;
        border-color : #88b0f0;
@@ -535,15 +465,14 @@ div.helpResponse {
 }
 
 
-#infoBoxShadow > #infoBox {    
+#infoBox {     
        border-width : 1px 1px 1px 1px;
        border-style : solid;
        border-color : #88b0f0;
        font-size : small;
        position : relative;
-       top : 30%;
-       left : 30%;
-       width : 30%;
+       bottom : 2px;
+       right : 2px;
        padding-bottom : 5px;   
        background-image : url("images/prefs-content.png");
        background-position : top left;
@@ -551,12 +480,11 @@ div.helpResponse {
        background-color : white;
 }
 
-td > #infoBoxShadow {
-       background-image : url("images/overlay.png");
-       left : 0;
-       top : 0;
-       height : 100%;
-       width : 100%;
+#infoBoxShadow {
+       background-image : url("images/shadow.png");
+       left : 30%;
+       top : 30%;
+       width : 30%;
        z-index : 3;
        position : absolute;
        display : none;
@@ -613,7 +541,7 @@ input.prefsTab {
        padding : 2px 7px 2px 7px;
        margin : 0px 1px 0px 0px;
        width : 130px;
-       font-size : x-small;
+       font-size : small;
        background-color : white;
 }
 
@@ -629,7 +557,7 @@ input.prefsTabSelected {
        font-weight : bold;
        background-position : top left;
        background-repeat : repeat-x;
-       font-size : x-small;
+       font-size : small;
 }
 
 
@@ -640,9 +568,9 @@ input.prefsTabSelected {
 div.warning {
        background : #fff7d5;
        border : 1px solid #d7c47a;
-       padding : 3px;
+       padding : 5px;
        margin : 5px;
-       font-size : x-small;
+       font-size : small;
 }
 
 div.notice {
@@ -650,7 +578,7 @@ div.notice {
        border : 1px solid #88b0f0;
        padding : 5px;
        margin : 5px;
-       font-size : x-small;
+       font-size : small;
 }
 
 ul.nomarks {
@@ -677,7 +605,7 @@ td.welcomePrompt {
        color : #4684ff;
        text-align : right;
        padding-right : 10px;
-
+       padding-top : 5px;
 }
 
 td.httpWelcomePrompt {
@@ -809,30 +737,6 @@ table.headlinesList tr td {
        padding : 2px 0px 2px 0px;
 }
 
-/*
-tr.even td.headlineContent, tr.evenUnread td.headlineContent {
-       display : block;
-       overflow : hidden;
-       height : 1em;   
-       background-color : #f0f0f0;
-}
-
-tr.odd td.headlineContent, tr.oddUnread td.headlineContent {
-       display : block;
-       overflow : hidden;
-       height : 1em;
-}
-
-tr.oddSelected td.headlineContent,
-tr.evenSelected td.headlineContent,
-tr.oddUnreadSelected td.headlineContent,
-tr.evenUnreadSelected td.headlineContent {
-       display : block;
-       overflow : hidden;
-       height : 1em;
-       background-color : #e0e0ff;
-} */
-
 div.postHeader td.postDate {
        font-size : x-small;
        text-align : right;
@@ -868,6 +772,10 @@ td.hlMarkedPic, td.hlSelectRow, td.hlUpdated, td.hlFeed {
        height : 1em;
 }
 
+td.hlFeed {
+       text-align : right;
+}
+
 div.cdmArticle {
        border : 1px solid #f0f0f0;
        background-color : #fafafa;
@@ -942,7 +850,7 @@ ul.userFeedList {
        height : 300px;
        overflow : auto;
        list-style-type : none;
-                 border : 1px solid #88b0f0;
+       border : 1px solid #88b0f0;
        background-color : white;
        margin : 0px 0px 5px 0px;
        padding : 0px;
@@ -954,6 +862,26 @@ ul.userFeedList {
        -moz-border-radius : 5px;
 } */
 
+ul.labelTestResults {
+       height : 100px;
+       overflow : auto;
+       list-style-type : none;
+       margin : 0px 0px 5px 0px;
+       padding : 0px;
+       border : 1px solid #88b0f0;
+       background-color : white;
+}
+
+ul.filterTestResults {
+       height : 300px;
+       overflow : auto;
+       list-style-type : none;
+       margin : 0px 0px 5px 0px;
+       padding : 0px;
+       border : 1px solid #88b0f0;
+       background-color : white;
+}
+
 ul.browseFeedList {
        height : 300px;
        overflow : auto;
@@ -1002,10 +930,10 @@ ul.compact li {
 
 div.browserFeedInfo {
        font-size : x-small;
-       border : 1px solid #88b0f0;
+/*     border : 1px solid #88b0f0;
        background-color : #ecf4ff;
-       -moz-border-radius : 5px;
-       padding : 10px;
+       -moz-border-radius : 5px; */
+       padding : 5px;
 }
 
 div.browserFeedInfo div.detailsPart {
@@ -1034,14 +962,14 @@ a.cdmToggleLink:hover {
 }
 
 #debug_output {
-       width : 400;
-       height : 200;
-       right : 20;
-       bottom : 20;
+       position : absolute;
+       width : 400px;
+       height : 200px;
+       right : 20px;
+       bottom : 20px;
+       z-index : 999;
        background-color : white;
        display : none;
-       z-index : 999;
-       position : absolute;
        border : 1px solid #c0c0c0;
        overflow : auto;
        margin : 0px;
@@ -1096,15 +1024,290 @@ a.cdmToggleLink:hover {
        font-weight : normal;
 }
 
-div.noDaemonWarning {  
+#noDaemonWarning {     
        position : absolute;
        background-color : #ecf4ff;               
        border : 1px solid #88b0f0;
        padding : 10px;
        margin : 5px;
        z-index : 2;
+       display : none;
 }
 
 #qafInput {
        width : 100%;
 }
+
+form {
+       margin : 0px;
+       padding : 0px;
+}
+
+#main_toolbar_form {
+       display : inline;
+}
+
+div.feedExtInfo {
+       margin-left : 2em;
+       font-size : 7pt;
+       color : gray;
+       font-weight : normal;
+}
+
+span.debugTS {
+       color : #4684ff;
+}
+
+#backReqBox {
+       display : none;
+}
+
+/*.scriptWarn:before {
+       content : "Disabled script:";
+}*/
+
+.scriptWarn {
+       color : white;
+       background-color : #903030;
+       border : 1px solid #601010;
+       padding : 3px;
+       font-weight : bold;
+}
+
+.objectWarn {
+       color : gray;
+       font-style: italic;
+       text-align : center;
+}
+
+table.loginForm2 {
+       padding : 1em;
+}
+
+table.loginForm2 .loginTop {
+       border-width : 0px 0px 1px 0px;
+       border-color : #88b0f0;
+       border-style : solid;
+       padding : 0.5em;
+}
+
+table.loginForm2 .loginMiddle {
+       padding : 3em;
+}
+
+table.loginForm2 .loginBottom {
+       border-width : 1px 0px 0px 0px;
+       border-color : #88b0f0;
+       border-style : solid;
+       font-size : x-small;
+       text-align : center;
+       color : #909090;
+       padding : 0.5em;
+}
+
+table.loginForm2 .loginBottom a {
+       color : gray;
+}
+
+table.loginForm2 .loginBottom a:hover {
+       color : #4684ff;
+}
+
+table.loginForm2 .loginError {
+       color : red;
+       margin : 0.5em;
+}
+
+table.loginForm2 .innerLoginCell {
+       padding-top : 0.5em;
+}
+
+#milestoneDetails {
+       display : none;
+}
+
+div.loadingPrompt {
+       padding : 1em;
+       text-align : center;
+       font-weight : bold;
+}
+
+div.whiteBox {
+       background-color : white;
+       margin-left : 1px;
+       text-align : center;
+       padding : 1em;
+}
+
+/* layout */
+
+#header {
+       position : absolute;
+       white-space: nowrap;
+       top : 10px;
+       left : 15px;
+       right : 5px;
+       height : 40px;
+       color : #4684ff;
+       font-size : small;
+}
+
+#feeds-holder {
+       border-width : 1px 1px 1px 0px;
+       border-style : solid;
+       border-color : #88b0f0;
+       top : 50px;
+       left : 0px;
+       position : absolute;
+       width : 260px;
+       overflow : auto;
+       bottom : 40px;
+       border-collapse : collapse;
+       height: expression((parseInt(document.documentElement.clientHeight)-40-20-30)+'px');
+}
+
+#toolbar {
+       position : absolute;
+       left : 261px;
+       padding : 5px 10px 5px 10px;
+       top : 50px;
+       right : 0px;
+       white-space: nowrap;
+       height : 30px;
+       background-image : url("images/toolbar.png");
+       background-position : bottom left;
+       background-repeat : repeat-x;
+}
+
+div.headlines_normal {
+       position : absolute;
+       border-width : 1px 0px 0px 0px;
+       border-style : solid;
+       border-color : #88b0f0;
+       left : 260px;
+       height : 305px;
+       top : 85px;
+       right : 0px;
+       overflow : hidden;
+       font-size : small;
+       border-collapse : collapse;
+       /* css hack for IE */
+       width: expression((parseInt(document.documentElement.clientWidth)-260)+'px');
+}
+
+div.headlines_cdm {
+       position : absolute;
+       border-width : 1px 0px 1px 0px;
+       border-style : solid;
+       border-color : #88b0f0;
+       left : 260px;
+       bottom : 40px;
+       top : 85px;
+       right : 0px;
+       overflow : auto;
+       font-size : small;
+       border-collapse : collapse;
+       width: expression((parseInt(document.documentElement.clientWidth)-260)+'px');
+}
+
+#content-frame {
+       position : absolute;
+       border-width : 1px 0px 1px 0px;
+       border-style : solid;
+       border-color : #88b0f0;
+       overflow : auto;
+       top : 390px;
+       left : 260px;
+       bottom : 40px;
+       right : 0px;
+       border-collapse : collapse;
+       width: expression((parseInt(document.documentElement.clientWidth)-260)+'px');
+       height: expression((parseInt(document.documentElement.clientHeight)-40-305-50)+'px');
+}
+
+#footer {
+       position : absolute;
+       bottom : 0px;
+       height : 20px;
+       text-align : center;
+       color : gray;
+       font-size : x-small;
+       background-image : url("images/footer.png");
+       background-position : top left;
+       background-repeat : repeat-x; 
+       background-color : white;
+       right : 0px;
+       left : 0px;
+       padding : 10px;
+       width: expression((parseInt(document.documentElement.clientWidth)-20)+'px');
+       border-collapse : collapse;
+       border-width : 1px 0px 0px 0px;
+       border-style : solid;
+       border-color : #88b0f0;
+
+}
+
+#footer a {
+       color : gray;
+}
+
+#headlinesContainer {
+       margin-left : 1px;
+       background-color : white;
+}
+
+#headlineActionsTop {
+/*     border-width : 0px 0px 1px 0px;
+       border-style : solid;
+       border-color : #c0c0c0;
+       background-color : #fafafa; */
+       font-size : x-small;
+}
+
+#headlinesInnerContainer {
+       height : 280px;
+       overflow : auto;
+}
+
+/* preferences layout */
+
+#prefHeader {
+       margin : 10px;
+       color : #4684ff;
+       font-size : small;
+}
+
+#prefTabs {
+       border-width : 0px 0px 1px 0px;
+       border-color : #88b0f0;
+       border-style : solid;
+       border-collapse : collapse;
+       padding : 0px 10px 0px 10px;
+}
+
+#prefTabs div.return {
+       float : right;
+       font-size : small;
+}
+
+#prefTabs div.return a {
+       color : #4684ff;
+}
+
+#prefTabs div.return a:hover {
+       color : black;
+}
+
+#prefTabs input {
+       vertical-align : bottom;
+}
+
+#prefContent {
+       bottom : 20px;
+       padding : 1em;
+       min-height : 300px;
+       background-image : url("images/prefs-content.png");
+       background-position : top left;
+       background-repeat : repeat-x;
+       font-size : small;
+}