Ghost/ghost/admin/app/styles/layouts/users.css

203 lines
3.6 KiB
CSS
Raw Normal View History

2015-05-14 16:45:37 +03:00
/* Users /ghost/settings/users/
/* ---------------------------------------------------------- */
.users-list-wrapper {
overflow: auto;
height: 100%;
}
/* User list
/* ---------------------------------------------------------- */
.invited-users {
margin-bottom: 34px;
}
.user-list-title {
2015-05-16 14:43:12 +03:00
margin-bottom: 14px;
color: #a1a1a1;
2015-05-14 16:45:37 +03:00
font-size: 13px;
font-weight: normal;
}
.user-list-item {
display: flex;
justify-content: start;
align-items: center;
padding: 0 15px;
height: 68px;
border-top: 1px solid #dfe1e3;
2015-05-14 16:45:37 +03:00
}
/* Only apply these styles to anchor tags (pending invited are divs) */
a.user-list-item {
text-decoration: none;
}
@media (min-width: 601px) {
a.user-list-item:hover {
background: color(#dfe1e3 lightness(+10%));
2015-05-14 16:45:37 +03:00
}
a.user-list-item:last-of-type:hover {
box-shadow: inset 0 -1px 0 #dfe1e3;
2015-05-14 16:45:37 +03:00
}
}
.user-list-item-icon {
2015-05-16 14:43:12 +03:00
position: relative;
display: block;
overflow: hidden;
2015-05-14 16:45:37 +03:00
width: 35px;
height: 35px;
background: #dfe1e3;
2015-05-16 14:43:12 +03:00
border-radius: 100%;
2015-05-14 16:45:37 +03:00
color: transparent;
2015-05-16 14:43:12 +03:00
font-size: 0;
2015-05-14 16:45:37 +03:00
}
.user-list-item-icon:before {
position: absolute;
top: 50%;
right: 0;
2015-05-16 14:43:12 +03:00
left: 0;
2015-05-14 16:45:37 +03:00
margin-top: -7px;
color: var(--midgrey);
2015-05-16 14:43:12 +03:00
text-align: center;
2015-05-14 16:45:37 +03:00
font-size: 14px;
}
.user-list-item-figure {
2015-05-16 14:43:12 +03:00
position: relative;
2015-05-14 16:45:37 +03:00
display: block;
width: 35px;
height: 35px;
background-position: center center;
2015-05-16 14:43:12 +03:00
background-size: cover;
border-radius: 35px;
2015-05-14 16:45:37 +03:00
}
.user-list-item-figure img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
}
.user-list-item-body {
flex: 1 1 auto;
align-items: stretch;
padding-left: 15px;
line-height: 1;
}
.user-list-item-body .name {
display: inline-block;
2015-05-16 14:43:12 +03:00
color: var(--darkgrey);
2015-05-14 16:45:37 +03:00
font-size: 15px;
font-weight: 400;
}
.user-list-item-body .description {
display: inline-block;
2015-05-16 14:43:12 +03:00
margin-top: 3px;
color: #a1a1a1;
2015-05-14 16:45:37 +03:00
white-space: nowrap;
2015-05-16 14:43:12 +03:00
font-size: 12px;
2015-05-14 16:45:37 +03:00
}
.user-list-item-body .description-error {
display: inline-block;
margin-top: 3px;
color: var(--red);
white-space: nowrap;
font-size: 12px;
}
.user-list-item-aside .user-list-action {
float: left;
margin-right: 20px;
2015-05-14 16:45:37 +03:00
}
.user-list-item-aside .role-label {
float: left;
margin-top: -1px;
}
.user-list-item-aside .role-label + .role-label {
margin-left: 5px;
}
.user-list-action {
text-decoration: underline;
2015-05-16 14:43:12 +03:00
text-transform: uppercase;
font-size: 11px;
2015-05-14 16:45:37 +03:00
}
/* Role Labels
/* ---------------------------------------------------------- */
.role-label {
display: inline-block;
padding: 6px 8px;
2015-05-16 14:43:12 +03:00
background: #eee;
2015-05-14 16:45:37 +03:00
color: rgba(0, 0, 0, 0.5);
text-transform: uppercase;
2015-05-16 14:43:12 +03:00
font-size: 9px;
line-height: 1;
2015-05-14 16:45:37 +03:00
font-weight: 400;
}
.role-label.owner {
background: var(--darkgrey);
2015-05-16 14:43:12 +03:00
color: rgba(255, 255, 255, 0.8);
2015-05-14 16:45:37 +03:00
}
.role-label.administrator {
background: var(--red);
2015-05-16 14:43:12 +03:00
color: rgba(255, 255, 255, 0.8);
2015-05-14 16:45:37 +03:00
}
.role-label.editor {
background: var(--blue);
2015-05-16 14:43:12 +03:00
color: rgba(255, 255, 255, 0.8);
2015-05-14 16:45:37 +03:00
}
/* User invitation modal
/* ---------------------------------------------------------- */
.invite-new-user .form-group {
margin-bottom: 0;
padding: 0;
}
.invite-new-user .form-group label {
position: static;
display: block;
text-align: left;
}
.invite-new-user .form-group:nth-of-type(1) {
float: left;
width: 60%;
}
.invite-new-user .form-group:nth-of-type(2) {
float: left;
margin-left: 5%;
2015-05-16 14:43:12 +03:00
width: 35%;
2015-05-14 16:45:37 +03:00
}
.invite-new-user .form-group input {
width: 100%;
}
.invite-new-user .gh-btn-green {
margin: 0;
2015-05-14 16:45:37 +03:00
width: 100%;
}