summaryrefslogtreecommitdiff
path: root/src/client/app/app.styl
blob: 6389aa0a875f6c8158cb0191fef555ca6ff22b5f (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
@import "../style"
@import "../animation"

html
	&.progress
		&, *
			cursor progress !important

html
	// iOSのため
	overflow auto

body
	overflow-wrap break-word

#nprogress
	pointer-events none

	position absolute
	z-index 65536

	.bar
		background var(--primary)

		position fixed
		z-index 65537
		top 0
		left 0

		width 100%
		height 2px

	/* Fancy blur effect */
	.peg
		display block
		position absolute
		right 0
		width 100px
		height 100%
		box-shadow 0 0 10px var(--primary), 0 0 5px var(--primary)
		opacity 1

		transform rotate(3deg) translate(0px, -4px)

#wait
	display block
	position fixed
	z-index 65537
	top 15px
	right 15px

	&:before
		content ""
		display block
		width 18px
		height 18px
		box-sizing border-box

		border solid 2px transparent
		border-top-color var(--primary)
		border-left-color var(--primary)
		border-radius 50%

		animation progress-spinner 400ms linear infinite

	@keyframes progress-spinner
		0%
			transform rotate(0deg)
		100%
			transform rotate(360deg)

code
	font-family Consolas, 'Courier New', Courier, Monaco, monospace

pre
	display block

	> code
		display block
		overflow auto
		tab-size 2

[data-icon]
	display inline-block