Sharkey/src/client/app/app.styl

159 lines
2.2 KiB
Stylus
Raw Normal View History

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