467 lines
9.5 KiB
CSS
467 lines
9.5 KiB
CSS
#icon-preview {
|
|
margin: auto 20px;
|
|
}
|
|
|
|
.Reactions {
|
|
position: relative;
|
|
font-size: 11px;
|
|
line-height: 18px;
|
|
}
|
|
.Reactions .Handle {
|
|
display: inline-block;
|
|
opacity: .3;
|
|
}
|
|
.React {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
.ReactHeading {
|
|
display: inline-block;
|
|
padding: 0px 6px;
|
|
background: rgba(0,0,0,0.04);
|
|
color: rgba(0,0,0,0.4);
|
|
}
|
|
.Flag .ReactHeading {
|
|
border-radius: 4px 0 0 4px;
|
|
}
|
|
.React .ReactHeading {
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
.Item:hover .ReactHeading {
|
|
background: rgba(0,0,0,0.8);
|
|
color: #fff;
|
|
}
|
|
.ReactButton {
|
|
display: inline-block;
|
|
margin: 0 5px;
|
|
line-height: 18px;
|
|
vertical-align: top;
|
|
position: relative;
|
|
}
|
|
.Flyout .ReactButton {
|
|
margin: 0;
|
|
}
|
|
|
|
.UserReactionWrap {
|
|
position: relative;
|
|
line-height: 1;
|
|
display: inline-block;
|
|
margin-right: 3px;
|
|
}
|
|
.UserReactionWrap .ReactSprite {
|
|
position: absolute;
|
|
right: -2px;
|
|
bottom: -2px;
|
|
}
|
|
/* Hover Mechanics */
|
|
.Reactions .Count {
|
|
border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
-webkit-border-radius: 6px;
|
|
vertical-align: top;
|
|
background: #494949;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
}
|
|
.ToggleFlyout.Open .ReactButton {
|
|
opacity: 1 !important;
|
|
}
|
|
.Item:hover .Reactions .Handle {
|
|
opacity: .75;
|
|
}
|
|
.Reactions .ReactHandle {
|
|
display: none;
|
|
}
|
|
.Item:hover .Reactions a {
|
|
width: inherit;
|
|
}
|
|
.Reactions a.HasCount {
|
|
display: inline-block;
|
|
}
|
|
.InProgress .ReactSprite {
|
|
background-image: none !Important;
|
|
background: transparent !Important;
|
|
}
|
|
.InProgress .Count {
|
|
visibility: hidden;
|
|
}
|
|
.FilterButton.Selected {
|
|
font-weight: bold;
|
|
}
|
|
.DataCounts {
|
|
margin: 5px 0;
|
|
text-align: center;
|
|
}
|
|
/*.DataCounts a {
|
|
color: #000;
|
|
}
|
|
.DataCounts a:hover {
|
|
color: #ff0084;
|
|
}*/
|
|
.CountTotal {
|
|
display: block;
|
|
line-height: 100%;
|
|
font-size: 28px;
|
|
}
|
|
.CountTotal img {
|
|
height: 40px;
|
|
}
|
|
.CountItemWrap {
|
|
width: 10%;
|
|
display: inline-block;
|
|
}
|
|
.CountItem {
|
|
display: block;
|
|
text-align: center;
|
|
border: solid 2px transparent;
|
|
padding: 4px;
|
|
margin: 0 4px;
|
|
border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
-webkit-border-radius: 4px;
|
|
white-space: nowrap;
|
|
overflow: visible;
|
|
}
|
|
.Compact .Item .Author img {
|
|
height: 24px;
|
|
width: 24px;
|
|
}
|
|
.Compact .Author .PhotoWrap {
|
|
margin: 0 8px 4px 0;
|
|
}
|
|
.Compact .Title {
|
|
font-sixe: 13px;
|
|
}
|
|
.Compact .Reactions {
|
|
margin-top: 5px;
|
|
}
|
|
.Compact p {
|
|
margin: 5px 0;
|
|
}
|
|
.CountItem.Selected {
|
|
background: rgba(55, 173, 227, 0.1);
|
|
border: solid 2px rgba(55, 173, 227, .2);
|
|
padding: 4px
|
|
}
|
|
li.Buried {
|
|
padding: 2px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
cursor: pointer;
|
|
}
|
|
.Buried, .Buried a {
|
|
color: #aaa;
|
|
font-size: 12px;
|
|
}
|
|
.Buried .Author .ProfilePhoto {
|
|
height: 21px;
|
|
width: 21px;
|
|
margin: 0 3px 0 0;
|
|
opacity: .4;
|
|
}
|
|
.Buried .Reactions {
|
|
display: none;
|
|
}
|
|
li.Buried * {
|
|
display: inline;
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
.Buried br {
|
|
display: none;
|
|
}
|
|
.Buried .Item-BodyWrap,
|
|
.Buried .Options,
|
|
.Buried .Signature,
|
|
.Buried .RecordReactions {
|
|
display: none;
|
|
}
|
|
li.Buried:hover:before {
|
|
content: "Post is buried, click here to show the rest.";
|
|
display: block;
|
|
position: absolute;
|
|
background: rgba(0,0,0,.75);
|
|
color: #fff;
|
|
text-shadow: 0 1px 1px #000;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
line-height: 40px; /* approx, could cause problems */
|
|
}
|
|
/*.Promoted {
|
|
box-shadow: inset 0 80px 600px #fffcdc;
|
|
border-top: solid 1px #fff;
|
|
}
|
|
.Promoted .Message {
|
|
font-size: 110%;
|
|
}
|
|
.Promoted .Author .ProfilePhotoMedium {
|
|
box-shadow: 0px -1px 8px #fff;
|
|
}*/
|
|
/* Menu stuff */
|
|
.Flyout.Flags {
|
|
top: 25px;
|
|
z-index: 1000;
|
|
}
|
|
.FlagMenu > .SpFlyoutHandle {
|
|
left: 10px;
|
|
bottom: -12px;
|
|
z-index: 1001;
|
|
}
|
|
|
|
/* Reaction Revamp */
|
|
.Reactions .Bullet {
|
|
color: #999;
|
|
}
|
|
.React {
|
|
position: relative;
|
|
top: auto;
|
|
right: auto;
|
|
}
|
|
.Reactions {
|
|
margin: 15px 0 0 0;
|
|
}
|
|
.RecordReactions {
|
|
margin-top: 15px;
|
|
}
|
|
.RecordReactions + .Reactions {
|
|
margin-top: 0;
|
|
}
|
|
.Reactions .Count {
|
|
font-size: 8px;
|
|
background: #555;
|
|
border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
margin-right: 4px;
|
|
}
|
|
.Item .Reactions > * {
|
|
visibility: hidden;
|
|
}
|
|
.Item .Reactions > *.Visible {
|
|
visibility: visible;
|
|
}
|
|
.Item.Open .Reactions > *,
|
|
.Item:hover .Reactions > *,
|
|
.Item .Reactions > .FlagMenu {
|
|
visibility: visible;
|
|
}
|
|
|
|
.Reactions > a.React > .ReactSprite {
|
|
margin-right: 2px;
|
|
}
|
|
.Reactions .FlagMenu .MenuItems .ReactButton {
|
|
margin: 0;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.MenuItems-Reactions {
|
|
position: absolute;
|
|
width: 160px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.MenuItems-Reactions a {
|
|
display: inline-block !important;
|
|
padding: 2px 3px 5px !important;
|
|
}
|
|
|
|
.MenuItems-Reactions .ProfilePhotoSmall {
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
|
|
/* OLD "Best Of" */
|
|
.ReactionFilters {
|
|
margin: 8px 0;
|
|
}
|
|
.ReactionFilters .ReactButton {
|
|
opacity: 1;
|
|
margin-right: 6px;
|
|
}
|
|
.ReactionFilters .ReactButton .ReactSprite {
|
|
background-image: url('reaction-sprites-color.png') !important;
|
|
}
|
|
.ReactionFilters .ReactLabel {
|
|
padding-left: 4px;
|
|
}
|
|
.BestOfData .DataList .Item:first-child {
|
|
border-top: 1px solid #BEC8CC;
|
|
}
|
|
/* End "Best Of" */
|
|
|
|
|
|
#infscr-loading {
|
|
text-align: center;
|
|
}
|
|
#infscr-loading img {
|
|
margin: 0 auto;
|
|
}
|
|
/* End "Best Of" */
|
|
|
|
/* iPad/iPhone */
|
|
@media only screen and (device-width: 768px),
|
|
only screen and (max-device-width: 480px) {
|
|
.Item .Reactions > * { visibility: visible; }
|
|
}
|
|
|
|
/** Best of tiling stuff. **/
|
|
|
|
.Tile {
|
|
float: left;
|
|
width: 278px;
|
|
border: solid 1px #ddd;
|
|
margin: 5px;
|
|
padding: 10px;
|
|
border-radius: 2px;
|
|
|
|
-webkit-transition: opacity .3s ease-in-out;
|
|
-moz-transition: opacity .3s ease-in-out;
|
|
-o-transition: opacity .3s ease-in-out;
|
|
-ms-transition: opacity .3s ease-in-out;
|
|
transition: opacity .3s ease-in-out;
|
|
}
|
|
|
|
.Tile > h3 {
|
|
margin-top: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.Tile .Image img,
|
|
.Tile .Body img{
|
|
max-width: 100% !important;
|
|
float: none !important;
|
|
margin: 0 auto 10px !important;
|
|
display: block;
|
|
}
|
|
|
|
.Tile .AuthorWrap {
|
|
margin: 0 -10px -10px;
|
|
padding: 10px;
|
|
background: rgba(0,0,0,.03);
|
|
}
|
|
|
|
.Tile .AuthorWrap .ProfilePhoto {
|
|
height: 32px;
|
|
width: 32px;
|
|
}
|
|
|
|
.Tile .Reactions {
|
|
margin: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.Tile .ReactButton {
|
|
position: relative;
|
|
}
|
|
|
|
.Tile .Message {
|
|
margin: 0;
|
|
}
|
|
|
|
.Tile .ReactLabel {
|
|
display: none;
|
|
background: #fff;
|
|
color: #000;
|
|
white-space: nowrap;
|
|
position: absolute;
|
|
line-height: 1;
|
|
padding: 3px 6px 4px;
|
|
left: -4px;
|
|
top: -23px;
|
|
}
|
|
|
|
.Tile .Reactions .Bullet,
|
|
.Tile .Reactions .Count {
|
|
display: none;
|
|
}
|
|
|
|
/**** Transitions ****/
|
|
|
|
.masonry,
|
|
.masonry .masonry-brick {
|
|
-webkit-transition-duration: 0.7s;
|
|
-moz-transition-duration: 0.7s;
|
|
-ms-transition-duration: 0.7s;
|
|
-o-transition-duration: 0.7s;
|
|
transition-duration: 0.7s;
|
|
}
|
|
|
|
.masonry {
|
|
-webkit-transition-property: height, width;
|
|
-moz-transition-property: height, width;
|
|
-ms-transition-property: height, width;
|
|
-o-transition-property: height, width;
|
|
transition-property: height, width;
|
|
}
|
|
|
|
.masonry .masonry-brick {
|
|
-webkit-transition-property: left, right, top;
|
|
-moz-transition-property: left, right, top;
|
|
-ms-transition-property: left, right, top;
|
|
-o-transition-property: left, right, top;
|
|
transition-property: left, right, top;
|
|
}
|
|
|
|
/* Imported from style.css for backward compatibility */
|
|
.ReactSprite {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 4px;
|
|
line-height: 18px;
|
|
vertical-align: bottom;
|
|
background-image: url('images/action-sprites.png');
|
|
background-position: 16px 16px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
input + .ReactSprite {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ReactEverything { background-position: -197px -53px; }
|
|
.ReactAwesome { background-position: -269px -6px; }
|
|
.ReactFlag { background-position: -54px -52px; }
|
|
.ReactInsightful { background-position: -149px -6px; }
|
|
.ReactOffTopic { background-position: -173px -6px; }
|
|
.ReactAbuse { background-position: -6px -52px; }
|
|
.ReactSpam { background-position: -125px -6px; }
|
|
.ReactTroll { background-position: -101px -6px; }
|
|
.ReactPromote { background-position: -50px -29px; }
|
|
.ReactDisagree { background-position: -28px -5px; }
|
|
.ReactAgree { background-position: -4px -5px; }
|
|
.ReactDislike { background-position: -28px -28px; }
|
|
.ReactLike { background-position: -4px -31px; }
|
|
.ReactDown { background-position: -220px -29px; }
|
|
.ReactUp { background-position: -195px -30px; }
|
|
.ReactWTF { background-position: -76px -5px; }
|
|
.ReactLOL { background-position: -52px -5px; }
|
|
.ReactQuote { background-position: -316px -6px; }
|
|
.ReactInfraction { background-position: -100px -53px; }
|
|
.ReactAccept { background-position: -6px -102px; }
|
|
.ReactReject { background-position: -342px -6px; }
|
|
.ReactFacebook { background-position: -29px -124px; }
|
|
.ReactTwitter { background-position: -53px -124px; }
|
|
.ReactGooglePlus { background-position: -77px -124px; }
|
|
.ReactMessage { background-position: -101px -102px; }
|
|
.ReactWarn { background-position: -222px -6px; }
|
|
|
|
/* Switch to the white icons when hovering over a menuitem sprite */
|
|
.MenuItems a:hover .ReactSprite,
|
|
.MenuItems a:hover .Sprite {
|
|
background-image: url('images/action-sprites-white.png');
|
|
}
|
|
/* Switch to bordered icons for user reaction overlays */
|
|
.UserReactionWrap .ReactSprite {
|
|
background-image: url('images/action-sprites-bordered.png');
|
|
}
|
|
.ActionBlock {
|
|
margin: 15px 0 5px;
|
|
font-style: italic;
|
|
} |