Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix wrong css class usage in picasa and youtube album cover

  • Loading branch information...
commit ee995ae5d91f71965075449f70a8b369e3c77e3c 1 parent e019dea
@ido-ran authored
View
6 apps/tag_nav/resources/admin_login_page.js
@@ -32,7 +32,7 @@ TagNav.adminLoginPage = SC.Page.design({
childViews: 'userLabel userText passLabel passText loginButton'.w(),
userLabel: SC.LabelView.design({
- layout: { left: 0, width: 100, height: 30, top: 50 },
+ layout: { left: 10, width: 100, height: 30, top: 55 },
value: 'Username'
}),
@@ -42,8 +42,8 @@ TagNav.adminLoginPage = SC.Page.design({
}),
passLabel: SC.LabelView.design({
- layout: { left: 0, width: 100, height: 30, top: 100 },
- value: 'Username'
+ layout: { left: 10, width: 100, height: 30, top: 105 },
+ value: 'Password'
}),
passText: SC.TextFieldView.design({
View
4 apps/tag_nav/resources/style.css
@@ -52,14 +52,14 @@ textarea.field {
line-height:8em;
}
-.sc-view.media-title {
+.media-title {
color: white;
background: rgba(0,0,0, 0.6);
text-overflow:ellipsis;
overflow: hidden;
}
-.selected .sc-view.media-title {
+.selected .media-title {
color: white;
background: rgba(0,0,255, 0.6);
}
View
4 apps/tag_nav/views/picasa_album_cover_list_item.js
@@ -56,6 +56,7 @@ TagNav.PicasaAlbumCoverListItemView = SC.View.extend(SC.ContentDisplay,
var titleView = this.createChildView(
SC.View.extend({
+ classNames: 'media-title'.w(),
layout: { bottom: 0, centerX: 0, width: 200, height: 40 },
childViews: 'lbl'.w(),
lbl: SC.LabelView.design({
@@ -67,9 +68,6 @@ TagNav.PicasaAlbumCoverListItemView = SC.View.extend(SC.ContentDisplay,
})
);
- if (-1 == titleView.classNames.indexOf('media-title')) {
- titleView.classNames.push('media-title');
- }
childViews.push(titleView);
var picasaLogoView = this.createChildView(
View
4 apps/tag_nav/views/you_tube_cover_list_item.js
@@ -42,6 +42,7 @@ TagNav.YouTubeCoverListItemView = SC.View.extend(SC.ContentDisplay,
var titleView = this.createChildView(
SC.View.extend({
+ classNames: 'media-title'.w(),
layout: { bottom: 0, centerX: 0, width: 200, height: 40 },
childViews: 'lbl'.w(),
lbl: SC.LabelView.design({
@@ -53,9 +54,6 @@ TagNav.YouTubeCoverListItemView = SC.View.extend(SC.ContentDisplay,
})
);
- if (-1 == titleView.classNames.indexOf('media-title')) {
- titleView.classNames.push('media-title');
- }
childViews.push(titleView);
var picasaLogoView = this.createChildView(
Please sign in to comment.
Something went wrong with that request. Please try again.