Skip to content

Commit

Permalink
add opacity to media page
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeaux committed Sep 17, 2020
1 parent 545664b commit d43e1c5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions views/layoutPartials/header.pug
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ style.
img(src="/images/white-burger.jpg" style="width:52px;display:inline-block;" onclick='toggleNav()')

a(href="/" style="position:absolute;left:99px;top:15px;")
p.fullTitle(style="text-transform:uppercase;display:inline-block;color:#0093ff;font-size:25px;font-weight:900;") #{brandName}
p.singleLetter(style="text-transform:uppercase;color:#0093ff;") #{brandName}
p.fullTitle(style="text-transform:uppercase;display:inline-block;color:#acc5ff;font-size:25px;font-weight:900;") #{brandName}
p.singleLetter(style="text-transform:uppercase;color:#acc5ff;") #{brandName}

div.searchPlaceHolder(style="height:56px;display:inline-block;display:none;")
a(href="#")
Expand Down
14 changes: 7 additions & 7 deletions views/media.pug
Original file line number Diff line number Diff line change
Expand Up @@ -363,35 +363,35 @@ block content
if upload.uploader.customThumbnail
a(href=`/user/${upload.uploader.channelUrl}`)

img(src=`${uploadServer}/${upload.uploader.channelUrl}/${upload.uploader.customThumbnail}` style="border-radius:13px;width:110px;height:110px;")
img(src=`${uploadServer}/${upload.uploader.channelUrl}/${upload.uploader.customThumbnail}` style="opacity:0.75;border-radius:13px;width:110px;height:110px;")
br
br
else if upload.uploader.thumbnailUrl
a(href=`/user/${upload.uploader.channelUrl}`)

img(src=`${uploadServer}/${upload.uploader._id}/unique.png` style="border-radius:13px;width:110px;height:110px;")
img(src=`${uploadServer}/${upload.uploader._id}/unique.png` style="opacity:0.75;border-radius:13px;width:110px;height:110px;")
br
br
else
a(href=`/user/${upload.uploader.channelUrl}`)

img(src=`/images/default_user_image.png` style="border-radius:13px;width:110px;height:110px;")
img(src=`/images/default_user_image.png` style="opacity:0.75;border-radius:13px;width:110px;height:110px;")
br
br

a(href=`/user/${upload.uploader.channelUrl}` style="color:#a5a5a5;font-weight:300") #{upload.uploader.channelName || upload.uploader.channelUrl}
if upload.uploader.verified == true
img(src="/images/verified.jpg" width="25px" height="25px" style="margin-left:3px;margin-top:-2px;margin-right:5px;")
img(src="/images/verified.jpg" width="25px" height="25px" style="opacity:0.75;margin-left:3px;margin-top:-2px;margin-right:5px;")
if upload.uploader.plan == 'plus'
span.nodetube-pro PLUS



if upload.visibility != 'pending'
if alreadySubbed
button.subscribe.btn.fw.btn-danger(style="border-radius:4px") Unsubscribe (#{subscriberAmount})
button.subscribe.btn.fw.btn-danger(style="border-radius:4px;opacity:0.75;") Unsubscribe (#{subscriberAmount})
else
button.subscribe.btn.fw.btn-success(style="border-radius:4px") Subscribe (#{subscriberAmount})
button.subscribe.btn.fw.btn-success(style="border-radius:4px;opacity:0.75;") Subscribe (#{subscriberAmount})
br
br

Expand Down Expand Up @@ -521,7 +521,7 @@ block content
// edit button
if ( user && user.channelUrl == upload.uploader.channelUrl ) || ( user && user.role == 'admin' )
a(href=`/user/${upload.uploader.channelUrl}/${upload.uniqueTag}/edit`)
button.fw.btn.btn-success(style="margin-bottom:-10px;border-radius:5px;") Edit
button.fw.btn.btn-success(style="margin-bottom:-10px;border-radius:5px;opacity:0.5;") Edit


br
Expand Down

0 comments on commit d43e1c5

Please sign in to comment.