-
Notifications
You must be signed in to change notification settings - Fork 0
/
pics2pdf.css
131 lines (119 loc) · 2.8 KB
/
pics2pdf.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
/* body */
body {
padding-top: 70px;
padding-bottom: 30px;
}
/* file upload styling
* http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/ */
.btn-file {
position: relative;
overflow: hidden;
}
.btn-file input[type=file] {
position: absolute;
top: 0;
right: 0;
min-width: 100%;
min-height: 100%;
font-size: 100px;
text-align: right;
filter: alpha(opacity=0);
opacity: 0;
outline: none;
background: white;
cursor: inherit;
display: block;
}
/* clearfix helpers for mixed column heights (http://stackoverflow.com/a/24590544) */
@media (max-width: 767px) { /* xs: 2 columns */
#image-row>.clear:nth-child(4n)::before { content: ''; display: table; clear: both; }
}
@media (min-width: 768px) and (max-width: 991px) { /* sm: 3 columns */
#image-row>.clear:nth-child(6n)::before { content: ''; display: table; clear: both; }
}
@media (min-width: 992px) and (max-width: 1199px) { /* md: 4 columns */
#image-row>.clear:nth-child(8n)::before { content: ''; display: table; clear: both; }
}
@media (min-width: 1200px) { /* lg: 6 columns */
#image-row>.clear:nth-child(12n)::before { content: ''; display: table; clear: both; }
}
/* image overlays */
.image-overlay {
color: #fff;
opacity: 0;
position: absolute;
margin: 4px;
width: calc(100% - 8px);
-webkit-transition: opacity 300ms ease-out;
-moz-transition: opacity 300ms ease-out;
-o-transition: opacity 300ms ease-out;
-ms-transition: opacity 300ms ease-out;
transition: opacity 300ms ease-out;
}
.image-caption {
bottom: 0;
left: 0;
padding-bottom: 4px;
background-color: #000;
}
.image-buttons {
top: 0;
left: 0;
padding-top: 4px;
text-align: center;
}
.image-buttons .btn {
margin: 4px;
}
.thumbnail:focus .image-caption,
.thumbnail:hover .image-caption {
opacity: 0.7;
}
.thumbnail:focus .image-buttons,
.thumbnail:hover .image-buttons {
opacity: 1;
}
.thumbnail {
position: relative;
min-height: 100px;
}
.thumbnail:focus,
.thumbnail:hover {
cursor: move;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}
/* disable progress bar animation because it's too slow */
.progress-bar {
-webkit-transition: none !important;
transition: none !important;
}
/* keep navbar horizontal even in xs mode */
.navbar-text,
.navbar-nav,
.navbar-nav > li {
float: left !important;
}
.navbar-right,
.navbar-right > li {
float: right !important;
}
.navbar-text,
.navbar-nav {
margin-left: 15px;
margin-right: 15px;
}
.navbar .btn-group {
margin: 0;
}
/* footer height */
footer .navbar-text {
margin-top: 2px;
margin-bottom: 2px;
}
footer .navbar-nav > li > a {
padding-top: 2px !important;
padding-bottom: 2px !important;
}
footer.navbar {
min-height: 30px !important;
}