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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
// Copyright (c) 2010-2011, Diaspora Inc. This file is
// licensed under the Affero General Public License version 3 or later. See
// the COPYRIGHT file.
@import '_mixins.css.scss'
$button-border-color: #aaa
.ui-autocomplete
:left -11px
.button
@include border-radius(3px)
@include button-gradient($light-grey)
@include box-shadow(0,1px,1px,#cfcfcf)
@include transition(border)
:display inline
:font
:style normal
:size 12px
:color #505050
:padding 4px 9px
:min-width 90px
:min-height 10px
:border 1px solid $button-border-color
:cursor pointer
:white-space nowrap
&:hover
@include button-gradient-hover-no-saturation($light-grey)
:color #505050
:text-decoration none
:border 1px solid darken($button-border-color,15%)
&:active
@include linear-gradient(#acacac,#808080)
img
:position relative
:height 20px
:width 20px
:top 6px
/* fix for input height */
input.button
:padding 3px 9px
:bottom 4px
.button .selected
@include linear-gradient(#f0f0f0,#fafafa,29%,85%)
:border
:top 1px solid #aaa
.button
&.delete
:color desaturate($red,10%)
&.in_aspects
@include button-gradient($green)
&:hover
@include button-gradient-hover($green)
&.creation
@include button-gradient($creation-blue)
:color #fff
:border 1px solid darken($button-border-color,20%)
&:hover
@include button-gradient-hover($creation-blue)
:border 1px solid darken($button-border-color,35%)
&.red_on_hover
&:hover
@include button-gradient(#F74427)
:color #222
.right
:position absolute
:right 0
.dropdown
:position relative
:display inline-block
.button
:width 240px
.wrapper
@include box-shadow(0, 2px, 5px, #666)
//@include opacity(0)
@include transition(opacity)
:display none
:z-index 20
:position absolute
:width 140px
:padding 4px 0
:margin-top 2px
:background
:color #fff
:border 1px solid #999
ul
@include user-select(none)
:font
:size normal
:padding 0 !important
:margin 0 !important
:color #000
> li
:font-size 11px !important
:padding 3px 2px
:left 24px
:position relative
:color #222
:list-style none
&.selected
:background
:image image-url('icons/check_yes_ok.png')
:position 3px 1px
:repeat no-repeat
&.selected:hover
:background
:image image-url('icons/check_yes_ok_white.png')
/* bump top position up 1px to compensate for the 1px added top border */
:position 3px 0px
&.loading
:background
:image image-url('ajax-loader.gif')
:repeat no-repeat
:position 4px 2px
&.loading:hover
:background
:image image-url('ajax-loader_inverted.gif')
/* bump top position up 1px to compensate for the 1px added top border */
:position 4px 1px
&.newItem
a
:color #999
:font-style italic
&:hover
:text-decoration none
&.hang_right
.wrapper
@include border-radius(3px, 0, 3px, 3px)
:right 3px
&.hang_left
.wrapper
@include border-radius(0, 3px, 3px, 3px)
:left 0px
.selected
:font-weight bold
&.active
.wrapper
//@include opacity(1)
:display block
.button
@include border-radius(3px, 3px, 0, 0)
:border 1px solid #444
.button
:background #666
.button,
.wrapper ul > li:hover
:background
:color #666
:color #fff
:text-shadow none
.wrapper ul > li:hover
:border
:top 1px solid #444
:bottom 1px solid #444
:padding
:top 2px
:bottom 2px
&.divider
:padding
:bottom 3px
a
:color #ccc
.wrapper ul > li,
.wrapper ul > li *
:cursor pointer
|