mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:25:55 +00:00
move default (light) theme LESS source to a more appropriate place
add compact_dark theme variant
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,33 +1,2 @@
|
||||
@import "../css/default_base.less";
|
||||
|
||||
/* rules specific to compact.css */
|
||||
|
||||
body.ttrss_main.ttrss_index.flat {
|
||||
|
||||
#feedTree.dijitTree .dijitTreeLabel {
|
||||
font-size : 13px ! important;
|
||||
}
|
||||
|
||||
.dijitMenu .dijitMenuItemLabel,
|
||||
.content-inner,
|
||||
#content-insert,
|
||||
.cdm .content,
|
||||
.post .content {
|
||||
font-size : 12px ! important;
|
||||
}
|
||||
|
||||
div[id*=RROW] {
|
||||
i.material-icons {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.hl,
|
||||
.post .header .title,
|
||||
#floatingTitle a.title,
|
||||
.cdm .title {
|
||||
font-size : 13px ! important;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@import "light/light_base.less";
|
||||
@import "compact_base.less";
|
||||
|
||||
31
themes/compact_base.less
Normal file
31
themes/compact_base.less
Normal file
@@ -0,0 +1,31 @@
|
||||
/* rules specific to compact.css */
|
||||
|
||||
body.ttrss_main.ttrss_index.flat {
|
||||
|
||||
#feedTree.dijitTree .dijitTreeLabel {
|
||||
font-size : 13px ! important;
|
||||
}
|
||||
|
||||
.dijitMenu .dijitMenuItemLabel,
|
||||
.content-inner,
|
||||
#content-insert,
|
||||
.cdm .content,
|
||||
.post .content {
|
||||
font-size : 12px ! important;
|
||||
}
|
||||
|
||||
div[id*=RROW] {
|
||||
i.material-icons {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.hl,
|
||||
.post .header .title,
|
||||
#floatingTitle a.title,
|
||||
.cdm .title {
|
||||
font-size : 13px ! important;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
2232
themes/compact_night.css
Normal file
2232
themes/compact_night.css
Normal file
File diff suppressed because it is too large
Load Diff
1
themes/compact_night.css.map
Normal file
1
themes/compact_night.css.map
Normal file
File diff suppressed because one or more lines are too long
2
themes/compact_night.less
Normal file
2
themes/compact_night.less
Normal file
@@ -0,0 +1,2 @@
|
||||
@import "night_base.less";
|
||||
@import "compact_base.less";
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
@import "../css/default_base.less";
|
||||
@import "light/light_base.less";
|
||||
|
||||
434
themes/light/cdm.less
Normal file
434
themes/light/cdm.less
Normal file
@@ -0,0 +1,434 @@
|
||||
.cdm {
|
||||
i.material-icons {
|
||||
color : @color-icon;
|
||||
}
|
||||
|
||||
.header, .footer {
|
||||
display : flex;
|
||||
flex-direction : row;
|
||||
flex-wrap : nowrap;
|
||||
}
|
||||
|
||||
.header img, .footer img,
|
||||
.footer i.material-icons {
|
||||
margin : 0px 4px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.header {
|
||||
align-items : center;
|
||||
|
||||
> * {
|
||||
padding : 4px;
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
.left, .right {
|
||||
display : flex;
|
||||
align-items : center;
|
||||
|
||||
i.material-icons {
|
||||
margin-left : 2px;
|
||||
padding : 2px;
|
||||
transition : color 0.2s linear;
|
||||
user-select: none;
|
||||
font-size : 21px;
|
||||
}
|
||||
}
|
||||
|
||||
.titleWrap {
|
||||
flex-grow : 2;
|
||||
}
|
||||
|
||||
span.updated {
|
||||
color : @default-text;
|
||||
font-weight : normal;
|
||||
font-size : 11px;
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
input {
|
||||
margin : 0px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
height : 30px;
|
||||
padding-left : 5px;
|
||||
font-weight : normal;
|
||||
color : @default-text;
|
||||
clear : both;
|
||||
align-items : center;
|
||||
|
||||
.left {
|
||||
flex-grow : 2;
|
||||
}
|
||||
}
|
||||
|
||||
.intermediate {
|
||||
margin-top : 10px;
|
||||
margin-left : 10px;
|
||||
}
|
||||
|
||||
.content-inner {
|
||||
margin : 10px;
|
||||
line-height : 1.5;
|
||||
font-size : 16px;
|
||||
}
|
||||
|
||||
.intermediate img,
|
||||
.intermediate video,
|
||||
.content-inner img,
|
||||
.content-inner video {
|
||||
border-width : 0px;
|
||||
max-width : 98%;
|
||||
height : auto;
|
||||
}
|
||||
}
|
||||
|
||||
.cdm.expanded {
|
||||
/*margin-top : 4px;
|
||||
margin-bottom : 4px;*/
|
||||
|
||||
.collapse, .excerpt {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.titleWrap {
|
||||
white-space : normal;
|
||||
}
|
||||
|
||||
.footer {
|
||||
border: 0px solid @border-default;
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
> hr {
|
||||
margin-top : 0px;
|
||||
margin-bottom : 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
div.cdm.expanded div.header {
|
||||
background : transparent ! important;
|
||||
}
|
||||
|
||||
div.cdm.expanded div.header a.title {
|
||||
font-size : 16px;
|
||||
color : #999;
|
||||
font-weight : 600;
|
||||
transition : color 0.2s, background 0.2s;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family : @fonts-ui-bold;
|
||||
}
|
||||
|
||||
div.cdm.expanded.active {
|
||||
background : white;
|
||||
}
|
||||
|
||||
div.cdm.expanded.active div.header a.title {
|
||||
color : @color-link;
|
||||
}
|
||||
|
||||
div.cdm.expanded.Unread div.header a.title {
|
||||
color : black;
|
||||
}
|
||||
|
||||
div.cdm.expanded div.content {
|
||||
color : @default-text;
|
||||
}
|
||||
|
||||
div.cdm.expanded.Unread div.content {
|
||||
color : black;
|
||||
}
|
||||
|
||||
div.cdm.active div.content {
|
||||
color : black;
|
||||
}
|
||||
|
||||
div.cdm.vgrlf .feed {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.cdm {
|
||||
div.feed-title {
|
||||
border: 0px solid @color-link;
|
||||
border-bottom-width: 1px;
|
||||
padding: 5px 3px 5px 5px;
|
||||
}
|
||||
|
||||
div.feed-title a.title {
|
||||
color: @default-text;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.feed-title a {
|
||||
color: @default-text;
|
||||
}
|
||||
|
||||
div.feed-title a:hover {
|
||||
color: @color-link;
|
||||
}
|
||||
|
||||
div.header span.feed {
|
||||
float: right;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
div.header div.feed, div.header div.feed a {
|
||||
vertical-align: middle;
|
||||
color: @default-text;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
div.content-inner p {
|
||||
/*max-width : 650px;*/
|
||||
-webkit-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
div.content-inner iframe {
|
||||
min-width : 50%;
|
||||
max-width : 98%;
|
||||
}
|
||||
|
||||
div.header span.author {
|
||||
white-space : nowrap;
|
||||
color : @default-text;
|
||||
font-size : 11px;
|
||||
font-weight : normal;
|
||||
}
|
||||
|
||||
.feed a {
|
||||
border-radius : 4px;
|
||||
display : inline-block;
|
||||
padding : 1px 4px 1px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
#main:not(.expandable) div#floatingTitle {
|
||||
.collapse {
|
||||
display : none;
|
||||
}
|
||||
}
|
||||
|
||||
div#floatingTitle {
|
||||
position : absolute;
|
||||
z-index : 5;
|
||||
top : 0px;
|
||||
right : 0px;
|
||||
left : 0px;
|
||||
border: 0px solid @border-default;
|
||||
border-bottom-width: 1px;
|
||||
background : white;
|
||||
color : @default-text;
|
||||
display : flex;
|
||||
flex-direction : row;
|
||||
flex-wrap : nowrap;
|
||||
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
|
||||
align-items: center;
|
||||
|
||||
> * {
|
||||
white-space : nowrap;
|
||||
padding : 4px;
|
||||
}
|
||||
|
||||
.left, .right {
|
||||
display : flex;
|
||||
align-items : center;
|
||||
|
||||
i.material-icons {
|
||||
margin-left : 2px;
|
||||
font-size : 21px;
|
||||
padding : 2px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
i.icon-anchor {
|
||||
margin-left : 0px;
|
||||
margin-right : 1px; // replaces checkbox which is a bit wider
|
||||
padding : 0px;
|
||||
color : #ccc;
|
||||
cursor : pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.excerpt {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.collapse i.material-icons {
|
||||
color : @color-accent;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
span.author {
|
||||
color : @default-text;
|
||||
font-size : 11px;
|
||||
font-weight : normal;
|
||||
}
|
||||
|
||||
a.title {
|
||||
font-size : 16px;
|
||||
color : #999;
|
||||
transition : color 0.2s, background 0.2s;
|
||||
font-weight : 600;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family : @fonts-ui-bold;
|
||||
}
|
||||
|
||||
div.feed {
|
||||
padding-right : 10px;
|
||||
color : @default-text;
|
||||
font-weight : normal;
|
||||
font-style : italic;
|
||||
font-size : 11px;
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
div.feed a {
|
||||
border-radius : 4px;
|
||||
display : inline-block;
|
||||
padding : 1px 4px 1px 4px;
|
||||
}
|
||||
|
||||
span.updated {
|
||||
padding-right : 10px;
|
||||
white-space : nowrap;
|
||||
color : @default-text;
|
||||
font-size : 11px;
|
||||
}
|
||||
|
||||
div.feed a {
|
||||
color : @default-text;
|
||||
}
|
||||
|
||||
span.titleWrap {
|
||||
width : 100%;
|
||||
white-space : normal;
|
||||
}
|
||||
|
||||
.feed-title {
|
||||
> * {
|
||||
display : table-cell;
|
||||
vertical-align : middle;
|
||||
}
|
||||
|
||||
a.title {
|
||||
width : 100%;
|
||||
}
|
||||
|
||||
a.catchup {
|
||||
text-align : right;
|
||||
color : @default-text;
|
||||
padding-right : 10px;
|
||||
font-size : 11px;
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
a.catchup:hover {
|
||||
color : @color-link;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
div#floatingTitle.Unread a.title {
|
||||
color : black;
|
||||
}
|
||||
|
||||
.cdm.expandable {
|
||||
background-color : @color-panel-bg;
|
||||
border: 0px solid @border-default;
|
||||
border-bottom-width: 1px;
|
||||
|
||||
> hr {
|
||||
display : none;
|
||||
}
|
||||
|
||||
div.header span.titleWrap {
|
||||
white-space : nowrap;
|
||||
text-overflow : ellipsis;
|
||||
overflow : hidden;
|
||||
}
|
||||
|
||||
.excerpt {
|
||||
white-space : nowrap;
|
||||
font-size : 11px;
|
||||
color : #999;
|
||||
font-weight : normal;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.cdm.expandable:not(.active) {
|
||||
user-select : none;
|
||||
}
|
||||
|
||||
.cdm.expandable.Unread {
|
||||
background : white;
|
||||
}
|
||||
|
||||
.cdm.expandable.Selected:not(.active) {
|
||||
background : desaturate(@color-accent, 25%);
|
||||
|
||||
a,
|
||||
.header a.title,
|
||||
span {
|
||||
color : white;
|
||||
}
|
||||
}
|
||||
|
||||
.cdm.expandable.active {
|
||||
background : white ! important;
|
||||
}
|
||||
|
||||
div.cdm.expandable.active div.header span.titleWrap {
|
||||
white-space : normal;
|
||||
}
|
||||
|
||||
div.cdm.expandable div.header a.title {
|
||||
font-weight : 600;
|
||||
color : @default-text;
|
||||
font-size : 14px;
|
||||
transition : color 0.2s, background 0.2s;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family : @fonts-ui-bold;
|
||||
}
|
||||
|
||||
div.cdm.expandable.Unread div.header a.title {
|
||||
color : black;
|
||||
}
|
||||
|
||||
div.cdm.expandable.active {
|
||||
.collapse i.material-icons {
|
||||
color : @color-accent;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
.excerpt {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.header a.title {
|
||||
color: @color-link;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family: @fonts-ui-bold;
|
||||
}
|
||||
}
|
||||
|
||||
div.cdm.expandable:not(.active) {
|
||||
cursor : pointer;
|
||||
|
||||
.content, .collapse {
|
||||
display : none;
|
||||
}
|
||||
}
|
||||
74
themes/light/defines.less
Normal file
74
themes/light/defines.less
Normal file
@@ -0,0 +1,74 @@
|
||||
@fonts-ui-bold: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
@fonts-ui: "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
|
||||
@default-fg: black;
|
||||
@default-bg: white;
|
||||
@color-accent: #257aa7;
|
||||
@color-accent-light: lighten(@color-accent, 50%);
|
||||
@color-link: @color-accent;
|
||||
@color-published: lighten(#ff5718, 10%);
|
||||
@color-marked: #ffc069;
|
||||
@color-accent-marked : @color-accent;
|
||||
@color-panel-bg: #f5f5f5;
|
||||
@color-checked: #69C671;
|
||||
@border-default : #ddd;
|
||||
@default-text: #555;
|
||||
@color-icon: #777;
|
||||
@color-tooltip-fg: @color-panel-bg;
|
||||
@color-tooltip-bg: darken(@color-accent, 10%);
|
||||
|
||||
body.ttrss_main,
|
||||
body.ttrss_prefs,
|
||||
#main {
|
||||
position : absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@import "tt-rss.less";
|
||||
@import "cdm.less";
|
||||
@import "prefs.less";
|
||||
@import "utility.less";
|
||||
@import "dijit_basic.less";
|
||||
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(../lib/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(../lib/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
|
||||
url(../lib/iconfont/MaterialIcons-Regular.woff) format('woff'),
|
||||
url(../lib/iconfont/MaterialIcons-Regular.ttf) format('truetype');
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 18px; /* Preferred icon size */
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
//color : #777;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
word-wrap: normal;
|
||||
white-space: nowrap;
|
||||
direction: ltr;
|
||||
vertical-align: middle;
|
||||
|
||||
/* Support for all WebKit browsers. */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
/* Support for Safari and Chrome. */
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
/* Support for Firefox. */
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Support for IE. */
|
||||
font-feature-settings: 'liga';
|
||||
}
|
||||
162
themes/light/dijit_basic.less
Normal file
162
themes/light/dijit_basic.less
Normal file
@@ -0,0 +1,162 @@
|
||||
.flat {
|
||||
|
||||
li {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#feedTree {
|
||||
.dijitTreeContent .dijitInline {
|
||||
vertical-align : baseline;
|
||||
}
|
||||
}
|
||||
|
||||
.dijitButton i.material-icons {
|
||||
position: relative;
|
||||
top : -1px;
|
||||
}
|
||||
|
||||
.tabLabel > i.material-icons {
|
||||
position : relative;
|
||||
top : -1px;
|
||||
}
|
||||
|
||||
#filterDlg_Matches span.filterRule {
|
||||
color: green;
|
||||
}
|
||||
|
||||
#filterTree .filterRules li.inverse,
|
||||
#filterDlg_Matches span.filterRule.inverse {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.dijitToolbar {
|
||||
font-size: 13px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.dijitAccordionContainer {
|
||||
box-shadow : 0px 0px 8px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.dijitCheckBox.dijitCheckBoxChecked {
|
||||
background-color : @color-checked;
|
||||
border-color : darken(@color-checked, 10%);
|
||||
}
|
||||
|
||||
.dijitMenu .dijitMenuItem .dijitMenuItemLabel {
|
||||
padding: 4px 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.dijitMenu .dijitMenuItem.dijitDisabled:not(.dijitMenuItemSelected) .dijitMenuItemLabel {
|
||||
color : lighten(@color-accent, 10%);
|
||||
}
|
||||
|
||||
.dijitMenu .dijitMenuItem td {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.dijitCheckBox {
|
||||
margin : 1px;
|
||||
}
|
||||
|
||||
.dijitCheckBox:before {
|
||||
font-family: "flat-icon";
|
||||
content: "\f00c";
|
||||
color: white;
|
||||
}
|
||||
|
||||
.dijitTab,
|
||||
.dijitAccordionInnerContainer:not(.dijitSelected) {
|
||||
i.material-icons {
|
||||
color: @color-accent;
|
||||
}
|
||||
}
|
||||
|
||||
.dijitTree {
|
||||
.dijitFolderClosed,
|
||||
.dijitFolderOpened {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.dijitTreeRowSelected {
|
||||
.filterRules li {
|
||||
color : white;
|
||||
}
|
||||
|
||||
.dijitTreeExpando {
|
||||
color : @color-accent;
|
||||
}
|
||||
}
|
||||
|
||||
.dijitTreeNode .dijitTreeRow.dijitTreeRowSelected {
|
||||
color : white;
|
||||
}
|
||||
|
||||
.dijitTreeRow .dijitTreeExpando {
|
||||
position : relative;
|
||||
top : -2px;
|
||||
}
|
||||
|
||||
.labelParam {
|
||||
float: right;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.dijitTreeRow.filterDisabled {
|
||||
opacity : 0.5;
|
||||
|
||||
.filterRules {
|
||||
filter : saturate(0%);
|
||||
}
|
||||
}
|
||||
|
||||
.feedParam {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.filterRules {
|
||||
font-size: 12px;
|
||||
line-height : normal;
|
||||
white-space: normal;
|
||||
margin-left : 28px;
|
||||
|
||||
li {
|
||||
color : green;
|
||||
}
|
||||
}
|
||||
|
||||
.dijitTreeContainer {
|
||||
max-width : 100%;
|
||||
}
|
||||
|
||||
.dijitTreeRow {
|
||||
overflow: hidden;
|
||||
-moz-user-select: none;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
label.dijitButton {
|
||||
border : 1px solid #ccc;
|
||||
padding : 6px;
|
||||
border-radius : 4px;
|
||||
cursor : pointer;
|
||||
position: relative;
|
||||
top : 1px;
|
||||
}
|
||||
|
||||
label.dijitButton:hover {
|
||||
background-color : @color-panel-bg;
|
||||
}
|
||||
|
||||
.dijitTree {
|
||||
.dijitTreeNode .dijitTreeRow {
|
||||
padding : 4px 0px 4px;
|
||||
border-width : 1px;
|
||||
color : @default-text;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
14
themes/light/dijit_light.less
Normal file
14
themes/light/dijit_light.less
Normal file
@@ -0,0 +1,14 @@
|
||||
.flat {
|
||||
|
||||
.dijitDialog .dijitDialogPaneContent {
|
||||
background : @color-panel-bg;
|
||||
}
|
||||
|
||||
.dijitTab:not(.dijitTabChecked) {
|
||||
background : @color-panel-bg;
|
||||
}
|
||||
|
||||
.dijitCheckBox {
|
||||
background : #ccc;
|
||||
}
|
||||
}
|
||||
4
themes/light/light_base.less
Normal file
4
themes/light/light_base.less
Normal file
@@ -0,0 +1,4 @@
|
||||
@import "defines.less";
|
||||
@import "dijit_light.less";
|
||||
@import "zoom.less";
|
||||
@import "../lib/flat-ttrss/flat_combined.css";
|
||||
194
themes/light/prefs.less
Normal file
194
themes/light/prefs.less
Normal file
@@ -0,0 +1,194 @@
|
||||
body.ttrss_prefs {
|
||||
background-color : @color-panel-bg;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-family : @fonts-ui-bold;
|
||||
font-weight : 600;
|
||||
color : @default-text;
|
||||
}
|
||||
|
||||
.dijitContentPane {
|
||||
h1:first-of-type,
|
||||
h2:first-of-type,
|
||||
h3:first-of-type {
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
#footer, #header {
|
||||
padding : 8px;
|
||||
font-size : 13px;
|
||||
}
|
||||
|
||||
#header {
|
||||
float : right;
|
||||
}
|
||||
|
||||
#footer_splitter {
|
||||
display : none;
|
||||
}
|
||||
|
||||
#footer {
|
||||
background-color : @color-panel-bg;
|
||||
font-size : 13px;
|
||||
border : 0px;
|
||||
text-align : center;
|
||||
}
|
||||
|
||||
#header img {
|
||||
vertical-align : middle;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
.dijitTree#filterTree .dijitTreeIcon,
|
||||
.dijitTree#labelTree .dijitTreeIcon,
|
||||
.dijitTree#filterTree .dijitTreeIcon {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.dijitAccordionTitle i.material-icons {
|
||||
top : -1px;
|
||||
position : relative;
|
||||
}
|
||||
|
||||
.dijitAccordionTitleSelected i.material-icons {
|
||||
color : white;
|
||||
}
|
||||
|
||||
.dijitDialog #pref-profiles-list .dijitInlineEditBoxDisplayMode {
|
||||
padding : 0px;
|
||||
}
|
||||
|
||||
div#feedlistLoading, div#filterlistLoading, div#labellistLoading {
|
||||
text-align : center;
|
||||
padding : 5px;
|
||||
color : @default-text;
|
||||
}
|
||||
|
||||
div#feedlistLoading img, div#filterlistLoading img, div#labellistLoading {
|
||||
margin-right : 5px;
|
||||
}
|
||||
|
||||
#errorButton {
|
||||
color : red;
|
||||
}
|
||||
|
||||
.user-css-editor {
|
||||
height : 300px;
|
||||
width : 575px;
|
||||
}
|
||||
|
||||
fieldset.prefs {
|
||||
min-height : 30px;
|
||||
|
||||
label:first-of-type {
|
||||
min-width : 300px;
|
||||
}
|
||||
|
||||
.help-text {
|
||||
display : inline-block;
|
||||
margin-left : 10px;
|
||||
}
|
||||
}
|
||||
|
||||
fieldset.plugin {
|
||||
label.description {
|
||||
width : 600px;
|
||||
margin-right : 150px;
|
||||
display : inline-block;
|
||||
|
||||
.dijitCheckBox {
|
||||
margin-right : 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.prefErrorLog {
|
||||
tr {
|
||||
td {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.errno {
|
||||
font-style : italic;
|
||||
font-weight : bold;
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
.errstr {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.filename, .login, .timestamp {
|
||||
color : @default-text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color : @border-default;
|
||||
max-width : 100%;
|
||||
}
|
||||
|
||||
.phpinfo {
|
||||
table {
|
||||
border-collapse : collapse;
|
||||
}
|
||||
|
||||
td.e, td.v {
|
||||
border : 1px solid #ccc;
|
||||
}
|
||||
|
||||
td.e {
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
td.v {
|
||||
font-family : monospace;
|
||||
word-break : break-all;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.ttrss_prefs,
|
||||
body.ttrss_main {
|
||||
#filterNewRuleDlg {
|
||||
.invalid {
|
||||
background : #ffc0c0;
|
||||
}
|
||||
.valid {
|
||||
background : #c0ffc0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.ttrss_prefs,
|
||||
body.ttrss_utility {
|
||||
fieldset {
|
||||
border-width : 0px;
|
||||
padding : 5px 0px;
|
||||
}
|
||||
|
||||
fieldset.narrow {
|
||||
padding : 2px 0px;
|
||||
}
|
||||
|
||||
fieldset.align-right {
|
||||
text-align : right;
|
||||
}
|
||||
|
||||
fieldset > label:first-of-type {
|
||||
min-width : 140px;
|
||||
margin-right : 20px;
|
||||
display : inline-block;
|
||||
text-align : right;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
fieldset > label.checkbox {
|
||||
display : inline;
|
||||
font-weight : normal;
|
||||
}
|
||||
}
|
||||
1340
themes/light/tt-rss.less
Normal file
1340
themes/light/tt-rss.less
Normal file
File diff suppressed because it is too large
Load Diff
116
themes/light/utility.less
Normal file
116
themes/light/utility.less
Normal file
@@ -0,0 +1,116 @@
|
||||
body.ttrss_utility.sanity_failed {
|
||||
background : #900;
|
||||
}
|
||||
|
||||
body.ttrss_utility {
|
||||
background : @color-panel-bg;
|
||||
color : @default-fg;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
margin : 4em;
|
||||
|
||||
.content {
|
||||
background : @default-bg;
|
||||
border : 1px solid @border-default;
|
||||
padding : 20px;
|
||||
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
|
||||
|
||||
h2:first-of-type {
|
||||
margin-top : 0;
|
||||
}
|
||||
|
||||
h2, h3, h4 {
|
||||
color : @color-accent;
|
||||
font-family: @fonts-ui-bold;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size : 18px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size : 16px;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color : @color-link;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: darken(@color-link, 20%);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color : gray;
|
||||
font-family: @fonts-ui-bold;
|
||||
font-size : 18px;
|
||||
margin : 10px 0 0 0;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align : center;
|
||||
padding-top : 10px;
|
||||
|
||||
a {
|
||||
color : gray;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color : @color-accent;
|
||||
}
|
||||
}
|
||||
|
||||
form {
|
||||
margin : 0;
|
||||
}
|
||||
}
|
||||
|
||||
body.ttrss_utility.otp {
|
||||
.content {
|
||||
fieldset > label {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.ttrss_utility.ttrss_login {
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
width : 100%;
|
||||
height : 100%;
|
||||
position : absolute;
|
||||
display : flex;
|
||||
align-items: center;
|
||||
justify-content : center;
|
||||
|
||||
.container {
|
||||
max-width : 600px;
|
||||
margin-left : auto;
|
||||
margin-right : auto;
|
||||
|
||||
.content {
|
||||
padding : 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.ttrss_utility.installer,
|
||||
body.ttrss_utility.feed_debugger {
|
||||
margin : 2em;
|
||||
}
|
||||
|
||||
body.ttrss_utility.share_popup {
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
background : white;
|
||||
|
||||
.content {
|
||||
padding : 15px;
|
||||
border-width : 0;
|
||||
box-shadow : none;
|
||||
}
|
||||
}
|
||||
78
themes/light/zoom.less
Normal file
78
themes/light/zoom.less
Normal file
@@ -0,0 +1,78 @@
|
||||
body.ttrss_zoom {
|
||||
max-width : 900px;
|
||||
margin : 2em auto;
|
||||
|
||||
div.post {
|
||||
border : 1px solid @border-default;
|
||||
background : @default-bg;
|
||||
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
|
||||
|
||||
.attachments {
|
||||
display : none;
|
||||
}
|
||||
|
||||
div.header {
|
||||
padding-bottom : 10px;
|
||||
border: 0px solid @border-default;
|
||||
border-bottom-width: 1px;
|
||||
background : @default-bg;
|
||||
font-size : 12px;
|
||||
color : @default-text;
|
||||
|
||||
.row {
|
||||
display : flex;
|
||||
margin-bottom : 4px;
|
||||
flex-wrap : nowrap;
|
||||
align-items : center;
|
||||
justify-content : space-between;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
-webkit-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
div.content {
|
||||
font-size : 15px;
|
||||
line-height : 1.5;
|
||||
border-width : 0;
|
||||
padding : 0;
|
||||
|
||||
img, video {
|
||||
max-width : 760px;
|
||||
height : auto;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin : 5px 0px 5px 0px;
|
||||
color : @default-text;
|
||||
padding-left : 10px;
|
||||
border: 0px solid @border-default;
|
||||
border-left-width: 4px;
|
||||
}
|
||||
|
||||
code {
|
||||
color : #009900;
|
||||
font-family : monospace;
|
||||
font-size : 12px;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin : 5px 0px 5px 0px;
|
||||
padding : 10px;
|
||||
color : @default-text;
|
||||
font-family : monospace;
|
||||
font-size : 12px;
|
||||
border: 0px solid #ccc;
|
||||
background : @color-panel-bg;
|
||||
display : block;
|
||||
max-width : 98%;
|
||||
overflow : auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
@import "../css/defines.less";
|
||||
@import "../css/utility.less";
|
||||
@import "../css/zoom.less";
|
||||
@import "light/defines.less";
|
||||
@import "light/utility.less";
|
||||
@import "light/zoom.less";
|
||||
@import "../lib/flat-ttrss/flat_combined_dark.css";
|
||||
|
||||
@color-accent: #b87d2c;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user