]> git.wh0rd.org - tt-rss.git/blobdiff - css/tt-rss.css
Added webkit-specific overflow scrolling for iOS devices to allow for inertial scrolling.
[tt-rss.git] / css / tt-rss.css
index 65923ba7e98044fb4837d481ad83e70d605601d7..4852c8ca1553cb8595c9abdf888b88912318a948 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;
 }
@@ -25,9 +15,8 @@ div.postReply div.postHeader {
        padding : 5px;
        margin-right : 4px;
        color : #909090;
-       background : #f5f5f5;
-       border-width : 1px;
-       border-color : #eee;
+       border-width : 0px 0px 1px 0px;
+       border-color : #ddd;
        border-style : solid;
 }
 
@@ -35,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 {
@@ -85,22 +79,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 {
@@ -177,7 +193,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;
 }
 
@@ -187,7 +207,7 @@ a:hover {
 
 .hl.active div.hlTitle a {
        color : #4684ff;
-       text-shadow : 1px 1px 2px #fff;
+       /* text-shadow : 1px 1px 2px #fff; */
 }
 
 .hl.Selected {
@@ -201,7 +221,8 @@ a:hover {
 .hl {
        border-width : 0px 0px 1px 0px;
        border-style : solid;
-       border-color : #eee;
+       border-color : #ddd;
+       padding : 1px;
 }
 
 .hl.active {
@@ -211,7 +232,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;
@@ -308,7 +329,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 +359,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 +383,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,35 +417,29 @@ 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;
+img.markedPic, img.pubPic {
+       cursor : pointer;
+       vertical-align : middle;
+       opacity : 0.5;
+       -webkit-transition : opacity 0.25s;
+       transition : opacity 0.25s;
 }
 
-a.hlFeed:hover {
-       color : #4684ff;
+img.markedPic:hover, img.pubPic:hover {
+       opacity : 1;
 }
 
-img.markedPic, img.pubPic {
-       cursor : pointer;
-       vertical-align : middle;
+img[src*='pub_set.png'], img[src*='mark_set.png'] {
+       opacity : 1;
 }
 
 div.tagCloudContainer {
-       border : 1px solid #eee;
+       border : 1px solid #ddd;
        background-color : #f5f5f5;
        margin : 5px 0px 5px 0px;
        padding : 5px;
@@ -418,7 +447,7 @@ div.tagCloudContainer {
 }
 
 div.errorExplained {
-       border : 1px solid #eee;
+       border : 1px solid #ddd;
        background-color : #f5f5f5;
        margin : 5px 0px 5px 0px;
        padding : 5px;
@@ -428,7 +457,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;
@@ -442,7 +471,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;
@@ -546,11 +575,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 {
@@ -559,6 +590,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;
 }
@@ -672,14 +707,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 {
@@ -728,8 +788,6 @@ div.fatalError textarea {
 #content-wrap {
        padding : 0px;
        border-width : 0px;
-       border-style : solid;
-       border-color : #eee;
        margin : 0px;
 }
 
@@ -737,9 +795,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 {
@@ -750,10 +810,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 {
@@ -771,7 +831,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;
@@ -799,10 +859,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 {
@@ -813,33 +875,6 @@ div.fatalError textarea {
        color : red;
 }
 
-.claro .dijitTreeLabel {
-       outline : 0;
-}
-
-.feedParam {
-       color : #555;
-       float : right;
-       margin-right : 1em;
-}
-
-.labelParam {
-       float : right;
-       margin-right : 1em;
-}
-
-.dijitTreeLabel.Disabled, .labelParam.Disabled {
-       color : #555;
-}
-
-.dijitTreeRow.Error {
-       color : red;
-}
-
-.dijitTreeRow.Hidden {
-       display : none;
-}
-
 img.feedIcon, img.tinyFeedIcon {
        width : 16px;
        height : 16px;
@@ -848,24 +883,6 @@ img.feedIcon, img.tinyFeedIcon {
        display : inline-block;
 }
 
-.dijitToolbar {
-       text-shadow : 1px 1px 2px #fff;
-}
-
-.dijitAccordionTitleFocus {
-       text-shadow : 1px 1px 2px #fff;
-}
-
-.claro .dijitDialog .dijitToolbar {
-       border : 1px solid #eee;
-}
-
-.dijitDialog h2 {
-       margin-top : 0px;
-       margin-bottom : 4px;
-       border-width : 0px;
-}
-
 .player {
        display : inline-block;
        color : #555;
@@ -903,7 +920,7 @@ ul#filterDlg_Matches, ul#filterDlg_Actions {
        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;
@@ -915,15 +932,11 @@ ul#filterDlg_Matches li, ul#filterDlg_Actions li {
        padding : 0px 0px 0px 5px;
 }
 
-ul#filterDlg_Matches li div.dijitCheckBox, ul#filterDlg_Actions li div.dijitCheckBox {
-       margin-right : 5px;
-}
-
 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;
@@ -941,15 +954,20 @@ ul.helpKbList h2 {
        margin-top : 0px;
 }
 
-.dijitTreeNode .loadingNode {
-       margin-left : 3px;
-       height : 9px;
-}
-
 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;
@@ -967,75 +985,6 @@ div.postHeader span.author {
        font-weight : normal;
 }
 
-body#ttrssZoom {
-       margin-left : auto;
-       margin-right : auto;
-       padding : 20px;
-       max-width : 670px;
-       background : #f9fbff;
-}
-
-body#ttrssZoom div.postHeader div.postFeedTitle {
-       float : left;
-       text-align : right;
-       padding-left : 0px;
-       font-size : 10px;
-}
-
-body#ttrssZoom div.postHeader a.postComments {
-       text-align : right;
-       padding-left : 0px;
-       font-size : 10px;
-}
-
-body#ttrssZoom div.postHeader div.postDate {
-       float : none;
-       text-align : right;
-       padding-left : 0px;
-       color : #777;
-       font-size : 10px;
-}
-
-body#ttrssZoom div.postHeader div.postTags {
-       color : #777;
-       font-size : 10px;
-}
-
-body#ttrssZoom div.postHeader div.postTitle {
-       white-space : normal;
-}
-
-body#ttrssZoom div.postContent p {
-       max-width : 650px;
-       -webkit-hyphens: auto;
-       -moz-hyphens: auto;
-       hyphens: auto;
-}
-
-body#ttrssZoom div.postHeader {
-       margin : 10px;
-       border : 1px solid #ccc;
-}
-
-body#ttrssZoom div.postReply {
-       border : 1px solid #ccc;
-       background : white;
-}
-
-body#ttrssZoom div.postContent {
-
-}
-
-body#ttrssZoom div.footer {
-       margin-top : 1em;
-       text-align : center;
-}
-
-body#ttrssZoom div.postContent img {
-       max-width : 650px;
-       height : auto;
-} 
-
 select.attachments {
        display : block;
        margin-top : 10px;
@@ -1058,37 +1007,16 @@ body#ttrssMain #feedTree .dijitTreeRow {
        color : #333;
 }
 
-.claro .dijitTreeRow {
-       border-color : transparent;
-}
-
-.claro .dijitFolderClosed,
-.claro .dijitFolderOpened {
-       display : none;
-}
-
-.claro .dijitTreeNode .dijitCheckBox {
-       margin-left : 4px;
-}
-
-.claro .dijitTreeIsRoot > .dijitTreeRow > .dijitTreeExpando {
-       margin-left : 5px;
-}
-
-.claro .dijitTree .dijitTreeExpando {
-       margin-top : 0px;
-       opacity : 0.6;
-}
-
-.claro .dijitTreeNode {
-       padding : 0px;
-       border-width : 0px;
+ul#filterDlg_Matches li div.dijitCheckBox, ul#filterDlg_Actions li div.dijitCheckBox {
+       margin-right : 5px;
 }
 
 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 {
@@ -1116,50 +1044,6 @@ body#ttrssMain #feedTree .counterNode {
        height : 14px;
 }
 
-.claro .dijitTree .dijitTreeRow {
-       max-width: 100%;
-       overflow: hidden;
-       text-overflow: ellipsis;
-}
-
-body#ttrssPrefs hr {
-       border-color : #ecf4ff;
-       max-width : 100%;
-}
-
-.claro .dijitMenuItemLabel {
-       font-size : 13px;
-}
-
-.claro .dijitTree .dijitTreeRowSelected {
-       background : white;
-}
-
-.claro .dijitTree .dijitTreeRowHover {
-       background : #ecf4ff;
-}
-
-.claro .dijitTree .dijitTreeRowActive {
-       background-color : transparent;
-       background-image : none;
-       border-color : transparent;
-}
-
-.claro .dijitTreeRowSelected .dijitTreeLabel,
-.claro .dijitTreeRowSelected .dijitTreeLabel {
-       color : #4684ff;
-       font-weight : bold;
-}
-
-.claro .dijitTreeRowHover .dijitTreeLabel,
-.claro .dijitTreeRowHover .dijitTreeLabel {
-       color : #4684ff;
-}
-
-.claro .dijitTreeRowSelected .dijitTreeLabel {
-       text-shadow : 1px 1px 2px #fff;
-}
-
 #feedTree img[src*='indicator_white.gif'] {
        position : relative;
        top : -2px;
@@ -1170,22 +1054,27 @@ span.highlight {
        color : #cc90cc;
 }
 
-.claro .dijitTreeRow .dijitTreeExpando {
-       background-image: url("../images/treeExpandImages.png");
-       position : relative;
-       top : -1px;
-}
+div.enclosure_title {
 
-.claro .dijitTreeRow .dijitTreeExpandoLeaf {
-       background : none;
 }
 
-body#ttrssMain #feedTree .dijitTreeRow .dijitTreeExpandoLeaf {
-       display : none;
+body#ttrssMain #headlines-frame .dijitCheckBox {
+       border-width : 0px;
+       opacity : 0.5;
 }
 
-div.enclosure_title {
-
+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; 
+}