]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.css
css layout for preferences
[tt-rss.git] / tt-rss.css
index 29f855a0dfc7b4c7483dba4b0146c0b8a4fd292d..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 : 50px;
-}
-
-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 : gray;
-}
-
-table.main td.footer a {
-       color : gray;
-}
-
-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;  
 }
 
@@ -315,8 +214,7 @@ td.notifyBox {
        border : 1px solid #d7c47a;
        padding : 3px;
        -moz-border-radius : 3px;
-       font-size : x-small;
-       font-weight : bold;
+       font-size : small;
        text-align : left;
        padding : 3px 20px 3px 20px;
        text-align : center;
@@ -331,24 +229,24 @@ td.notifyBox {
 .notify {
        background : #fff7d5;
        border : 1px solid #d7c47a;
-       padding : 3px;
        top : 10px;
        right : 35%;
        min-width : 30%;
        position : absolute;    
-       -moz-border-radius : 3px;
-       font-size : x-small;
-       font-weight : bold;
-       text-align : center;
-       float : right;
-       padding : 3px 20px 3px 20px;
        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 {
@@ -643,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;
 }
 
@@ -659,7 +557,7 @@ input.prefsTabSelected {
        font-weight : bold;
        background-position : top left;
        background-repeat : repeat-x;
-       font-size : x-small;
+       font-size : small;
 }
 
 
@@ -670,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 {
@@ -680,7 +578,7 @@ div.notice {
        border : 1px solid #88b0f0;
        padding : 5px;
        margin : 5px;
-       font-size : x-small;
+       font-size : small;
 }
 
 ul.nomarks {
@@ -874,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;
@@ -1224,6 +1126,19 @@ table.loginForm2 .innerLoginCell {
        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 {
@@ -1234,7 +1149,7 @@ table.loginForm2 .innerLoginCell {
        right : 5px;
        height : 40px;
        color : #4684ff;
-       font-size : x-small;
+       font-size : small;
 }
 
 #feeds-holder {
@@ -1246,13 +1161,15 @@ table.loginForm2 .innerLoginCell {
        position : absolute;
        width : 260px;
        overflow : auto;
-       bottom : 50px;
+       bottom : 40px;
+       border-collapse : collapse;
+       height: expression((parseInt(document.documentElement.clientHeight)-40-20-30)+'px');
 }
 
 #toolbar {
        position : absolute;
        left : 261px;
-       padding : 5px 10px 5px 5px;
+       padding : 5px 10px 5px 10px;
        top : 50px;
        right : 0px;
        white-space: nowrap;
@@ -1260,20 +1177,37 @@ table.loginForm2 .innerLoginCell {
        background-image : url("images/toolbar.png");
        background-position : bottom left;
        background-repeat : repeat-x;
-       font-size : small;
 }
 
-#headlines-frame {
+div.headlines_normal {
        position : absolute;
        border-width : 1px 0px 0px 0px;
        border-style : solid;
        border-color : #88b0f0;
        left : 260px;
-       height : 300px;
+       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 {
@@ -1284,14 +1218,17 @@ table.loginForm2 .innerLoginCell {
        overflow : auto;
        top : 390px;
        left : 260px;
-       bottom : 50px;
+       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 : 30px;
+       height : 20px;
        text-align : center;
        color : gray;
        font-size : x-small;
@@ -1302,9 +1239,75 @@ table.loginForm2 .innerLoginCell {
        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;
+}