so://phie

outline

A web-based drawing app
git clone git://soophie.de/outline

blob: e3d5c0328e2fa60e4060f1eda3026bf9a5efbc5e (5149 bytes)[doc][blame][raw]

1@media(prefers-color-scheme: light) {

2

3 @brand-dark: #2D3842;

4 @brand-grey: #9FA2AD;

5 @brand-light: #F5F5F5;

6

7 /* ### Home ### */

8

9 body.home {

10 background: white;

11

12 header {

13 background-image: url('../asset/img/background.png');

14

15 .brand-logo {

16

17 a {

18 background-image: url('../asset/img/brand-logo.png');

19 }

20 }

21

22 .logo {

23 background-image: url('../asset/img/logo.png');

24 background-position: center;

25 }

26

27 h1.headline {

28 color: @brand-dark;

29 }

30

31 p.description {

32 color: @brand-grey;

33

34 b {

35 color: @brand-blue;

36 }

37 }

38 }

39

40 main {

41 background: white;

42 }

43

44 footer {

45 background: @brand-light;

46

47 .footer-item {

48 color: darken(@brand-grey-2, 2%);

49 }

50 }

51

52 button.button {

53

54 &.button-prime {

55 background: @brand-blue;

56 color: white;

57

58 &:hover {

59 background: darken(@brand-blue, 2%);

60 }

61 }

62

63 &.button-default {

64 background: white;

65 color: darken(@brand-grey, 18%);

66 }

67

68 &.button-prime-light {

69 background: rgba(@brand-blue, 0.1);

70 color: lighten(@brand-blue, 8%);

71

72 &:hover {

73 background: rgba(@brand-blue, 0.13);

74 color: @brand-blue;

75 }

76 }

77 }

78

79 .badge-version {

80 background: lighten(@brand-grey, 25%);

81 color: @brand-dark;

82 }

83

84 .caption {

85

86 h2.caption-headline {

87 color: @brand-dark;

88

89 b {

90 color: @brand-blue;

91 }

92 }

93

94 .caption-info {

95

96 p {

97 color: @brand-grey;

98 }

99 }

100 }

101 }

102

103 /* ### App ### */

104

105 .wrapper {

106 background: white;

107 }

108

109 .header-list {

110 background: white;

111 border-bottom: 1px solid @brand-grey-5;

112

113 .mainbar,

114 .sidebar {

115

116 .tool,

117 .action,

118 .option {

119

120 ul {

121

122 li {

123

124 &:not(.inactive):not(.active):hover {

125 background: rgba(@brand-grey-7, 0.95);

126

127 &.ripple {

128

129 &.ripple-active {

130 background: lighten(rgba(@brand-grey-7, 0.95), -2%);

131 }

132 }

133 }

134

135 &.active {

136 background: rgba(@brand-bright, 0.95);

137

138 &.ripple {

139

140 &.ripple-active {

141 background: lighten(rgba(@brand-bright, 0.95), -2%);

142 }

143 }

144 }

145

146 &.inactive {

147

148 i.ico {

149 color: @brand-grey-4;

150 }

151 }

152

153 i.ico {

154 color: @brand-grey-1;

155 }

156 }

157 }

158 }

159 }

160 }

161

162 .badge {

163

164 &.prime {

165 background: @brand-blue;

166 }

167

168 &.beta {

169 background: @brand-green;

170 }

171 }

172

173 .key {

174 color: @brand-grey-2;

175 background: @brand-grey-7;

176 border: 1px solid @brand-grey-4;

177 }

178

179 .button {

180 background: @brand-grey-6;

181 color: @brand-black;

182

183 &:hover {

184

185 &.ripple-active {

186 background: lighten(@brand-grey-6, -2%);

187 }

188 }

189

190 &.outline {

191 border: 1px solid @brand-grey-5;

192

193 &:hover {

194

195 &.ripple-active {

196 background: lighten(white, -2%);

197 }

198 }

199 }

200

201 &.prime {

202 background: @brand-blue;

203 color: white;

204

205 &:hover {

206

207 &.ripple-active {

208 background: lighten(@brand-blue, -2%);

209 }

210 }

211 }

212

213 &.danger {

214 background: @brand-red;

215 color: white;

216

217 &:hover {

218

219 &.ripple-active {

220 background: lighten(@brand-red, -2%);

221 }

222 }

223 }

224 }

225

226 .notification {

227

228 p {

229 background: @brand-black;

230 color: white;

231 }

232 }

233

234 .controls {

235

236 .hotbar {

237

238 .color {

239 background: @brand-bright;

240 }

241 }

242

243 .scale-modal {

244

245 input[type="range"] {

246 background: @brand-bright;

247

248 &::-webkit-slider-thumb {

249 background: @brand-grey-3;

250

251 &:hover {

252 background: @brand-grey-2;

253 }

254 }

255 }

256 }

257

258 .clear-modal {

259

260 .info {

261 color: @brand-black;

262 }

263

264 .align {

265

266 .btn-apply {

267 border-color: grey;

268 }

269 }

270 }

271

272 .colors-modal {

273

274 &::-webkit-scrollbar-thumb {

275 background: @brand-grey-5;

276

277 &:hover,

278 &:active {

279 background: @brand-grey-4;

280 }

281 }

282

283 .color {

284 background: @brand-bright;

285 }

286 }

287 }

288

289 .modal {

290 background: white;

291 border: 1px solid @brand-grey-5;

292

293 .header {

294

295 .back {

296

297 i.ico {

298 color: @brand-grey-0;

299 }

300

301 &:hover {

302 background: @brand-grey-7;

303 }

304

305 &.ripple {

306

307 &.ripple-active {

308 background: lighten(@brand-grey-7, -2%);

309 }

310 }

311 }

312

313 .info {

314

315 p {

316 color: @brand-grey-1;

317 }

318

319 span {

320 color: @brand-grey-3;

321 }

322 }

323 }

324

325 ul.item-list {

326

327 .separator {

328 background: @brand-grey-5;

329 }

330

331 li.caption {

332

333 p {

334 color: @brand-grey-3;

335 }

336 }

337

338 li.item {

339

340 &.empty {

341

342 p {

343 color: @brand-grey-3;

344 }

345 }

346

347 &:not(.active):not(.inactive) {

348

349 &:hover {

350 background: @brand-grey-7;

351 }

352

353 &.ripple {

354

355 &.ripple-active {

356 background: lighten(@brand-grey-7, -2%);

357 }

358 }

359 }

360

361 i.ico {

362 color: @brand-grey-1;

363 }

364

365 i.lang {

366 color: @brand-grey-1;

367 }

368

369 .info {

370

371 p {

372 color: @brand-grey-1;

373 }

374

375 span {

376 color: @brand-grey-3;

377 }

378 }

379

380 &.active {

381 background: @brand-bright;

382

383 &.ripple {

384

385 &.ripple-active {

386 background: lighten(@brand-bright, -2%);

387 }

388 }

389 }

390

391 &.inactive {

392

393 i.ico {

394 color: @brand-grey-4;

395 }

396

397 .info {

398

399 p {

400 color: @brand-grey-3;

401 }

402

403 span {

404 color: @brand-grey-3;

405 }

406 }

407 }

408 }

409 }

410 }

411}