Files
Phraseanet/resources/www/prod/skins/ui-components/_answers.scss
2016-02-25 12:36:50 +01:00

267 lines
5.0 KiB
SCSS

$answersInfoDialogBg: $highlightBackgroundAltColor !default;
$answersInfoDialogColor: $highlightTextColor !default;
$answersDocInfoBg: $highlightBackgroundAltColor !default;
$answersDocInfoBorder: #000 !default;
$answersDocInfoColor: $highlightTextColor !default;
$answersLinkColor: #666666 !default;
$answersInfoLabelColor: #949494 !default;
#TOPIC_UL li {
float: none;
margin: 0;
}
// .captionRolloverTips, .previewTips, .infoTips,
/*
.baskAdder {
background-image: url('#{$iconsPath}zoom.gif');
background-repeat: no-repeat;
background-position: center center;
width: 18px;
height: 18px;
float: right;
cursor: pointer;
}
.captionRolloverTips {
background-image: url('#{$iconsPath}mode_list.gif');
}
.infoTips {
background-image: url('#{$iconsPath}info.gif');
}
.baskAdder {
background-image: url('#{$iconsPath}basket.gif');
}
*/
#answers {
.status {
img {
max-width: 16px;
max-height: 16px;
}
}
#answersNext {
width: 150px;
margin: 5px;
height: 193px;
line-height: 193px;
font-size: 25px;
color: $answersLinkColor;
cursor: pointer;
}
.list {
box-sizing: border-box;
position: relative;
float: left;
margin: 8px;
width: 600px;
overflow: hidden;
border: 3px solid $darkerBorderColor;
.diapo {
margin: 5px;
}
.desc {
.dl-horizontal {
margin-bottom: 0;
dt {
width: 70px; //100
}
dd {
margin-left: 90px; //120
}
}
}
}
}
#idFrameT {
#answers {
background-color: $darkerBackgroundColor;
top: 55px;
bottom: 0;
margin-right: 0;
//overflow-y: hidden;
padding-left: 10px;
overflow-y: auto;
/*&:hover {
}*/
}
}
#answers_status{
position: absolute;
bottom: 0px;
left: 10px;
height: 60px;
width: 400px;
z-index: 100;
table{
width: 100%;
tr{
height: 20px;
vertical-align: middle;
td.navigation{
text-align: right;
}
}
}
.infos {
text-align: left;
line-height: 18px;
font-size: 11px;
color: $answersInfoDialogColor;
height: 60px;
.infoDialog {
float: left;
background: $answersInfoDialogBg;
color: $answersInfoDialogColor;
padding: 0 25px;
font-size: 11px;
padding-top: 24px;
margin-right: 10px;
height: 36px;
span {
font-size: 22px;
margin-bottom: 3px;
float: left;
margin-right: 10px;
}
}
#nbrecsel {
font-size: 22px;
margin-top: 7px;
float: left;
margin-right: 7px;
display: block;
height: 40px;
}
}
#docInfo {
height: 40px;
background: $answersDocInfoBg;
color: $answersDocInfoColor;
padding: 0 25px;
padding-top: 20px;
float: left;
min-width: 105px;
font-size: 11px;
line-height: 12px;
border-right: 1px solid $answersDocInfoBorder;
}
}
/******* FEEDS ****************************************************************/
#answers {
.feed {
position: relative;
clear: left;
margin: 10px;
.headblock {
max-width: 800px;
margin-bottom: 20px;
table {
width: 100%;
}
h1 {
font-size: 22px;
img {
margin-right: 15px;
}
}
a.subscribe_rss {
font-size: 14px;
margin-left: 15px;
}
}
.entry {
margin: 0 0 30px;
padding: 10px;
border: 1px solid $mediumBorderColor; //$answersFeedEntryBorder;
background-color: $mediumBackgroundColor; //$answersFeedEntryBg;
float: left;
&.hover {
border: 1px solid $mediumBorderHighlightColor;
}
h1 {
margin-bottom: 0;
}
table{
&.head {
vertical-align: middle;
margin: 10px 0;
width: 600px;
}
a.tools {
display: none;
}
}
&.hover{
table a.tools {
display: inline;
}
}
}
h1 {
font-weight: bold;
font-size: 20px;
.author {
font-size: $mediumFontSize;
font-weight: normal;
margin-left: 15px;
}
}
h1,
.post_date {
width: 100%;
}
p {
max-width: 600px;
line-height: 18px;
margin: 5px 0;
text-align: justify;
}
img {
vertical-align: middle;
}
.entry,
h1,
p,
.contents,
.see_more,
.post_date {
position: relative;
clear: left;
}
.see_more {
height: 60px;
text-align: center;
font-weight: bold;
font-size: $mediumFontSize;
background-position: center bottom;
}
.contents {
clear: left;
}
.post_date {
text-align: right;
font-style: italic;
max-width: 600px;
*width: 600px;
margin-bottom: 20px;
}
.dropdown-menu {
background-color: $darkerBackgroundColor;
border: 1px solid $darkerBorderColor;
a {
color: $darkerTextColor;
}
}
}
}