aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/css/detailsView.css
blob: 0afcbc089eb2ddb2c35d6a8ff66f34997a798181 (plain)
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
#app-sidebar .detailFileInfoContainer {
	min-height: 50px;
	padding: 15px;
}

#app-sidebar .detailFileInfoContainer > div {
	clear: both;
}

#app-sidebar .mainFileInfoView {
	margin-right: 20px; /* accommodate for close icon */
	float:left;
	display:block;
	width: 100%;
}

#app-sidebar .mainFileInfoView .icon {
	display: inline-block;
}

#app-sidebar .mainFileInfoView .permalink {
	margin-left: 10px;
	opacity: .5;
}
#app-sidebar .mainFileInfoView .permalink-field>input {
	clear: both;
	width: 90%;
}

#app-sidebar .file-details-container {
	display: inline-block;
	float: left;
}

#app-sidebar .thumbnailContainer.large {
	margin-left: -15px;
	margin-right: -35px; /* 15 + 20 for the close button */
	margin-top: -15px;
}

#app-sidebar .thumbnailContainer.large.portrait {
	margin: 0; /* if we don't fit the image anyway we give it back the margin */
}

#app-sidebar .large .thumbnail {
	width:100%;
	display:block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	float: none;
	margin: 0;
	height: auto;
}

#app-sidebar .large .thumbnail .stretcher {
	content: '';
	display: block;
	padding-bottom: 56.25%; /* sets height of .thumbnail to 9/16 of the width */
}

#app-sidebar .large.portrait .thumbnail {
	background-position: 50% top;
}

#app-sidebar .large.portrait .thumbnail {
	background-size: contain;
}

#app-sidebar .large.text {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-top: 15px;
	font-size: 80%;
	margin-left: 0;
}

#app-sidebar .thumbnail {
	width: 75px;
	height: 75px;
	display: inline-block;
	float: left;
	margin-right: 10px;
	background-size: 75px;
}

#app-sidebar .ellipsis {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

#app-sidebar .fileName {
	font-size: 16px;
	padding-top: 13px;
	padding-bottom: 3px;
}

#app-sidebar .fileName h3 {
	max-width: 300px;
	display: inline-block;
	padding: 5px 0;
	margin: -5px 0;
}

#app-sidebar .file-details {
	color: #999;
}

#app-sidebar .file-details img {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	opacity: .5;
}

#app-sidebar .file-details img:hover,
#app-sidebar .file-details img:focus{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
}

#app-sidebar .action-favorite {
	vertical-align: text-bottom;
	padding: 10px;
	margin: -10px;
}

#app-sidebar .detailList {
	float: left;
}

#app-sidebar .close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 15px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	opacity: .5;
}