This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
calcifer/web/semantic/dist/components/feed.css

302 lines
5.6 KiB
CSS
Raw Normal View History

2015-03-29 19:33:23 +02:00
/*!
2016-06-10 00:34:34 +02:00
* # Semantic UI 2.1.7 - Feed
2015-03-29 19:33:23 +02:00
* http://github.com/semantic-org/semantic-ui/
*
*
2016-06-10 00:34:34 +02:00
* Copyright 2015 Contributors
2015-03-29 19:33:23 +02:00
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Activity Feed
*******************************/
.ui.feed {
margin: 1em 0em;
}
.ui.feed:first-child {
margin-top: 0em;
}
.ui.feed:last-child {
2016-06-10 00:34:34 +02:00
margin-bottom: 0em;
2015-03-29 19:33:23 +02:00
}
/*******************************
Content
*******************************/
/* Event */
.ui.feed > .event {
2016-06-10 00:34:34 +02:00
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
2015-03-29 19:33:23 +02:00
width: 100%;
2016-06-10 00:34:34 +02:00
padding: 0.21428571rem 0em;
2015-03-29 19:33:23 +02:00
margin: 0em;
background: none;
border-top: none;
}
.ui.feed > .event:first-child {
border-top: 0px;
padding-top: 0em;
}
.ui.feed > .event:last-child {
padding-bottom: 0em;
}
/* Event Label */
.ui.feed > .event > .label {
2016-06-10 00:34:34 +02:00
display: block;
-webkit-box-flex: 0;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
2015-03-29 19:33:23 +02:00
width: 2.5em;
2016-06-10 00:34:34 +02:00
height: auto;
-webkit-align-self: stretch;
-ms-flex-item-align: stretch;
align-self: stretch;
2015-03-29 19:33:23 +02:00
text-align: left;
}
.ui.feed > .event > .label .icon {
opacity: 1;
font-size: 1.5em;
width: 100%;
padding: 0.25em;
background: none;
border: none;
border-radius: none;
color: rgba(0, 0, 0, 0.6);
}
.ui.feed > .event > .label img {
width: 100%;
height: auto;
border-radius: 500rem;
}
.ui.feed > .event > .label + .content {
2016-06-10 00:34:34 +02:00
margin: 0.5em 0em 0.35714286em 1.14285714em;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
/*--------------
Content
---------------*/
2015-03-29 19:33:23 +02:00
/* Content */
.ui.feed > .event > .content {
2016-06-10 00:34:34 +02:00
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-align-self: stretch;
-ms-flex-item-align: stretch;
align-self: stretch;
2015-03-29 19:33:23 +02:00
text-align: left;
word-wrap: break-word;
}
.ui.feed > .event:last-child > .content {
padding-bottom: 0em;
}
/* Link */
.ui.feed > .event > .content a {
cursor: pointer;
}
/*--------------
Date
---------------*/
.ui.feed > .event > .content .date {
margin: -0.5rem 0em 0em;
padding: 0em;
font-weight: normal;
font-size: 1em;
font-style: normal;
color: rgba(0, 0, 0, 0.4);
}
/*--------------
Summary
---------------*/
.ui.feed > .event > .content .summary {
margin: 0em;
font-size: 1em;
font-weight: bold;
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
/* Summary Image */
.ui.feed > .event > .content .summary img {
display: inline-block;
width: auto;
2016-06-10 00:34:34 +02:00
height: 10em;
2015-03-29 19:33:23 +02:00
margin: -0.25em 0.25em 0em 0em;
border-radius: 0.25em;
vertical-align: middle;
}
/*--------------
User
---------------*/
.ui.feed > .event > .content .user {
display: inline-block;
font-weight: bold;
margin-right: 0em;
vertical-align: baseline;
}
.ui.feed > .event > .content .user img {
margin: -0.25em 0.25em 0em 0em;
width: auto;
2016-06-10 00:34:34 +02:00
height: 10em;
2015-03-29 19:33:23 +02:00
vertical-align: middle;
}
/*--------------
Inline Date
---------------*/
/* Date inside Summary */
.ui.feed > .event > .content .summary > .date {
display: inline-block;
float: none;
font-weight: normal;
2016-06-10 00:34:34 +02:00
font-size: 0.85714286em;
2015-03-29 19:33:23 +02:00
font-style: normal;
margin: 0em 0em 0em 0.5em;
padding: 0em;
color: rgba(0, 0, 0, 0.4);
}
/*--------------
Extra Summary
---------------*/
.ui.feed > .event > .content .extra {
margin: 0.5em 0em 0em;
background: none;
padding: 0em;
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.87);
2015-03-29 19:33:23 +02:00
}
/* Images */
.ui.feed > .event > .content .extra.images img {
display: inline-block;
margin: 0em 0.25em 0em 0em;
width: 6em;
}
/* Text */
.ui.feed > .event > .content .extra.text {
2016-06-10 00:34:34 +02:00
padding: 0em;
border-left: none;
2015-03-29 19:33:23 +02:00
font-size: 1em;
max-width: 500px;
2016-06-10 00:34:34 +02:00
line-height: 1.4285em;
2015-03-29 19:33:23 +02:00
}
/*--------------
Meta
---------------*/
.ui.feed > .event > .content .meta {
display: inline-block;
2016-06-10 00:34:34 +02:00
font-size: 0.85714286em;
2015-03-29 19:33:23 +02:00
margin: 0.5em 0em 0em;
background: none;
border: none;
border-radius: 0;
box-shadow: none;
padding: 0em;
color: rgba(0, 0, 0, 0.6);
}
.ui.feed > .event > .content .meta > * {
position: relative;
margin-left: 0.75em;
}
.ui.feed > .event > .content .meta > *:after {
content: '';
color: rgba(0, 0, 0, 0.2);
top: 0em;
left: -1em;
opacity: 1;
position: absolute;
vertical-align: top;
}
.ui.feed > .event > .content .meta .like {
color: '';
-webkit-transition: 0.2s color ease;
transition: 0.2s color ease;
}
.ui.feed > .event > .content .meta .like:hover .icon {
color: #ff2733;
}
.ui.feed > .event > .content .meta .active.like .icon {
color: #ef404a;
}
/* First element */
.ui.feed > .event > .content .meta > :first-child {
margin-left: 0em;
}
.ui.feed > .event > .content .meta > :first-child::after {
display: none;
}
/* Action */
.ui.feed > .event > .content .meta a,
.ui.feed > .event > .content .meta > .icon {
cursor: pointer;
opacity: 1;
color: rgba(0, 0, 0, 0.5);
2016-06-10 00:34:34 +02:00
-webkit-transition: color 0.1s ease;
transition: color 0.1s ease;
2015-03-29 19:33:23 +02:00
}
.ui.feed > .event > .content .meta a:hover,
.ui.feed > .event > .content .meta a:hover .icon,
.ui.feed > .event > .content .meta > .icon:hover {
2016-06-10 00:34:34 +02:00
color: rgba(0, 0, 0, 0.95);
2015-03-29 19:33:23 +02:00
}
/*******************************
Variations
*******************************/
.ui.small.feed {
2016-06-10 00:34:34 +02:00
font-size: 0.92857143rem;
2015-03-29 19:33:23 +02:00
}
.ui.feed {
2016-06-10 00:34:34 +02:00
font-size: 1rem;
2015-03-29 19:33:23 +02:00
}
.ui.large.feed {
2016-06-10 00:34:34 +02:00
font-size: 1.14285714rem;
2015-03-29 19:33:23 +02:00
}
/*******************************
Theme Overrides
*******************************/
/*******************************
User Variable Overrides
*******************************/