-
Notifications
You must be signed in to change notification settings - Fork 1
/
showup.css
148 lines (124 loc) · 3.12 KB
/
showup.css
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/*
* Showup.js jQuery Plugin
* http://github.com/jonschlinkert/showup
*
* Copyright (c) 2013 Jon Schlinkert, contributors
* Licensed under the MIT License (MIT).
*/
/**
* Docs navbar transitions effects
*/
.navbar {
-webkit-transition: -webkit-transform .5s .5s, background .5s, color .1s;
-moz-transition: -moz-transform .5s .5s, background .5s, color .1s;
-o-transition: -o-transform .5s .5s, background .5s, color .1s;
transition: transform .5s .5s, background .5s, color .1s;
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
.navbar-tall,
.navbar-show {
opacity: 1;
-webkit-transition: -webkit-transform .25s, background 2s, color .3s;
-moz-transition: -moz-transform .25s, background 2s, color .3s;
-o-transition: -o-transform .25s, background 2s, color .3s;
transition: transform .25s, background 2s, color .3s;
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
.navbar-hide {
opacity: 0;
-webkit-transition: -webkit-transform .2s, background .3s, color .3s, opacity 0 .3s;
-moz-transition: -moz-transform .2s, background .3s, color .3s, opacity 0 .3s;
-o-transition: -o-transform .2s, background .3s, color .3s, opacity 0 .3s;
transition: transform .2s, background .3s, color .3s, opacity 0 .3s;
-webkit-transform: translate(0, -80px);
-ms-transform: translate(0, -80px);
transform: translate(0, -80px);
}
.navbar-tall,
.navbar-short,
.navbar-tall .navbar-brand,
.navbar-short .navbar-brand,
.navbar-tall .navbar-nav > li > a,
.navbar-short .navbar-nav > li > a {
-webkit-transition: all 0.2s linear;
transition: all 0.2s linear;
}
.navbar-short {
min-height: 40px;
}
.navbar-short .navbar-brand {
font-size: 16px;
padding: 13px 15px 10px;
}
.navbar-short .navbar-nav > li > a {
padding-top: 12px;
padding-bottom: 12px;
}
.navbar-tall {
min-height: 70px;
}
.navbar-tall .navbar-brand {
font-size: 24px;
padding: 25px 15px;
}
.navbar-tall .navbar-nav > li > a {
padding-top: 25px;
}
/**
* Docs Buttons
*/
/* Demo buttons are all <button> tags, so
* lets style these directly.
*/
button {
float: right !important;
}
/* Fixed button, bottom right */
.btn-fixed-bottom {
position: fixed;
bottom: 10px;
right: 20px;
display: none;
}
/* Toggles navbar classes */
.btn-hide-show {
margin-right: 10px;
}
/* Light theme */
.btn-light {
color: #555;
background-color: rgba(0, 0, 0,.1);
}
.btn-light:hover {
color: #111;
background-color: rgba(0, 0, 0,.25);
}
/* Dark theme */
.btn-dark {
color: #fff;
background-color: rgba(0, 0, 0,.5);
}
.btn-dark:hover {
color: #fff;
background-color: rgba(0, 0, 0,.9);
}
/* Buttons displayed throughout the content */
.btn-showup {
position: relative;
color: #fff;
font-weight: normal;
background-color: #463265;
border-color: #3F2961;
}
.btn:focus,
.btn-showup:hover,
.btn-showup:focus {
color: #fff;
outline: none;
background-color: #39235A;
border-color: #39235A;
}