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

150 lines
2.8 KiB
CSS
Raw Normal View History

.profile {
display: flex;
flex-direction: column;
flex-wrap: wrap;
font-family: 'Open Sans',sans-serif;
2021-11-29 18:14:55 +00:00
margin-bottom: var(--smaller);
border-radius: var(--smaller);
padding: var(--smaller);
background: var(--gradient) !important;
-webkit-box-shadow: var(--shadow);
-moz-box-shadow: var(--shadow);
box-shadow: var(--shadow);
}
.profile *[class*="profile-info-"] {
flex: 1;
}
.profile-info {
display: flex;
flex-wrap: wrap;
flex-direction: column;
}
.profile-info-nickname {
2021-11-29 18:14:55 +00:00
font-size: var(--small);
}
.profile-info-tags {
margin: unset;
}
.profile-info-stats strong {
margin-right: 5px;
}
.profile-info-stats {
2021-11-29 18:14:55 +00:00
margin-top: var(--smaller);
}
.profile-avatar {
max-width: 4rem;
2021-11-29 18:14:55 +00:00
min-width: var(--big);
width: 100%;
height: auto;
margin-right: 5px;
border-radius: 2px;
}
.section-widget {
display: flex;
flex-direction: column;
2021-11-29 18:14:55 +00:00
border-radius: var(--smaller);
margin-bottom: var(--small);
background-color: var(--background-card) !important;
box-shadow: var(--shadow);
border: 2px solid var(--border) !important;
}
.section-widget hr {
2021-11-29 18:14:55 +00:00
margin-bottom: var(--smaller);
}
.section-widget-padded {
2021-11-29 18:14:55 +00:00
padding: var(--smaller);
}
.section-title {
2021-11-29 18:14:55 +00:00
font-size: var(--small);
font-weight: 700;
margin: 0;
}
.section-widget-button-like {
2021-11-29 18:14:55 +00:00
border-radius: var(--smaller);
padding: 6px 10px;
margin-top: 6px;
cursor: pointer;
float: right;
align-self: end;
font-family: 'Open Sans',sans-serif;
font-weight: 700;
}
.section-title-details {
2021-11-29 18:14:55 +00:00
font-size: var(--small);
font-weight: 700;
2021-11-29 18:14:55 +00:00
border-radius: var(--smaller);
padding: 6px 10px;
background: var(--gradient) !important;
}
.section-title-details[open] svg {
transform: rotate(180deg);
animation: fadeOut 200ms cubic-bezier(0,0.55,0.45,1);
}
.section-title-details:not([open]) svg {
transform: initial;
animation: fadeIn 200ms cubic-bezier(0,0.55,0.45,1);
}
.section-title-summary {
display: flex;
justify-content: space-between;
}
.section-form {
display: flex;
flex-direction: column;
2021-10-29 18:14:39 +01:00
max-width: 100%;
width: 100%;
2021-11-29 18:14:55 +00:00
padding: var(--smaller);
}
.section-form-legend {
margin-top: unset;
margin-bottom: 10px;
font-weight: bold;
2021-11-29 18:14:55 +00:00
font-size: var(--medium);
}
div[class^="mb-"] {
display: flex;
flex-direction: column;
flex-basis: border-box;
margin-bottom: var(--smaller);
}
div[class^="mb-"]:last-of-type {
2021-11-16 19:40:07 +00:00
margin-bottom: unset;
}
div[class^="mb-"] textarea {
height: 7rem;
max-height: 100%;
}
2021-11-29 18:14:55 +00:00
.alert,
.alert-danger {
display: inline-block;
font-style: italic;
font-size: 1rem;
border: solid 2px #ff6347;
background-color: #FF634733;
2021-11-29 18:14:55 +00:00
border-radius: var(--smaller);
padding: 2px 6px;
margin-top: 6px;
margin-bottom: 6px;
}