Blame view

sources/core/css/share.css 2.23 KB
03e52840d   Kload   Init
1
2
3
  /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
   This file is licensed under the Affero General Public License version 3 or later.
   See the COPYING-README file. */
31b7f2792   Kload   Upgrade to ownclo...
4
5
6
7
8
9
  #dropdown {
  	background:#eee;
  	border-bottom-left-radius: 5px;
  	border-bottom-right-radius: 5px;
  	box-shadow:0 1px 1px #777;
  	display:block;
6d9380f96   Cédric Dupont   Update sources OC...
10
  	margin-right: 0;
31b7f2792   Kload   Upgrade to ownclo...
11
12
  	position:absolute;
  	right:0;
6d9380f96   Cédric Dupont   Update sources OC...
13
  	width:420px;
31b7f2792   Kload   Upgrade to ownclo...
14
  	z-index:500;
6d9380f96   Cédric Dupont   Update sources OC...
15
  	padding:16px;
31b7f2792   Kload   Upgrade to ownclo...
16
17
18
19
  }
  
  #shareWithList {
  	list-style-type:none;
6d9380f96   Cédric Dupont   Update sources OC...
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
  	padding:8px;
  }
  
  #shareWithList li {
  	padding-top: 10px;
  	padding-bottom: 10px;
  	font-weight: bold;
  	line-height: 21px;
  	white-space: normal;
  }
  
  #shareWithList .unshare img, #shareWithList .showCruds img {
  	vertical-align:text-bottom; /* properly align icons */
  }
  
  #shareWithList label input[type=checkbox]{
  	margin-left: 0;
  	top: 3px;
  	position: relative;
  }
  #shareWithList .username{
  	padding-right: 8px;
  	white-space: nowrap;
  	text-overflow: ellipsis;
  	max-width: 254px;
  	display: inline-block;
  	overflow: hidden;
  	vertical-align: middle;
  }
  #shareWithList li label{
  	margin-right: 8px;
  }
31b7f2792   Kload   Upgrade to ownclo...
52
53
54
55
56
57
  #dropdown label {
  	font-weight:400;
  	white-space: nowrap;
  }
  
  #dropdown input[type="checkbox"] {
6d9380f96   Cédric Dupont   Update sources OC...
58
  	margin:0 3px 0 8px;
31b7f2792   Kload   Upgrade to ownclo...
59
60
61
62
63
64
65
66
67
68
69
  }
  
  a.showCruds {
  	display:inline;
  	opacity:.5;
  }
  
  a.unshare {
  	display:inline;
  	float:right;
  	opacity:.5;
6d9380f96   Cédric Dupont   Update sources OC...
70
  	padding:5px 0 0 5px !important;
03e52840d   Kload   Init
71
  	margin-top:-5px;
31b7f2792   Kload   Upgrade to ownclo...
72
  }
03e52840d   Kload   Init
73

31b7f2792   Kload   Upgrade to ownclo...
74
75
  #link {
  	border-top:1px solid #ddd;
6d9380f96   Cédric Dupont   Update sources OC...
76
  	padding-top:8px;
31b7f2792   Kload   Upgrade to ownclo...
77
  }
03e52840d   Kload   Init
78
79
  
  #dropdown input[type="text"],#dropdown input[type="password"] {
31b7f2792   Kload   Upgrade to ownclo...
80
  	width:90%;
03e52840d   Kload   Init
81
82
83
  }
  
  #dropdown form {
31b7f2792   Kload   Upgrade to ownclo...
84
85
86
  	font-size: 100%;
  	margin-left: 0;
  	margin-right: 0;
03e52840d   Kload   Init
87
88
89
  }
  
  #linkText,#linkPass,#expiration {
31b7f2792   Kload   Upgrade to ownclo...
90
91
  	display:none;
  }
03e52840d   Kload   Init
92

31b7f2792   Kload   Upgrade to ownclo...
93
  #link #showPassword img {
6d9380f96   Cédric Dupont   Update sources OC...
94
  	padding-left:5px;
31b7f2792   Kload   Upgrade to ownclo...
95
96
  	width:12px;
  }
03e52840d   Kload   Init
97

31b7f2792   Kload   Upgrade to ownclo...
98
  .reshare,#link label,#expiration label {
6d9380f96   Cédric Dupont   Update sources OC...
99
  	padding-left:8px;
31b7f2792   Kload   Upgrade to ownclo...
100
  }
03e52840d   Kload   Init
101

31b7f2792   Kload   Upgrade to ownclo...
102
103
104
  a.showCruds:hover,a.unshare:hover {
  	opacity:1;
  }
03e52840d   Kload   Init
105

6d9380f96   Cédric Dupont   Update sources OC...
106
  #defaultExpireMessage, /* fix expire message going out of box */
31b7f2792   Kload   Upgrade to ownclo...
107
108
109
  .reshare { /* fix shared by text going out of box */
  	white-space:normal;
  }
03e52840d   Kload   Init
110

6d9380f96   Cédric Dupont   Update sources OC...
111
112
113
114
115
116
  #defaultExpireMessage { /* show message on new line */
  	display: block;
  	padding-left: 4px;
  	/* TODO: style the dropdown in a proper way - border-box, etc. */
  	width: 90%;
  }
03e52840d   Kload   Init
117
118
119
120
121
  .ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
  	max-height:103px;
  	overflow-y:auto;
  	overflow-x:hidden;
  }
31b7f2792   Kload   Upgrade to ownclo...
122
123
124
125
126
127
  
  .notCreatable {
  	padding-left: 12px;
  	padding-top: 12px;
  	color: #999;
  }