Skip to content

Commit 4f1b269

Browse files
committed
minor style fixes to the app menu
1 parent 460ea18 commit 4f1b269

File tree

5 files changed

+28
-7
lines changed

5 files changed

+28
-7
lines changed

client/views/SSSpaceMenu/SSSpaceMenu.css

+7-6
Original file line numberDiff line numberDiff line change
@@ -129,28 +129,28 @@ ul#SpaceMenuList li > img, ul#SpaceMenuList li > span
129129
{
130130
float: left;
131131
margin-left: 6px;
132-
margin-top: 6px;
132+
margin-top: 0px;
133133
}
134134

135-
ul#SpaceMenuList li > span.name h3{
136-
margin: 3px 0 0;
135+
ul#SpaceMenuList li > span h3.name{
136+
margin: 1px 0 -8px;
137137
color: #464540;
138138
font-family: Georgia, Serif;
139139
font-size: 20px;
140140
font-weight: normal;
141141
}
142142

143-
ul#SpaceMenuList li:hover > span.name h3{
143+
ul#SpaceMenuList li:hover > span h3.name{
144144
color: #f63b02;
145145
}
146146

147-
ul#SpaceMenuList li > span.icon {
147+
ul#SpaceMenuList li > span.iconFrame {
148148
border:1px solid #DDDDDD;
149149
margin:13px 7px 7px 12px;
150150
padding:7px;
151151
}
152152

153-
ul#SpaceMenuList li:hover > span.icon {
153+
ul#SpaceMenuList li:hover > span.iconFrame {
154154
background: #fff;
155155
}
156156

@@ -161,6 +161,7 @@ ul#SpaceMenuList li > span.space-vid
161161
margin-right: 10px;
162162
width: 25px; height: 48px;
163163
display: block;
164+
margin-top:6px;
164165
}
165166

166167
ul#SpaceMenuList li:hover > span.handle{

client/views/SSSpaceMenu/SSSpaceMenu.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h3>Shift this page:</h3>
2424
properties: ['name', 'icon', 'action'],
2525
}"
2626
outlet="SpaceMenu">
27-
<span>
27+
<span class="iconFrame">
2828
<img class="icon"></img>
2929
</span>
3030
<span>

images/Console/shiftActions.png

1.8 KB
Loading

sandbox/favicon.png

1.33 KB
Loading

styles/SSGlobalStyles.css

+20
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,26 @@ ul.ShiftListView li.ShiftListViewCell input.SSInputField
270270
width: 60px;
271271
}
272272

273+
/* Uncomment this to allow the wide options only for the user's shifts: */
274+
/*
275+
.ShiftListView li.ShiftListViewCell:hover .shiftActions{
276+
width: 30px;
277+
}
278+
279+
.ShiftListView li.ShiftListViewCell.authorShift:hover .shiftActions{
280+
width: 60px;
281+
}
282+
283+
.ShiftListView li.ShiftListViewCell .shiftActions .shiftActionEdit{
284+
display:none;
285+
}
286+
287+
.ShiftListView li.ShiftListViewCell.authorShift .shiftActions .shiftActionEdit{
288+
display:block;
289+
}
290+
291+
*/
292+
273293
.ShiftListView li.ShiftListViewCell .shiftActions *{
274294
display: none;
275295
float: left;

0 commit comments

Comments
 (0)