so://phie

outline

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

blob: 9885c4881b7be6f859cae344d9ae5f5ac9a1ed45 (5053 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

85 /* ### App ### */

86

87 .wrapper {

88 background: white;

89 }

90

91 .header-list {

92 background: white;

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

94

95 .mainbar,

96 .sidebar {

97

98 .tool,

99 .action,

100 .option {

101

102 ul {

103

104 li {

105

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

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

108

109 &.ripple {

110

111 &.ripple-active {

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

113 }

114 }

115 }

116

117 &.active {

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

119

120 &.ripple {

121

122 &.ripple-active {

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

124 }

125 }

126 }

127

128 &.inactive {

129

130 i.ico {

131 color: @brand-grey-4;

132 }

133 }

134

135 i.ico {

136 color: @brand-grey-1;

137 }

138

139 &.caption {

140

141 label {

142 color: @brand-grey-1;

143 }

144 }

145 }

146 }

147 }

148 }

149 }

150

151 .badge {

152

153 &.prime {

154 background: @brand-blue;

155 }

156

157 &.beta {

158 background: @brand-green;

159 }

160 }

161

162 .key {

163 color: @brand-grey-2;

164 background: @brand-grey-7;

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

166 }

167

168 .button {

169 background: @brand-grey-6;

170 color: @brand-black;

171

172 &:hover {

173

174 &.ripple-active {

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

176 }

177 }

178

179 &.outline {

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

181

182 &:hover {

183

184 &.ripple-active {

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

186 }

187 }

188 }

189

190 &.prime {

191 background: @brand-blue;

192 color: white;

193

194 &:hover {

195

196 &.ripple-active {

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

198 }

199 }

200 }

201

202 &.danger {

203 background: @brand-red;

204 color: white;

205

206 &:hover {

207

208 &.ripple-active {

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

210 }

211 }

212 }

213 }

214

215 .notification {

216

217 p {

218 background: @brand-black;

219 color: white;

220 }

221 }

222

223 .controls {

224

225 .hotbar {

226

227 .color {

228 background: @brand-bright;

229 }

230 }

231

232 .scale-modal {

233

234 input[type="range"] {

235 background: @brand-bright;

236

237 &::-webkit-slider-thumb {

238 background: @brand-grey-3;

239

240 &:hover {

241 background: @brand-grey-2;

242 }

243 }

244 }

245 }

246

247 .clear-modal {

248

249 .info {

250 color: @brand-black;

251 }

252

253 .align {

254

255 .btn-apply {

256 border-color: grey;

257 }

258 }

259 }

260

261 .colors-modal {

262

263 &::-webkit-scrollbar-thumb {

264 background: @brand-grey-5;

265

266 &:hover,

267 &:active {

268 background: @brand-grey-4;

269 }

270 }

271

272 .color {

273 background: @brand-bright;

274 }

275 }

276 }

277

278 .modal {

279 background: white;

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

281

282 .header {

283

284 .back {

285

286 i.ico {

287 color: @brand-grey-0;

288 }

289

290 &:hover {

291 background: @brand-grey-7;

292 }

293

294 &.ripple {

295

296 &.ripple-active {

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

298 }

299 }

300 }

301

302 .info {

303

304 p {

305 color: @brand-grey-1;

306 }

307

308 span {

309 color: @brand-grey-3;

310 }

311 }

312 }

313

314 ul.item-list {

315

316 .separator {

317 background: @brand-grey-5;

318 }

319

320 li.caption {

321

322 p {

323 color: @brand-grey-3;

324 }

325 }

326

327 li.item {

328

329 &.empty {

330

331 p {

332 color: @brand-grey-3;

333 }

334 }

335

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

337

338 &:hover {

339 background: @brand-grey-7;

340 }

341

342 &.ripple {

343

344 &.ripple-active {

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

346 }

347 }

348 }

349

350 i.ico {

351 color: @brand-grey-1;

352 }

353

354 i.lang {

355 color: @brand-grey-1;

356 }

357

358 .info {

359

360 p {

361 color: @brand-grey-1;

362 }

363

364 span {

365 color: @brand-grey-3;

366 }

367 }

368

369 &.active {

370 background: @brand-bright;

371

372 &.ripple {

373

374 &.ripple-active {

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

376 }

377 }

378 }

379

380 &.inactive {

381

382 i.ico {

383 color: @brand-grey-4;

384 }

385

386 .info {

387

388 p {

389 color: @brand-grey-3;

390 }

391

392 span {

393 color: @brand-grey-3;

394 }

395 }

396 }

397 }

398 }

399 }

400}