Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(51)

Side by Side Diff: lib/views/stylesheet.less

Issue 6736051: Implement ambiguous relation menu for adding rels
Patch Set: Created 12 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Processed with LESS from lib/views/stylesheet.less */ 1 /* Processed with LESS from lib/views/stylesheet.less */
2 2
3 @font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif; 3 @font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
4 4
5 body { 5 body {
6 margin-top: 87px; 6 margin-top: 87px;
7 background-color: #302b28; 7 background-color: #302b28;
8 font-family: @font-family; 8 font-family: @font-family;
9 } 9 }
10 10
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 .crosshatch-background { 136 .crosshatch-background {
137 background: url(/juju-ui/assets/images/pattern_tile.png) repeat; 137 background: url(/juju-ui/assets/images/pattern_tile.png) repeat;
138 } 138 }
139 139
140 #canvas { 140 #canvas {
141 position: relative; 141 position: relative;
142 } 142 }
143 143
144 144
145 #service-menu { 145 #service-menu, #ambiguous-relation-menu {
thiago 2012/10/19 18:09:29 You could remove the id and use both classes in yo
matthew.scott 2012/10/19 19:16:58 Done. Both #service-menu and #ambiguous-relation-
146 @border_radius: 20px; 146 @border_radius: 20px;
147 @background_color: #282421; 147 @background_color: #282421;
148 148
149 display: none; 149 display: none;
150 background-color: @background_color; 150 background-color: @background_color;
151 color: #fdf6e3; 151 color: #fdf6e3;
152 152
153 border-radius: @border_radius; 153 border-radius: @border_radius;
154 -moz-border-radius: @border_radius; 154 -moz-border-radius: @border_radius;
155 -webkit-border-radius: @border_radius; 155 -webkit-border-radius: @border_radius;
156 156
157 box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5); 157 box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);
158 -moz-box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5); 158 -moz-box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);
159 -webkit-box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5); 159 -webkit-box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);
160 160
161 top: 0; 161 top: 0;
162 left: 0; 162 left: 0;
163 position: absolute; 163 position: absolute;
164 164
165 &.active { 165 &.active {
166 display: block; 166 display: block;
167 } 167 }
168 168
169 #service-menu-triangle { 169 .triangle {
170 position: absolute; 170 position: absolute;
171 top: 62px; 171 top: 62px;
172 left: -12px; 172 left: -12px;
173 width: 12px; 173 width: 12px;
174 line-height: 21px; 174 line-height: 21px;
175 background-image: url(/juju-ui/assets/images/icons/icon_shadow_triangle. png); 175 background-image: url(/juju-ui/assets/images/icons/icon_shadow_triangle. png);
176 background-repeat: no-repeat; 176 background-repeat: no-repeat;
177 } 177 }
178 178
179 ul { 179 ul {
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 text-align: left; 1013 text-align: left;
1014 background-color: white; 1014 background-color: white;
1015 border: solid 1px black; 1015 border: solid 1px black;
1016 padding: 0.2em 0.5em 0.3em; 1016 padding: 0.2em 0.5em 0.3em;
1017 -webkit-border-radius: 3px; 1017 -webkit-border-radius: 3px;
1018 -moz-border-radius: 3px; 1018 -moz-border-radius: 3px;
1019 border-radius: 3px; 1019 border-radius: 3px;
1020 min-width: 20px; 1020 min-width: 20px;
1021 max-width: 400px; 1021 max-width: 400px;
1022 } 1022 }
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b