You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
541 lines
12 KiB
541 lines
12 KiB
/*
|
|
* # Semantic - Feed
|
|
* http://github.com/semantic-org/semantic-ui/
|
|
*
|
|
*
|
|
* Copyright 2014 Contributors
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
/*******************************
|
|
Theme
|
|
*******************************/
|
|
/*
|
|
|
|
███████╗███████╗███╗ ███╗ █████╗ ███╗ ██╗████████╗██╗ ██████╗ ██╗ ██╗██╗
|
|
██╔════╝██╔════╝████╗ ████║██╔══██╗████╗ ██║╚══██╔══╝██║██╔════╝ ██║ ██║██║
|
|
███████╗█████╗ ██╔████╔██║███████║██╔██╗ ██║ ██║ ██║██║ ██║ ██║██║
|
|
╚════██║██╔══╝ ██║╚██╔╝██║██╔══██║██║╚██╗██║ ██║ ██║██║ ██║ ██║██║
|
|
███████║███████╗██║ ╚═╝ ██║██║ ██║██║ ╚████║ ██║ ██║╚██████╗ ╚██████╔╝██║
|
|
╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
|
|
|
|
*/
|
|
/*******************************
|
|
Folders
|
|
*******************************/
|
|
/* Path to theme packages */
|
|
/* Path to site override folder */
|
|
/*******************************
|
|
Themes
|
|
*******************************/
|
|
/* To override a theme for an individual element
|
|
specify theme name below
|
|
|
|
Be sure to update the user folder name (see README)
|
|
*/
|
|
/* Global */
|
|
/* Elements */
|
|
/* Collections */
|
|
/* Modules */
|
|
/* Views */
|
|
/*******************************
|
|
Import Directives
|
|
*******************************/
|
|
/*------------------
|
|
Load Defaults
|
|
-------------------*/
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Background Colors
|
|
--------------------*/
|
|
/* Used for differentiating neutrals */
|
|
/* Used for differentiating layers */
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Maximum Glyph Width of Icon */
|
|
/*-------------------
|
|
Easing
|
|
--------------------*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Mood */
|
|
/* Status */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Makes sure padded grid can fit at 320px */
|
|
/* Used to match floats with text */
|
|
/* Positive / Negative Dupes */
|
|
/* Header Colors */
|
|
/* Responsive */
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Standard ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*******************************
|
|
Feed
|
|
*******************************/
|
|
/*-------------------
|
|
Feed
|
|
--------------------*/
|
|
/*-------------------
|
|
Elements
|
|
--------------------*/
|
|
/* Event */
|
|
/* Event Label */
|
|
/* Icon Label */
|
|
/* Image Label */
|
|
/* Content w/ Label */
|
|
/* Content */
|
|
/* Date */
|
|
/* Summary */
|
|
/* Summary Image */
|
|
/* Summary Date */
|
|
/* User */
|
|
/* Extra Summary Data */
|
|
/* Extra Images */
|
|
/* Extra Text */
|
|
/* Metadata Group */
|
|
/* Like */
|
|
/* Metadata Divider */
|
|
/*-------------------
|
|
Variations
|
|
--------------------*/
|
|
/* Size */
|
|
/*------------------
|
|
Load Theme
|
|
-------------------*/
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Background Colors
|
|
--------------------*/
|
|
/* Used for differentiating neutrals */
|
|
/* Used for differentiating layers */
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Maximum Glyph Width of Icon */
|
|
/*-------------------
|
|
Easing
|
|
--------------------*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Mood */
|
|
/* Status */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Makes sure padded grid can fit at 320px */
|
|
/* Used to match floats with text */
|
|
/* Positive / Negative Dupes */
|
|
/* Header Colors */
|
|
/* Responsive */
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Standard ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*******************************
|
|
Feed
|
|
*******************************/
|
|
/*-------------------
|
|
Feed
|
|
--------------------*/
|
|
/*-------------------
|
|
Elements
|
|
--------------------*/
|
|
/* Event */
|
|
/* Event Label */
|
|
/* Icon Label */
|
|
/* Image Label */
|
|
/* Content w/ Label */
|
|
/* Content */
|
|
/* Date */
|
|
/* Summary */
|
|
/* Summary Image */
|
|
/* Summary Date */
|
|
/* User */
|
|
/* Extra Summary Data */
|
|
/* Extra Images */
|
|
/* Extra Text */
|
|
/* Metadata Group */
|
|
/* Like */
|
|
/* Metadata Divider */
|
|
/*-------------------
|
|
Variations
|
|
--------------------*/
|
|
/* Size */
|
|
/*------------------
|
|
Load Site
|
|
-------------------*/
|
|
/*******************************
|
|
User Global Variables
|
|
*******************************/
|
|
/*******************************
|
|
User Variable Overrides
|
|
*******************************/
|
|
/*------------------
|
|
Override Loader
|
|
-------------------*/
|
|
/*******************************
|
|
Activity Feed
|
|
*******************************/
|
|
.ui.feed {
|
|
margin: 1em 0em;
|
|
}
|
|
.ui.feed:first-child {
|
|
margin-top: 0em;
|
|
}
|
|
.ui.feed:last-child {
|
|
margin-top: 0em;
|
|
}
|
|
/*******************************
|
|
Content
|
|
*******************************/
|
|
/* Event */
|
|
.ui.feed > .event {
|
|
display: table;
|
|
width: 100%;
|
|
padding: 0.5rem 0em;
|
|
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 {
|
|
display: table-cell;
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
vertical-align: top;
|
|
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 {
|
|
padding: 0.5em 0em 0.5em 1.5em;
|
|
}
|
|
/* Content */
|
|
.ui.feed > .event > .content {
|
|
display: table-cell;
|
|
vertical-align: top;
|
|
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;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
/* Summary Image */
|
|
.ui.feed > .event > .content .summary img {
|
|
display: inline-block;
|
|
width: auto;
|
|
height: 2em;
|
|
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;
|
|
height: 2em;
|
|
vertical-align: middle;
|
|
}
|
|
/*--------------
|
|
Inline Date
|
|
---------------*/
|
|
/* Date inside Summary */
|
|
.ui.feed > .event > .content .summary > .date {
|
|
display: inline-block;
|
|
float: none;
|
|
font-weight: normal;
|
|
font-size: 0.875em;
|
|
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;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
/* 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 {
|
|
padding: 0.5em 1em;
|
|
border-left: 3px solid rgba(0, 0, 0, 0.2);
|
|
font-size: 1em;
|
|
max-width: 500px;
|
|
line-height: 1.33;
|
|
}
|
|
/*--------------
|
|
Meta
|
|
---------------*/
|
|
.ui.feed > .event > .content .meta {
|
|
display: inline-block;
|
|
font-size: 0.875em;
|
|
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);
|
|
-webkit-transition: color 0.2s ease;
|
|
transition: color 0.2s ease;
|
|
}
|
|
.ui.feed > .event > .content .meta a:hover,
|
|
.ui.feed > .event > .content .meta a:hover .icon,
|
|
.ui.feed > .event > .content .meta > .icon:hover {
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
.ui.small.feed {
|
|
font-size: 0.9em;
|
|
}
|
|
.ui.feed {
|
|
font-size: 1em;
|
|
}
|
|
.ui.large.feed {
|
|
font-size: 1.1em;
|
|
}
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|
|
/*******************************
|
|
User Variable Overrides
|
|
*******************************/
|