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

186 lines
3.5 KiB
CSS
Raw Normal View History

2015-05-14 16:45:37 +03:00
/* Users /ghost/settings/users/
/* ---------------------------------------------------------- */
2017-02-16 20:12:13 +03:00
.gh-invited-users .apps-grid-cell:hover {
background: none;
2015-05-14 16:45:37 +03:00
}
.gh-invited-users .gh-badge {
text-transform: none;
}
@media (max-width: 500px) {
.gh-invited-users .apps-card-meta {
max-width: 165px;
}
.gh-invited-users .apps-card-app-title {
width: 200px;
}
.gh-invited-users .apps-card-app-desc {
max-height: none;
display: block;
}
.gh-invited-users .apps-configured {
flex-direction: column;
align-items: flex-end;
}
.gh-invited-users .apps-configured a {
margin-bottom: 7px
}
}
2015-05-14 16:45:37 +03:00
.user-list-item-icon {
2017-02-17 10:32:29 +03:00
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
2015-05-16 14:43:12 +03:00
overflow: hidden;
2017-02-16 20:12:13 +03:00
margin-right: 15px;
width: 40px;
height: 40px;
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 svg {
fill: var(--midgrey);
height: 14px;
width: auto;
2015-05-14 16:45:37 +03:00
}
.user-list-item-figure {
2015-05-16 14:43:12 +03:00
position: relative;
2015-05-14 16:45:37 +03:00
display: block;
2017-02-16 20:12:13 +03:00
width: 40px;
height: 40px;
margin-right: 15px;
2015-05-14 16:45:37 +03:00
background-position: center center;
2015-05-16 14:43:12 +03:00
background-size: cover;
2017-02-16 20:12:13 +03:00
border-radius: 100%;
box-shadow: #fff 0 0 0 3px;
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;
}
.gh-team .apps-configured {
flex-wrap: wrap;
justify-content: flex-end;
}
.gh-team .apps-configured .gh-badge {
margin-left: 0.75em;
}
2015-05-14 16:45:37 +03:00
/* Role Labels
/* ---------------------------------------------------------- */
2017-02-16 20:12:13 +03:00
.gh-badge.owner {
border: color(var(--darkgrey) blackness(+8%)) 1px solid;
background: linear-gradient(
color(var(--darkgrey) whiteness(+10%)),
color(var(--darkgrey) blackness(+4%))
);
2015-05-14 16:45:37 +03:00
}
2017-02-16 20:12:13 +03:00
.gh-badge.administrator {
border: color(var(--red) blackness(+8%)) 1px solid;
background: linear-gradient(
color(var(--red) whiteness(+10%)),
color(var(--red) blackness(+4%))
);
2015-05-14 16:45:37 +03:00
}
2017-02-16 20:12:13 +03:00
.gh-badge.editor {
border: color(var(--blue) blackness(+8%)) 1px solid;
background: linear-gradient(
color(var(--blue) whiteness(+10%)),
color(var(--blue) blackness(+4%))
);
2015-05-14 16:45:37 +03:00
}
2017-02-16 20:12:13 +03:00
.gh-badge.author {
border: color(var(--lightgrey) blackness(+8%)) 1px solid;
color: color(var(--midgrey) l(+5%));
background: #fff;
2015-05-14 16:45:37 +03:00
}
.gh-badge.suspended {
margin-left: 15px;
border: color(var(--red) blackness(+8%)) 1px solid;
background: linear-gradient(
color(var(--red) whiteness(+10%)),
color(var(--red) blackness(+4%))
);
}
2015-05-14 16:45:37 +03:00
/* User invitation modal
/* ---------------------------------------------------------- */
2017-02-16 20:12:13 +03:00
.invite-new-user .modal-content {
width: 100%;
max-width: 600px;
}
2015-05-14 16:45:37 +03:00
.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%;
}
@media (max-width: 500px) {
.invite-new-user .form-group:nth-of-type(1) {
float: none;
width: 100%;
}
}
2015-05-14 16:45:37 +03:00
.invite-new-user .form-group:nth-of-type(2) {
float: left;
2017-02-16 20:12:13 +03:00
margin-left: 10px;
2015-05-16 14:43:12 +03:00
width: 35%;
2015-05-14 16:45:37 +03:00
}
@media (max-width: 500px) {
.invite-new-user .form-group:nth-of-type(2) {
float: none;
margin-top: 10px;
margin-left: 0;
width: 100%;
}
}
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%;
}