summaryrefslogtreecommitdiff
path: root/themes/light/utility.less
blob: 89675ac1379320e962aee2b3a5adcbe5b0eba5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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: @font-size-content;
	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;
		}

		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;
		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;

	pre {
		white-space : pre-wrap;
	}
}

body.ttrss_utility.share_popup {
	margin : 0;
	padding : 0;
	background : white;

	.content {
		padding : 15px;
		border-width : 0;
		box-shadow : none;
	}
}