Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/assets/css/scss/_social.scss

236 lines
3.8 KiB

.social-side-menu {
.menu-list {
list-style: none;
padding: 0;
margin: 0;
}
.menu-item {
display: block;
padding: 0.5rem 1rem;
color: var(--text-color, #333);
text-decoration: none;
transition: background-color 0.2s;
font-weight: 500;
}
.menu-item.active {
background-color: var(--active-bg-color, #f0f0f0);
}
.menu-item i {
margin-right: 0.5rem;
}
.badge {
padding: 0.25em 0.5em;
font-size: 75%;
font-weight: 700;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.25rem;
background-color: var(--badge-bg-color, #f76c6c);
margin-left: 0.5rem;
}
.nav-pills .nav-link {
display: flex;
align-items: center;
}
.active {
background-color: #eee;
}
.nav li.active a {
color: #333;
}
.badge {
display: inline-block;
padding: 0.25em 0.4em;
font-size: 75%;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.25rem;
background-color: #f0ad4e;
color: #fff;
}
}
.message-layout {
display: flex;
}
.message-layout {
.message-container {
display: flex;
flex-direction: column;
}
.message-actions {
display: flex;
justify-content: flex-end;
padding-bottom: 1rem;
gap: 10px;
}
.sidebar {
width: 300px;
display: flex;
flex-direction: column;
}
.content {
flex-grow: 1;
margin-left: 20px;
}
.sidebar > *:not(:last-child) {
margin-bottom: 20px;
}
}
.my-groups-card, .my-friends-card {
.list-group-item {
cursor: pointer;
}
.list-group-item:hover {
background-color: #f0f0f0;
}
.input-group {
display: flex;
flex-wrap: nowrap;
}
.input-group input {
flex: 1;
width: 100%;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.input-group button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.input-group .btn {
padding: 0.375rem 0.75rem;
border: 1px solid;
}
.input-group .mdi {
font-size: 1.25rem;
}
.friend-item {
border: none;
padding: 10px 0;
}
.friend-item:not(:last-child) {
border-bottom: 1px solid #eaeaea;
}
}
.my-skills-card {
.skills-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.skill-item {
display: flex;
flex-direction: column;
align-items: center;
}
.skill-badge {
width: 50px;
height: 50px;
border-radius: 50%;
}
.skill-name {
margin-top: 5px;
text-align: center;
}
}
.user-rel-user-search {
.user-card {
display: flex;
align-items: center;
border-bottom: 1px solid #e1e1e1;
padding: 10px 0;
}
.user-avatar {
margin-right: 15px;
}
.avatar-image {
width: 50px;
height: 50px;
border-radius: 50%;
}
.user-details {
flex-grow: 1;
}
.username {
font-size: 1.1em;
font-weight: bold;
margin-bottom: 5px;
}
.action-button {
padding: 5px 10px;
margin-right: 5px;
font-size: 0.9em;
border: none;
cursor: pointer;
transition: background-color 0.3s, box-shadow 0.3s;
border-radius: 3px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
text-decoration: none;
}
.action-button i {
margin-right: 5px;
}
.invite-button {
background-color: #3498db;
color: white;
}
.invite-button:hover {
background-color: #2980b9;
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.24), 0 2px 10px 0 rgba(0,0,0,0.19);
}
.message-button {
background-color: #f39c12;
color: white;
}
.message-button:hover {
background-color: #e67e22;
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.24), 0 2px 10px 0 rgba(0,0,0,0.19);
}
}