gnu-social/public/assets/default_theme/css/widgets/sections.css

174 lines
3.8 KiB
CSS
Raw Normal View History

.profile {
display: flex;
flex-direction: column;
flex-wrap: wrap;
font-family: 'Open Sans',sans-serif;
margin-bottom: var(--s);
border-radius: var(--s);
padding: var(--s);
background: var(--gradient) !important;
box-shadow: var(--shadow);
}
.profile *[class*="profile-info-"] {
flex: 1;
}
.profile-info {
display: flex;
flex-wrap: wrap;
flex-direction: column;
}
.profile-info-nickname {
font-size: var(--m);
}
.profile-info-tags {
margin: unset;
}
.profile-info-stats strong {
margin-right: 5px;
}
.profile-info-stats {
margin-top: var(--s);
}
.profile-info-bio,
.profile-info-nickname {
word-break: break-all;
}
.avatar {
max-width: 4rem;
2021-12-02 15:29:46 +00:00
max-height: 4rem;
min-width: var(--xxl);
width: 100%;
height: auto;
margin-right: 5px;
border-radius: 2px;
}
.section-title {
font-weight: 700;
}
.section-widget {
display: flex;
flex-direction: column;
border-radius: var(--s);
margin-bottom: var(--m);
background-color: var(--background-card) !important;
box-shadow: var(--shadow);
border: 2px solid var(--border) !important;
}
.section-widget hr {
margin-bottom: var(--s);
}
.section-padding {
padding: var(--s);
}
.section-widget-paging {
display: block;
2021-12-25 17:48:07 +00:00
font-family: 'Poppins', sans-serif;
font-weight: 700;
padding: 6px 12px;
margin-top: var(--s);
margin-left: auto;
}
.section-widget-title {
margin-left: unset;
}
.section-widget-button-like {
font-family: 'Poppins', sans-serif;
font-weight: 700;
display: block;
width: max-content;
align-self: end;
background: var(--gradient);
padding: 6px 8px;
border-radius: var(--s);
border: 2px solid var(--border);
}
.section-widget-title-details summary{
padding: 6px 12px;
}
.section-widget-subtitle-details summary {
padding: 2px 8px;
}
.section-widget-subtitle-summary + * {
border-radius: var(--s);
background: var(--gradient);
padding: 2px 8px;
}
.section-widget-subtitle-details summary {
border: 2px solid var(--border);
}
.section-widget-title-details summary,
.section-widget-subtitle-details summary {
align-items: center;
border-radius: var(--s);
background: var(--gradient) !important;
}
.section-widget-subtitle-details[open] svg,
.section-widget-title-details[open] .icon-details-open {
transform: rotate(180deg);
animation: fadeOut 200ms cubic-bezier(0,0.55,0.45,1);
}
.section-widget-subtitle-details:not([open]) svg,
.section-widget-title-details:not([open]) .icon-details-open {
transform: initial;
animation: fadeIn 200ms cubic-bezier(0,0.55,0.45,1);
}
.section-subtitle-summary,
.section-title-summary {
display: flex;
}
.section-subtitle-summary ~ [class|="form-row"] {
padding: var(--s);
}
.section-subtitle-summary strong,
.section-title-summary h2 {
margin-right: auto;
}
.section-subtitle-summary a,
.section-title-summary a {
line-height: initial;
}
.section-subtitle-summary svg:last-child,
.section-title-summary svg:last-child {
margin-left: 4px;
}
.section-form {
display: flex;
flex-direction: column;
2021-10-29 18:14:39 +01:00
max-width: 100%;
width: 100%;
padding: var(--s);
}
.section-form-legend {
margin-top: unset;
margin-bottom: var(--s);
font-weight: bold;
}
.form-row {
display: flex;
flex-direction: column;
margin-bottom: var(--s);
}
.form-row-widget {
display: block;
width: 100%;
2021-11-16 19:40:07 +00:00
}
.form-row-help {
margin-bottom: unset;
}
textarea.form-row-widget {
height: 7rem;
resize: vertical;
}
.form-row-widget-error,
.form-error,
2021-11-29 18:14:55 +00:00
.alert,
.alert-danger {
display: inline-block;
font-style: italic;
border: solid 2px #ff6347;
background-color: #FF634733;
border-radius: var(--s);
padding: 2px 6px;
margin-top: 6px;
margin-bottom: 6px;
}