]> git.wh0rd.org - tt-rss.git/blobdiff - css/tt-rss.css
css fixes as reported by pull 394
[tt-rss.git] / css / tt-rss.css
index 2d5787e512bdee7293678f637f2e113bcc403bad..d732c13ba6bd06cafe2a1a62e86f80341e0f4681 100644 (file)
@@ -7,16 +7,6 @@ body#ttrssMain, body#ttrssPrefs, body#ttrssLogin, body {
        font-size: 14px;
 }
 
-body#ttrssPrefs {
-       background-color : #ecf4ff;
-}
-
-body#ttrssPrefs #footer, body#ttrssPrefs #header {
-       background-color : #ecf4ff;
-       padding-left : 8px;
-       padding-right : 8px;
-}
-
 div.postReply {
        padding : 0px;
 }
@@ -26,7 +16,7 @@ div.postReply div.postHeader {
        margin-right : 4px;
        color : #909090;
        border-width : 0px 0px 1px 0px;
-       border-color : #eee;
+       border-color : #ddd;
        border-style : solid;
 }
 
@@ -34,6 +24,11 @@ div.postReply div.postTitle {
        overflow : hidden;
        text-overflow: ellipsis;
        white-space : nowrap;
+       font-weight : 600;
+       text-rendering: optimizelegibility;
+       font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
+               Helvetica, Arial, sans-serif;
 }
 
 div.postReply div.postDate {
@@ -69,7 +64,6 @@ div.articleNote {
        border-style : solid;
        border-color : #e7d796;
        border-width : 1px;
-       background-color : #fff7d5;
        color : #9a8c59;
 }
 
@@ -84,22 +78,44 @@ div.postReply span.author {
 
 h1 {
        font-size : 18px;
+       font-weight : 600;
+       text-rendering: optimizelegibility;
+       font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
+               Helvetica, Arial, sans-serif;
 }
 
 h2 {
        font-size : 16px;
-       font-weight : bold;
+       font-weight : 600;
        border-width : 0px 0px 1px 0px;
        border-style : solid;
        border-color : #ecf4ff;
+       text-rendering: optimizelegibility;
+       font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
+               Helvetica, Arial, sans-serif;
 }
 
 h3 {
-       font-size : 12px;
-       font-weight : bold;
+       font-size : 13px;
        border-width : 0px 0px 1px 0px;
        border-style : solid;
        border-color : #ecf4ff;
+       font-weight : 600;
+       text-rendering: optimizelegibility;
+       font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
+               Helvetica, Arial, sans-serif;
+}
+
+h4 {
+       font-size : 14px;
+       font-weight : 600;
+       text-rendering: optimizelegibility;
+       font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
+               Helvetica, Arial, sans-serif;
 }
 
 hr {
@@ -176,7 +192,11 @@ a:hover {
 }
 
 .hl div.hlTitle a {
-       font-weight : bold;
+       font-weight : 600;
+       text-rendering: optimizelegibility;
+       font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
+               Helvetica, Arial, sans-serif;
        color : #777;
 }
 
@@ -186,7 +206,7 @@ a:hover {
 
 .hl.active div.hlTitle a {
        color : #4684ff;
-       text-shadow : 1px 1px 2px #fff;
+       /* text-shadow : 1px 1px 2px #fff; */
 }
 
 .hl.Selected {
@@ -200,7 +220,8 @@ a:hover {
 .hl {
        border-width : 0px 0px 1px 0px;
        border-style : solid;
-       border-color : #eee;
+       border-color : #ddd;
+       padding : 1px;
 }
 
 .hl.active {
@@ -210,7 +231,7 @@ a:hover {
 div.filterTestHolder {
        height : 300px;
        overflow : auto;
-       border-color : #eee;
+       border-color : #ddd;
        border-style : solid;
        margin : 0px 0px 5px 0px;
        background-color : #f5f5f5;
@@ -307,8 +328,16 @@ div.prefHelp {
        white-space : nowrap;
        display : table-cell;
        color : #999;
-       font-family : "Segoe UI", Tahoma, sans-serif;
+}
+
+#main-toolbar > *,
+#main-toolbar table *,
+#main-toolbar .actionChooser * {
+       text-rendering: optimizelegibility;
+       font-family : "Segoe WP", "Segoe UI Web", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
+               Helvetica, Arial, sans-serif;
        font-size : 12px;
+
 }
 
 #main-toolbar #headlines-toolbar {
@@ -329,6 +358,11 @@ div.prefHelp {
        text-align : right;
 }
 
+#main-toolbar #headlines-toolbar .main,
+#main-toolbar #headlines-toolbar .r {
+       line-height : 24px;
+}
+
 #headlines-toolbar span.r img {
        margin-right : 4px;
        position : relative;
@@ -348,8 +382,8 @@ div.prefHelp {
 span.contentPreview {
        color : #999;
        font-weight : normal;
-       text-shadow : 1px 1px 2px #fff;
-       font-size : 11px;
+       font-size : 12px;
+       padding-left : 4px;
 }
 
 span.hlLabelRef {
@@ -382,28 +416,11 @@ div.postHeader div {
 #allEntryTags {
        border-width : 0px 0px 1px 0px;
        border-style : solid;
-       border-color : #eee;
+       border-color : #ddd;
        padding-bottom : 5px;
        display : none;
 }
 
-a.hlFeed {
-       display : block;
-       white-space : nowrap;
-       font-size : 9px;
-       font-style : italic;
-       font-weight : normal;
-       display : inline-block;
-       padding : 1px 2px 1px 2px;
-       margin-bottom : 2px;
-       margin-top : 2px;
-       color : #555;
-}
-
-a.hlFeed:hover {
-       color : #4684ff;
-}
-
 img.markedPic, img.pubPic {
        cursor : pointer;
        vertical-align : middle;
@@ -421,7 +438,7 @@ img[src*='pub_set.png'], img[src*='mark_set.png'] {
 }
 
 div.tagCloudContainer {
-       border : 1px solid #eee;
+       border : 1px solid #ddd;
        background-color : #f5f5f5;
        margin : 5px 0px 5px 0px;
        padding : 5px;
@@ -429,7 +446,7 @@ div.tagCloudContainer {
 }
 
 div.errorExplained {
-       border : 1px solid #eee;
+       border : 1px solid #ddd;
        background-color : #f5f5f5;
        margin : 5px 0px 5px 0px;
        padding : 5px;
@@ -439,7 +456,7 @@ ul.feedErrorsList {
        max-height : 300px;
        overflow : auto;
        list-style-type : none;
-       border : 1px solid #eee;
+       border : 1px solid #ddd;
        background-color : #f5f5f5;
        margin : 0px 0px 5px 0px;
        padding : 5px;
@@ -453,7 +470,7 @@ ul.browseFeedList {
        height : 300px;
        overflow : auto;
        border-width : 0px 1px 1px 1px;
-       border-color : #eee;
+       border-color : #ddd;
        border-style : solid;
        margin : 0px 0px 5px 0px;
        background-color : white;
@@ -526,7 +543,11 @@ div.loadingPrompt {
 div.whiteBox {
        margin-left : 1px;
        text-align : center;
-       padding : 1em;
+       padding : 1em 1em 0px 1em;
+       font-size : 11px;
+       border-width : 0px 0px 1px 0px;
+       border-style : solid;
+       border-color : #ddd;
 }
 
 div.autocomplete {
@@ -557,11 +578,13 @@ div.autocomplete ul li {
        cursor : pointer;
 }
 
-.hlTitle {
+.hl .hlTitle {
        overflow : hidden;
        white-space : nowrap;
        max-width : 500px;
        text-overflow : ellipsis;
+       padding-left : 6px;
+       padding-right : 6px;
 }
 
 div#headlines-frame.wide .hlTitle {
@@ -570,6 +593,10 @@ div#headlines-frame.wide .hlTitle {
        white-space : normal;
 }
 
+div#headlines-frame.wide .hl .hlFeed {
+       display : none;
+}
+
 .hl a.title.high, span.hlContent.high .contentPreview {
        color : #00aa00;
 }
@@ -683,14 +710,39 @@ div.hlRight img {
        max-height : 16px;
 }
 
-span.hlUpdated {
+.hl span.hlFeed {
+       display : table-cell;
+       vertical-align : middle;
+       text-align : right;
+}
+
+.hl span.hlFeed a {
+       border-radius : 4px;
+       display : inline-block;
+       padding : 1px 4px 1px 4px;
+       font-size : 11px;
+       font-style : italic;
+       font-weight : normal;
+       color : #555;
+       white-space : nowrap;
+}
+
+.hl span.hlFeed a:hover {
+       color : #4684ff;
+}
+
+.hl span.hlUpdated {
        color : #555;
-       min-width : 100px;
        display : table-cell;
-       width : 100%;
        vertical-align : middle;
        text-align : right;
-       font-size : 10px;
+       font-size : 11px;
+       white-space : nowrap;
+       padding-left : 10px;
+}
+
+span.hlUpdated div {
+       display : inline-block;
 }
 
 div.hlLeft {
@@ -739,8 +791,6 @@ div.fatalError textarea {
 #content-wrap {
        padding : 0px;
        border-width : 0px;
-       border-style : solid;
-       border-color : #eee;
        margin : 0px;
 }
 
@@ -748,9 +798,11 @@ div.fatalError textarea {
        padding : 0px;
        border-width : 0px 1px 0px 0px;
        border-style : solid;
-       border-color : #eee;
+       border-color : #ddd;
        overflow : hidden;
        background : #f5f5f5;
+       box-shadow : inset -1px 0px 2px -1px rgba(0,0,0,0.1);
+       -webkit-overflow-scrolling : touch;
 }
 
 #headlines-wrap-inner {
@@ -761,10 +813,10 @@ div.fatalError textarea {
 
 #headlines-frame {
        padding : 0px;
-       border-color : #eee;
-       border-style : solid;
        border-width : 0px;
+       border-color : #ddd;
        margin-top : 0px;
+       -webkit-overflow-scrolling : touch;
 }
 
 #headlines-toolbar_splitter, #toolbar_splitter {
@@ -782,7 +834,7 @@ div.fatalError textarea {
 #main-toolbar {
        background : white;
        border-width : 0px 0px 1px 0px;
-       border-color : #eee;
+       border-color : #ddd;
        border-style : solid;
        padding-left : 4px;
        height : 26px;
@@ -810,10 +862,12 @@ div.fatalError textarea {
 
 #content-insert {
        padding : 0px;
-       border-color : #eee;
+       border-color : #ddd;
        border-width : 0px;
-       line-height: 20px;
+       line-height: 1.5;
+       font-size : 15px;
        overflow : auto;
+       -webkit-overflow-scrolling : touch;
 }
 
 #feedTree .dijitTreeRow .dijitTreeLabel.Unread {
@@ -859,17 +913,27 @@ img.feedIcon, img.tinyFeedIcon {
        height : 100%;
        margin-left : 1px;
        text-align : center;
-       padding : 1em;
        color : #555;
+       font-size : 11px;
+       font-style : italic;
 }
 
+#headlines-spacer a, #headlines-spacer span {
+       color : #555;
+       padding : 10px;
+       display : block;
+}
+
+#headlines-spacer a:hover {
+       color : #88b0f0;
+}
 
 ul#filterDlg_Matches, ul#filterDlg_Actions {
        max-height : 100px;
        overflow : auto;
        list-style-type : none;
        border-style : solid;
-       border-color : #eee;
+       border-color : #ddd;
        border-width : 0px 1px 1px 1px;
        background-color : white;
        margin : 0px 0px 5px 0px;
@@ -885,7 +949,7 @@ ul.helpKbList {
        max-height : 300px;
        overflow : auto;
        list-style-type : none;
-       border : 1px solid #eee;
+       border : 1px solid #ddd;
        background-color : #f5f5f5;
        margin : 0px 0px 5px 0px;
        padding : 5px;
@@ -907,6 +971,16 @@ span.collapseBtn {
        cursor : pointer;
 }
 
+div.postContent h1 {
+       font-size : 16px;
+}
+
+div.postContent h2,
+div.postContent h3,
+div.postContent h4 {
+       font-size : 15px;
+}
+
 div.postContent p {
        max-width : 650px;
        -webkit-hyphens: auto;
@@ -953,7 +1027,9 @@ ul#filterDlg_Matches li div.dijitCheckBox, ul#filterDlg_Actions li div.dijitChec
 body#ttrssMain #feedTree { 
        height : 100%;
        overflow-x : hidden;
-       font-family : "Segoe UI", Tahoma, sans-serif;
+       text-rendering: optimizelegibility;
+       font-family : "Segoe UI Web", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
+               Helvetica, Arial, sans-serif;
 }
 
 body#ttrssMain #feedTree .counterNode.aux {
@@ -991,18 +1067,27 @@ span.highlight {
        color : #cc90cc;
 }
 
-/* body#ttrssMain #feedTree .dijitTreeRow .dijitTreeExpandoLeaf {
-       display : none;
-} */
-
 div.enclosure_title {
 
 }
 
 body#ttrssMain #headlines-frame .dijitCheckBox {
        border-width : 0px;
+       opacity : 0.5;
+}
+
+body#ttrssMain #headlines-frame .dijitCheckBoxHover,
+body#ttrssMain #headlines-frame .dijitCheckBoxChecked {
+       opacity : 1;
 }
 
+body#ttrssMain #feedTree .dijitTreeRow img.dijitTreeExpandoLeaf {
+       width : 16px;
+       height : 16px;
+       vertical-align : middle;
+       position : relative;
+} 
+
 :focus {
        outline: none; 
 }