Project

General

Profile

Defect #29007 » redmine_favorite_projects.css

howie.woo woo, 2018-06-12 02:42

 
1
    div.row {
2
       padding-left: 20px;
3
      padding-top: 20px;
4
    }
5
    div.row::after {
6
      content: ".";
7
      display: block;
8
      height: 0;
9
      clear: both;
10
      visibility: hidden;
11

    
12
    }
13

    
14

    
15
/**************************************************************/
16
/*                           Cards                            */
17
/**************************************************************/
18

    
19
    div.project_card {
20
      width: 234px;
21
      height: 180px;
22
      float: left;
23
      margin: 0 20px 20px 0;
24
      position: relative;
25
      text-align: left;
26
      background: #fff;
27
      padding: 15px;
28
      text-rendering: optimizeLegibility;
29
      text-shadow: none;
30
      border: solid 1px #D7D7D7;
31
    }
32

    
33
    div.project_card:hover{
34
      background-color: #f8f8f8;
35
    }
36

    
37
    div.project_card div.title{
38
      width: 234px;
39
      white-space: nowrap;
40
      overflow: hidden;
41
      text-overflow: ellipsis;
42
      border-bottom: 1px dotted #bbb;
43
    }
44

    
45
    div.project_card div.title h4{
46
      display:inline;
47
      border-bottom: 0;
48
    }
49

    
50
    div.project_card div.title h4 a{
51
      color: #555;
52
    }
53

    
54
    div.project_card::last {
55
      margin-right: 0px;
56
    }
57

    
58
    div.row a {
59
      text-decoration: none;
60
      color: #B1B1B1;
61
    }
62

    
63
    div.project_card img.gravatar {
64
      height: 32px;
65
      width: 32px;
66
    }
67

    
68
    div.project_card .parent{
69
      cursor: pointer;
70
    }
71

    
72
    div.project_card .parent > h4 {
73
      position: relative;
74
      float: left;
75
      width: 220px;
76
      margin: 0;
77
      white-space: nowrap;
78
      overflow: hidden;
79
      padding: 0px;
80
      color: #999;
81
      text-overflow: ellipsis;
82
      border-bottom: 0;
83
      margin: 0;
84
    }
85

    
86
    div.project_card .parent div:last-child {
87
      position: relative;
88
      color: #999;
89
      float: left;
90
      width: 10px
91
    }
92

    
93
    div.project_card .description {
94
      position: relative;
95
      width: 234px;
96
      color: #999;
97
      overflow: hidden;
98
      text-overflow: ellipsis;
99
      display: -webkit-box;
100
      -webkit-box-orient: vertical;
101
      -webkit-line-clamp: 3; /* number of lines to show */
102
      line-height: 14px;
103
      max-height: 42px;
104
    }
105

    
106
    div.project_card .description p {
107
      margin: 0px;
108
    }
109

    
110
    div.project_card div.tags{
111
      position: relative;
112
      width: 234px;
113
      margin-top: 10px;
114
      overflow: hidden;
115
      display: -webkit-box;
116
      -webkit-box-orient: vertical;
117
      -webkit-line-clamp: 2;
118
      line-height: 14px;
119
      max-height: 44px;
120
    }
121

    
122
    div.project_card div.tags span.tag-label-color{
123
      border: 1px solid rgba(0, 0, 0, 0.2);
124
      border-radius: 3px;
125
      padding: 2px 4px;
126
      display: inline-block;
127
      font-size: 10px;
128
      margin: 1px 1px;
129
    }
130

    
131
    div.project_card .people {
132
      position: absolute;
133
      bottom: 5px;
134
      overflow: hidden;
135
      white-space: nowrap;
136
      width: 234px;
137
    }
138

    
139

    
140
/**************************************************************/
141
/*                            TAGS                            */
142
/**************************************************************/
143

    
144
.tag_list {
145
  margin-top: 5px;
146
  display: inline-block;
147
}
148

    
149
span.tag-label-color {
150
  background-color: #759FCF;
151
  border: 1px solid rgba(0, 0, 0, 0.2);
152
  border-radius: 3px;
153
  padding: 2px 4px;
154
  display: inline-block;
155
  font-size: 10px;
156
  margin: 0px 0px 5px 2px;
157
}
158

    
159
span.tag-label-color:hover {
160
  background-color: #9DB9D5;
161
}
162

    
163
span.tag-label-color a, span.tag-label-color > span {
164
  text-decoration: none;
165
  font-family: Verdana, sans-serif;
166
  font-weight: normal;
167
  color: white;
168
}
169

    
170
#edit_tags_form.box {
171
  margin: 1px 5px 0px 0px;
172
}
173

    
174
#edit_tags_form.box label {
175
  margin-right: 5px;
176
  font-weight: bold;
177
}
178

    
179
#edit_tags_form.box #person_tags {
180
  margin-bottom: 10px;
181
}
182

    
183
div#tags_data span.contextual {float: none; padding-left: 0px;}
184

    
185
span.tag-label, span.tag-input {
186
  display: inline-block;
187
}
188

    
189

    
190
#responsible_user ul {margin: 0;  padding: 0;}
191
#responsible_user li {list-style-type:none; margin: 3px 2px 0px 0px; padding: 0px 0px 0px 0px;}
192
#responsible_user select {width: 95%; display: block;}
193
#responsible_user a.delete {opacity: 0.4;}
194
#responsible_user a.delete:hover {opacity: 1;}
195
#responsible_user img.gravatar {
196
  vertical-align: middle;margin: 0 4px 2px 0;
197
}
198

    
199
#edit_tags_form .favorite-project-tags-edit  ul.tagit {
200
  padding: 5px;
201
  margin: 2px;
202
}
203

    
204
/* Edit tags Tag-it*/
205

    
206
.favorite-project-tags-edit  ul.tagit {
207
  border: 1px solid #d7d7d7;
208
  -moz-border-radius: 0px;
209
  -webkit-border-radius: 0px;
210
  -khtml-border-radius: 0px;
211
  border-radius: 0px;
212
  background: white;
213
  padding: 0px;
214
  margin: 0px;
215
  line-height: 1.5em;
216
}
217

    
218
.favorite-project-tags-edit  ul.tagit li.tagit-choice {
219
  font-weight: normal;
220
  -moz-border-radius: 0px;
221
  border-radius: 0px;
222
  -webkit-border-radius: 0px;
223
  font-size: 11px;
224
  color: inherit;
225
  padding-top: 0px;
226
  padding-bottom: 0px;
227
  background-color: #f7f7f7;
228
  margin: 1px;
229
}
230

    
231
.favorite-project-tags-edit  ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove {
232
  background-color: #e5e5e5;
233
  text-decoration: none;
234
  color: black;
235
}
236

    
237
.favorite-project-tags-edit  ul.tagit li.tagit-choice a.tagit-close {
238
  text-decoration: none;
239
}
240

    
241
.favorite-project-tags-edit  ul.tagit li.tagit-choice .tagit-close {
242
  right: .4em;
243
}
244

    
245
.favorite-project-tags-edit  ul.tagit li.tagit-choice .ui-icon {
246
  display: none;
247
}
248

    
249
.favorite-project-tags-edit  ul.tagit li.tagit-choice .tagit-close .text-icon{
250
  display: inline;
251
}
252

    
253
.favorite-project-tags-edit  ul.tagit li.tagit-choice .tagit-close .text-icon:hover {
254
  color: black;
255
}
256

    
257
.favorite-project-tags-edit  ul.tagit li.tagit-new input {
258
  font-size: 11px;
259
  background: white;
260
  margin-bottom: 2px;
261
  margin-left: 2px;
262
}
263

    
264
.favorite-project-tags-edit  ul.tagit li.tagit-new {
265
  padding: 0px;
266
}
267

    
268
#favorite_projects_box label {
269
  width: auto;
270
  cursor: default;
271
  padding: 0;
272
  margin: 0;
273
  font-weight: normal;
274
}
(3-3/4)