]> git.wh0rd.org - tt-rss.git/blobdiff - css/tt-rss.css
minor layout updates related to new alert styles
[tt-rss.git] / css / tt-rss.css
index 67e8aca7edff7689975bc6919c3f4866eec49074..12f73c7a55f278cc009dedff8aecf1681dfd3924 100644 (file)
@@ -7,6 +7,11 @@ body#ttrssMain, body#ttrssPrefs, body#ttrssLogin, body {
        font-size: 14px;
 }
 
+body#ttrssMain {
+       overflow : hidden;
+       max-height : 100%;
+}
+
 div.postReply {
        padding : 0px;
 }
@@ -27,7 +32,7 @@ div.postReply div.postTitle {
        font-weight : 600;
        text-rendering: optimizelegibility;
        font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
-               "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue",
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
                Helvetica, Arial, sans-serif;
 }
 
@@ -39,14 +44,14 @@ div.postReply div.postContent {
        padding : 10px;
 }
 
-div.postReply div.postContent img {
+div.postReply div.postContent img,
+div.postReply div.postContent video {
        border-width : 0px;
        max-width : 98%;
        height: auto;
 }
 
 div.postReply div.postEnclosures {
-       margin-top : 1em;
        color : #555;
 }
 
@@ -64,7 +69,6 @@ div.articleNote {
        border-style : solid;
        border-color : #e7d796;
        border-width : 1px;
-       background-color : #fff7d5;
        color : #9a8c59;
 }
 
@@ -82,7 +86,7 @@ h1 {
        font-weight : 600;
        text-rendering: optimizelegibility;
        font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
-               "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue",
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
                Helvetica, Arial, sans-serif;
 }
 
@@ -94,7 +98,7 @@ h2 {
        border-color : #ecf4ff;
        text-rendering: optimizelegibility;
        font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
-               "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue",
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
                Helvetica, Arial, sans-serif;
 }
 
@@ -106,7 +110,7 @@ h3 {
        font-weight : 600;
        text-rendering: optimizelegibility;
        font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
-               "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue",
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
                Helvetica, Arial, sans-serif;
 }
 
@@ -115,7 +119,7 @@ h4 {
        font-weight : 600;
        text-rendering: optimizelegibility;
        font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
-               "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue",
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
                Helvetica, Arial, sans-serif;
 }
 
@@ -139,18 +143,30 @@ a:hover {
        position : absolute;
 }
 
+#notify.visible {
+       transform: translate(0, -35px);
+       -webkit-transform: translate(0, -35px);
+   -o-transform: translate(0, -35px);
+   -moz-transform: translate(0, -35px);
+}
+
 #notify {
-       bottom : 10px;
-       right : 20px;
-       border-width : 1px;
+       bottom : -35px;
+       right : 0px;
+       height : 20px;
+       left : 0px;
+       border-width : 1px 0px 0px 0px;
        border-style : solid;
-       position : absolute;    
+       position : fixed;       
        font-size : 12px;
        z-index : 99;
-       max-width : 200px;
-       min-width : 100px;
        padding : 5px;
-       -width : 200px;
+       box-shadow : 0px -2px 2px rgba(0,0,0,0.1);
+
+       transition: all 0.5s ease-in-out;
+       -webkit-transition: all 0.5s ease-in-out;
+   -moz-transition: all 0.5s ease-in-out;
+   -o-transition: all 0.5s ease-in-out;
 }
 
 #notify img {
@@ -177,17 +193,17 @@ a:hover {
        background-color : #fff7d5;
 }
 
-.notify.progress {
+.notify.notify_progress {
        border-color : #d7c47a;
        background-color : #fff7d5;
 }
 
-.notify.info {
+.notify.notify_info {
        border-color : #88b0f0;
        background-color : #ecf4ff;
 }
 
-.notify.error {
+.notify.notify_error {
        background-color : #ffcccc;
        border-color : #ff0000;
 }
@@ -196,7 +212,7 @@ a:hover {
        font-weight : 600;
        text-rendering: optimizelegibility;
        font-family : "Segoe WP Semibold", "Segoe UI Semibold", 
-               "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue",
+               "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
                Helvetica, Arial, sans-serif;
        color : #777;
 }
@@ -256,58 +272,77 @@ div.filterTestHolder {
 }
 
 #content-insert pre, #headlines-frame pre, .dijitContentPane pre {
-       margin : 5px 0px 5px 0px;
-       padding : 10px;
-       color : #555;
-       font-family : monospace;
-       font-size : 12px;
-       border-width : 0px;
-       border-color : #ccc;
-       border-style : solid;
-       background : #f5f5f5;
-       display : block;
-       max-width : 98%;
-       overflow : auto;
+       margin: 5px 0px 5px 0px;
+       padding: 10px;
+       color: #555;
+       font-family: monospace;
+       font-size: 12px;
+       border-width: 0px;
+       border-color: #ccc;
+       border-style: solid;
+       background: #f5f5f5;
+       display: block;
+       max-width: 98%;
+       overflow: auto;
 }
 
-div.notice, div.warning, div.error {
-       padding : 4px 10px 4px 4px;
-       display : inline-block;
-       margin : 2px 0px 4px 0px;
-       font-size : 12px;
-       border-style : solid;
-       border-color : #ccc;
-       border-width : 1px;
+.alert {
+       padding: 8px 35px 8px 14px;
+       margin-bottom: 10px;
+       text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+       background-color: #fcf8e3;
+       border: 1px solid #fbeed5;
+       -webkit-border-radius: 4px;
+       -moz-border-radius: 4px;
+       border-radius: 4px;
 }
 
-div.notice div.inner, div.warning div.inner, div.error div.inner {
-       vertical-align : middle;
+.alert,
+.alert h4 {
+       color: #c09853;
 }
 
-div.notice {
-       background : #ecf4ff;
-       border-color : #88b0f0;
+.alert h4 {
+       margin: 0;
 }
 
-div.warning {
-       background : #fff7d5;
-       border-color : #e7d796;;
+.alert .close {
+       position: relative;
+       top: -2px;
+       right: -21px;
+       line-height: 20px;
 }
 
-div.error {
-       background : #ffcccc;
-       border-color : #ff0000;
+.alert-success {
+       color: #468847;
+       background-color: #dff0d8;
+       border-color: #d6e9c6;
 }
 
-div.warning img, div.notice img, div.error img {
-       margin : 4px;
-       vertical-align : middle;
+.alert-success h4 {
+       color: #468847;
 }
 
-div.warning span, div.notice span, div.error span {
-       display : table-cell;
-       vertical-align : middle;
+.alert-danger,
+.alert-error {
+       color: #b94a48;
+       background-color: #f2dede;
+       border-color: #eed3d7;
+}
+
+.alert-danger h4,
+.alert-error h4 {
+       color: #b94a48;
+}
 
+.alert-info {
+       color: #3a87ad;
+       background-color: #d9edf7;
+       border-color: #bce8f1;
+}
+
+.alert-info h4 {
+       color: #3a87ad;
 }
 
 ul.nomarks {
@@ -325,6 +360,10 @@ div.prefHelp {
        color : #555;
 }
 
+.small {
+       font-size : 11px;
+}
+
 #main-toolbar > * {
        white-space : nowrap;
        display : table-cell;
@@ -335,7 +374,7 @@ div.prefHelp {
 #main-toolbar table *,
 #main-toolbar .actionChooser * {
        text-rendering: optimizelegibility;
-       font-family : "Segoe WP", "Segoe UI Web", "Segoe UI", "Helvetica Neue",
+       font-family : "Segoe WP", "Segoe UI Web", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
                Helvetica, Arial, sans-serif;
        font-size : 12px;
 
@@ -544,7 +583,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 {
@@ -590,6 +633,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;
 }
@@ -789,12 +836,13 @@ div.fatalError textarea {
 
 #feeds-holder {
        padding : 0px;
-       border-width : 0px 1px 0px 0px;
+       border-width : 0px 0px 0px 0px;
        border-style : solid;
        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 {
@@ -808,6 +856,7 @@ div.fatalError textarea {
        border-width : 0px;
        border-color : #ddd;
        margin-top : 0px;
+       -webkit-overflow-scrolling : touch;
 }
 
 #headlines-toolbar_splitter, #toolbar_splitter {
@@ -858,6 +907,7 @@ div.fatalError textarea {
        line-height: 1.5;
        font-size : 15px;
        overflow : auto;
+       -webkit-overflow-scrolling : touch;
 }
 
 #feedTree .dijitTreeRow .dijitTreeLabel.Unread {
@@ -903,10 +953,20 @@ 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;
@@ -970,6 +1030,7 @@ div.postContent p {
 
 div.postContent iframe {
        min-width : 50%;
+       max-width : 98%;
 }
 
 div.postHeader span.author {
@@ -986,6 +1047,12 @@ select.attachments {
 
 #selected_prompt {
        margin-right : 25px;
+       vertical-align  : middle;
+}
+
+span.sel_links {
+       margin-right : 4px;
+       vertical-align  : middle;
 }
 
 #feedTree img.feedIcon {
@@ -1008,7 +1075,7 @@ body#ttrssMain #feedTree {
        height : 100%;
        overflow-x : hidden;
        text-rendering: optimizelegibility;
-       font-family : "Segoe UI Web", "Segoe UI", "Helvetica Neue",
+       font-family : "Segoe UI Web", "Segoe UI", Ubuntu, "DejaVu Sans", "Helvetica Neue",
                Helvetica, Arial, sans-serif;
 }
 
@@ -1053,6 +1120,12 @@ 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 {
@@ -1065,3 +1138,11 @@ body#ttrssMain #feedTree .dijitTreeRow img.dijitTreeExpandoLeaf {
 :focus {
        outline: none; 
 }
+
+.dijitDropDownButton.attachments .dijitButtonText {
+       font-size : 12px;
+}
+
+.dijitDropDownButton.attachments {
+       display : inline-block;
+}
\ No newline at end of file