misskey/src/client/app/app.styl

139 lines
1.8 KiB
Stylus
Raw Normal View History

2017-12-13 23:24:41 -08:00
@import "../style"
2018-02-22 10:33:12 -08:00
@import "../animation"
2016-12-28 14:49:51 -08:00
html
&.progress
&, *
cursor progress !important
2017-11-01 20:39:19 -07:00
body
overflow-wrap break-word
2016-12-28 14:49:51 -08:00
#error
2017-05-09 00:26:37 -07:00
padding 32px
2016-12-28 14:49:51 -08:00
color #fff
2017-05-25 00:47:13 -07:00
hr
border solid 1px #fff
2016-12-28 14:49:51 -08:00
#nprogress
pointer-events none
position absolute
z-index 65536
.bar
background $theme-color
position fixed
z-index 65537
top 0
left 0
width 100%
height 2px
/* Fancy blur effect */
.peg
display block
position absolute
right 0px
width 100px
height 100%
box-shadow 0 0 10px $theme-color, 0 0 5px $theme-color
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 $theme-color
border-left-color $theme-color
border-radius 50%
animation progress-spinner 400ms linear infinite
@keyframes progress-spinner
0%
transform rotate(0deg)
100%
transform rotate(360deg)
2017-02-11 06:41:57 -08:00
code
font-family Consolas, 'Courier New', Courier, Monaco, monospace
.comment
opacity 0.5
2017-02-09 03:27:37 -08:00
.string
color #e96900
2017-02-09 02:41:17 -08:00
.regexp
color #e9003f
2017-02-09 02:41:17 -08:00
.keyword
color #2973b7
2017-02-09 04:47:45 -08:00
&.true
&.false
&.null
&.nil
&.undefined
color #ae81ff
2017-02-09 02:41:17 -08:00
.symbol
color #42b983
2017-02-09 07:40:34 -08:00
.number
.nan
color #ae81ff
2017-02-09 02:41:17 -08:00
.var:not(.keyword)
font-weight bold
font-style italic
//text-decoration underline
2017-02-09 07:40:34 -08:00
.method
font-style italic
color #8964c1
2017-02-09 02:41:17 -08:00
.property
color #a71d5d
2017-02-09 02:41:17 -08:00
.label
color #e9003f
2017-02-09 03:13:44 -08:00
pre
display block
2017-02-09 05:47:17 -08:00
> code
display block
overflow auto
tab-size 2
2017-02-09 05:47:17 -08:00
2017-12-07 21:35:50 -08:00
[data-fa]
display inline-block
2018-08-31 23:38:03 -07:00
.modal-backdrop
z-index 10000 !important
.modal-content-wrapper
z-index 10001 !important
.modal-content
padding 0 !important
background-color transparent !important