mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-29 02:26:18 -05:00
144 lines
2.5 KiB
SCSS
144 lines
2.5 KiB
SCSS
|
@import "foundation/variables";
|
||
|
@import "foundation/mixins";
|
||
|
|
||
|
// --------------------------------------------------
|
||
|
// Excerpts
|
||
|
// --------------------------------------------------
|
||
|
|
||
|
.excerpt-view {
|
||
|
display: none;
|
||
|
position: fixed;
|
||
|
z-index: 2000;
|
||
|
width: 500px;
|
||
|
border: 1px solid #b9b9b9;
|
||
|
padding: 10px;
|
||
|
background-color: $white;
|
||
|
@include border-radius-all(4px);
|
||
|
.contents {
|
||
|
padding: 0 15px 0 55px;
|
||
|
color: #262525;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
h1 {
|
||
|
font-size: 20px;
|
||
|
line-height: 1;
|
||
|
margin-bottom: 5px;
|
||
|
}
|
||
|
.image {
|
||
|
float: left;
|
||
|
overflow: hidden;
|
||
|
@include border-radius-all(4px);
|
||
|
}
|
||
|
.info {
|
||
|
color: #7f7f7f;
|
||
|
font-size: 11px;
|
||
|
}
|
||
|
.description {
|
||
|
margin: 5px 0;
|
||
|
}
|
||
|
.figs {
|
||
|
figure {
|
||
|
display: inline;
|
||
|
margin: 0 10px 0 0;
|
||
|
padding: 0;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
figcaption {
|
||
|
display: inline;
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
}
|
||
|
.button-row {
|
||
|
margin-top: 5px;
|
||
|
text-align: right;
|
||
|
}
|
||
|
.close {
|
||
|
position: absolute;
|
||
|
top: 3px;
|
||
|
right: 5px;
|
||
|
color: #7f7f7f;
|
||
|
font-size: 12px;
|
||
|
line-height: 8px;
|
||
|
}
|
||
|
&.medium {
|
||
|
width: 430px;
|
||
|
.contents {
|
||
|
padding-left: 0;
|
||
|
}
|
||
|
}
|
||
|
&.small {
|
||
|
width: 300px;
|
||
|
}
|
||
|
&:before,
|
||
|
&:after {
|
||
|
position: absolute;
|
||
|
width: 0;
|
||
|
height: 0;
|
||
|
content: "";
|
||
|
border-style: solid;
|
||
|
border-color: transparent;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
&:before {
|
||
|
border-width: 10px;
|
||
|
}
|
||
|
&:after {
|
||
|
border-width: 9px;
|
||
|
}
|
||
|
&.top:before {
|
||
|
top: 100%;
|
||
|
left: 5%;
|
||
|
margin-left: -10px;
|
||
|
border-bottom-width: 0;
|
||
|
border-top-color: #b9b9b9;
|
||
|
}
|
||
|
&.top:after {
|
||
|
top: 100%;
|
||
|
left: 5%;
|
||
|
margin-left: -9px;
|
||
|
border-bottom-width: 0;
|
||
|
border-top-color: $white;
|
||
|
}
|
||
|
&.right:before {
|
||
|
right: 100%;
|
||
|
top: 20%;
|
||
|
margin-top: -10px;
|
||
|
border-left-width: 0;
|
||
|
border-right-color: #b9b9b9;
|
||
|
}
|
||
|
&.right:after {
|
||
|
right: 100%;
|
||
|
top: 20%;
|
||
|
margin-top: -9px;
|
||
|
border-left-width: 0;
|
||
|
border-right-color: $white;
|
||
|
}
|
||
|
&.bottom:before {
|
||
|
bottom: 100%;
|
||
|
left: 5%;
|
||
|
margin-left: -10px;
|
||
|
border-top-width: 0;
|
||
|
border-bottom-color: #b9b9b9;
|
||
|
}
|
||
|
&.bottom:after {
|
||
|
bottom: 100%;
|
||
|
left: 5%;
|
||
|
margin-left: -9px;
|
||
|
border-top-width: 0;
|
||
|
border-bottom-color: $white;
|
||
|
}
|
||
|
&.left:before {
|
||
|
left: 100%;
|
||
|
top: 20%;
|
||
|
margin-top: -10px;
|
||
|
border-right-width: 0;
|
||
|
border-left-color: #b9b9b9;
|
||
|
}
|
||
|
&.left:after {
|
||
|
left: 100%;
|
||
|
top: 20%;
|
||
|
margin-top: -9px;
|
||
|
border-right-width: 0;
|
||
|
border-left-color: $white;
|
||
|
}
|
||
|
}
|