so://phie

outline

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

blob: e1907bde93541bb9437a91c340eeaad948d6da69 (5225 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: @brand-grey;

49 }

50 }

51

52 button.button {

53

54 &.button-prime {

55 background: @brand-blue;

56 color: darken(white, 2%);

57

58 &:hover {

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

60 color: white;

61 }

62 }

63

64 &.button-default {

65 background: white;

66 color: darken(@brand-grey, 10%);

67

68 &:hover {

69 color: darken(@brand-grey, 15%);

70 }

71 }

72

73 &.button-prime-light {

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

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

76

77 &:hover {

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

79 color: @brand-blue;

80 }

81 }

82 }

83

84 .badge-version {

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

86 color: @brand-dark;

87 }

88

89 .caption {

90

91 h2.caption-headline {

92 color: @brand-dark;

93

94 b {

95 color: @brand-blue;

96 }

97 }

98

99 .caption-info {

100

101 p {

102 color: @brand-grey;

103 }

104 }

105 }

106 }

107

108 /* ### App ### */

109

110 .wrapper {

111 background: white;

112 }

113

114 .header-list {

115 background: white;

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

117

118 .mainbar,

119 .sidebar {

120

121 .tool,

122 .action,

123 .option {

124

125 ul {

126

127 li {

128

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

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

131

132 &.ripple {

133

134 &.ripple-active {

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

136 }

137 }

138 }

139

140 &.active {

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

142

143 &.ripple {

144

145 &.ripple-active {

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

147 }

148 }

149 }

150

151 &.inactive {

152

153 i.ico {

154 color: @brand-grey-4;

155 }

156 }

157

158 i.ico {

159 color: @brand-grey-1;

160 }

161 }

162 }

163 }

164 }

165 }

166

167 .badge {

168

169 &.prime {

170 background: @brand-blue;

171 }

172

173 &.beta {

174 background: @brand-green;

175 }

176 }

177

178 .key {

179 color: @brand-grey-2;

180 background: @brand-grey-7;

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

182 }

183

184 .button {

185 background: @brand-grey-6;

186 color: @brand-black;

187

188 &:hover {

189

190 &.ripple-active {

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

192 }

193 }

194

195 &.outline {

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

197

198 &:hover {

199

200 &.ripple-active {

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

202 }

203 }

204 }

205

206 &.prime {

207 background: @brand-blue;

208 color: white;

209

210 &:hover {

211

212 &.ripple-active {

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

214 }

215 }

216 }

217

218 &.danger {

219 background: @brand-red;

220 color: white;

221

222 &:hover {

223

224 &.ripple-active {

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

226 }

227 }

228 }

229 }

230

231 .notification {

232

233 p {

234 background: @brand-black;

235 color: white;

236 }

237 }

238

239 .controls {

240

241 .hotbar {

242

243 .color {

244 background: @brand-bright;

245 }

246 }

247

248 .scale-modal {

249

250 input[type="range"] {

251 background: @brand-bright;

252

253 &::-webkit-slider-thumb {

254 background: @brand-grey-3;

255

256 &:hover {

257 background: @brand-grey-2;

258 }

259 }

260 }

261 }

262

263 .clear-modal {

264

265 .info {

266 color: @brand-black;

267 }

268

269 .align {

270

271 .btn-apply {

272 border-color: grey;

273 }

274 }

275 }

276

277 .colors-modal {

278

279 &::-webkit-scrollbar-thumb {

280 background: @brand-grey-5;

281

282 &:hover,

283 &:active {

284 background: @brand-grey-4;

285 }

286 }

287

288 .color {

289 background: @brand-bright;

290 }

291 }

292 }

293

294 .modal {

295 background: white;

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

297

298 .header {

299

300 .back {

301

302 i.ico {

303 color: @brand-grey-0;

304 }

305

306 &:hover {

307 background: @brand-grey-7;

308 }

309

310 &.ripple {

311

312 &.ripple-active {

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

314 }

315 }

316 }

317

318 .info {

319

320 p {

321 color: @brand-grey-1;

322 }

323

324 span {

325 color: @brand-grey-3;

326 }

327 }

328 }

329

330 ul.item-list {

331

332 .separator {

333 background: @brand-grey-5;

334 }

335

336 li.caption {

337

338 p {

339 color: @brand-grey-3;

340 }

341 }

342

343 li.item {

344

345 &.empty {

346

347 p {

348 color: @brand-grey-3;

349 }

350 }

351

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

353

354 &:hover {

355 background: @brand-grey-7;

356 }

357

358 &.ripple {

359

360 &.ripple-active {

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

362 }

363 }

364 }

365

366 i.ico {

367 color: @brand-grey-1;

368 }

369

370 i.lang {

371 color: @brand-grey-1;

372 }

373

374 .info {

375

376 p {

377 color: @brand-grey-1;

378 }

379

380 span {

381 color: @brand-grey-3;

382 }

383 }

384

385 &.active {

386 background: @brand-bright;

387

388 &.ripple {

389

390 &.ripple-active {

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

392 }

393 }

394 }

395

396 &.inactive {

397

398 i.ico {

399 color: @brand-grey-4;

400 }

401

402 .info {

403

404 p {

405 color: @brand-grey-3;

406 }

407

408 span {

409 color: @brand-grey-3;

410 }

411 }

412 }

413 }

414 }

415 }

416}