This repository was archived by the owner on Jul 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.styl
More file actions
100 lines (85 loc) · 2.99 KB
/
Copy pathapp.styl
File metadata and controls
100 lines (85 loc) · 2.99 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
@import url(/api/public/proxy/fonts.googleapis.com/css?family=Droid\+Sans\+Mono)
@import 'bower_components/nib'
$foreground = lightblue
$background = black
body
background linear-gradient(top,
transparent 0px,
transparent 1px,
alpha($foreground, 0.25) 1px,
alpha($foreground, 0.25) 2px)
-webkit-background-size 100% 2px
-moz-background-size 100% 2px
font-family 'Droid Sans Mono', Monaco, "Lucida Console", monospace
font-size 10pt
text-shadow 0px 0px 10px $foreground
padding 2px
background-color $background
color $foreground
.block
display none
a
color $foreground
&:visited
color lightness($foreground, 80%)
span
&.symlink
color lightness($foreground, 20%)
.prompt
background-color lightness($foreground, 80%)
background linear-gradient(top,
transparent 0px,
transparent 1px,
alpha($foreground, 0.5) 1px,
alpha($foreground, 0.5) 2px)
color $foreground
text-shadow none
&.localhost
background transparent
.response
white-space pre-wrap
$keyframe-blink = blink
.cursor
font-weight normal
background-color $foreground
-webkit-animation 1s $keyframe-blink step-end infinite
-moz-animation 1s $keyframe-blink step-end infinite
-ms-animation 1s $keyframe-blink step-end infinite
-o-animation 1s $keyframe-blink step-end infinite
animation 1s $keyframe-blink step-end infinite
padding 0 0.25rem
@keyframes $keyframe-blink {
from,to {
visibility hidden
}
50% {
visibility visible
}
}
$keyframe-vline = vline
#terminal:before {
content '';
position absolute;
top 0px;
display block
width 98%;
height 50px;
background #fff;
background: -moz-linear-gradient(top, rgba(255,0,0,0) 0%, rgba(255,250,250,1) 50%, rgba(255,255,255,0.98) 51%, rgba(255,0,0,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,0,0,0)), color-stop(50%,rgba(255,250,250,1)), color-stop(51%,rgba(255,255,255,0.98)), color-stop(100%,rgba(255,0,0,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,0,0,0) 0%,rgba(255,250,250,1) 50%,rgba(255,255,255,0.98) 51%,rgba(255,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,0,0,0) 0%,rgba(255,250,250,1) 50%,rgba(255,255,255,0.98) 51%,rgba(255,0,0,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(255,0,0,0) 0%,rgba(255,250,250,1) 50%,rgba(255,255,255,0.98) 51%,rgba(255,0,0,0) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255,0,0,0) 0%,rgba(255,250,250,1) 50%,rgba(255,255,255,0.98) 51%,rgba(255,0,0,0) 100%); /* W3C */
opacity .03;
-webkit-transform-origin 50% 50%;
-webkit-transform: perspective(1000px) skewX(3deg);
-webkit-animation: $keyframe-vline 1.25s linear infinite;
-moz-animation: $keyframe-vline 1.25s linear infinite;
-ms-animation: $keyframe-vline 1.25s linear infinite;
animation: $keyframe-vline 1.25s linear infinite;
}
@keyframes $keyframe-vline {
0% { top: 0px;}
100% { top: 90%;}
}