Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 47 additions & 1 deletion Themes/blur/blur.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ body {
}

.l-header-container--refresh {
background-color: rgba(50,53,60,0.67);
/* old pre-blur color -- background-color: rgba(50,53,60,0.67); */
background-color: rgba(100, 117, 154, 0.19);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}

.selected .tab_notice {
Expand Down Expand Up @@ -120,3 +123,46 @@ body {
.rapid-recs-container .rapid-recs {
background-image: linear-gradient(to bottom,rgba(68, 76, 88, 0)0%,rgba(44, 47, 51, 0.18) 15%,rgba(44, 47, 51, 0.18) 85%,rgba(68, 76, 88, 0)100%);
}

.post_avatar {
background-color: rgba(44, 47, 51, 0.18);
}

.post_avatar .post_avatar_link {
background-color: rgba(44, 47, 51, 0.18);
}

/* Change Reblog Post background overlay to black. */
.post-forms-glass {
background-color: rgba(26, 29, 33, 0.86);
}

/* Add light drop-shadow to avatars */
.post_avatar.post-avatar--sticky .post_avatar_wrapper {
box-shadow: 0px 2px 3px rgba(0,0,0,0.15);
}

/* Dog-ear transparency code by https://motackt.tumblr.com, thanks for the help! */
/*when hovering over post, use gradient to cut away upper-right corner.*/
.post.post_full:hover {
background: linear-gradient(225deg, transparent 0%, transparent 12px, #FFF 12px, #FFF 100%);
}

/*otherwise, use gradient to show the whole post container (this will be more useful when transitions are available for linear gradients*/
/*and ofc make sure new post buttons never dog ear*/
.post.post_full, .new_post_buttons_container {
background: linear-gradient(225deg, #FFF 0%, #FFF 12px, #FFF 12px, #FFF 100%);
}

/*remove transition when going to hover over post too*/
.post_full:hover .post_permalink {
transition: unset;
}

/*remove the dark blue border + bg-color of the dog-ear, and remove transition when post stops being hovered over, because linear gradients don't have transitions yet*/
.post_full .post_permalink {
border-color: transparent transparent #d0d0d0 #d0d0d0;
background: transparent;
transition: unset;
}
/* End dog-ear transparency code */