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

206 lines
3.9 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 .apps-grid-cell:hover + .apps-grid-cell .apps-card-app,
.gh-invited-users .apps-grid-cell:hover .apps-card-app {
border-color: var(--lightgrey);
padding-left: 0;
margin-left: 16px;
}
.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;
margin-right: 12px;
width: 36px;
height: 36px;
background: #E5EFF5;
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;
width: 36px;
height: 36px;
margin-right: 12px;
margin-left: 3px;
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: var(--white) 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: 15px;
}
@media (max-width: 500px) {
.gh-active-users .apps-configured {
flex-wrap: nowrap;
}
.gh-active-users .gh-badge:first-child {
margin-left: 0;
}
}
2015-05-14 16:45:37 +03:00
/* Role Labels
/* ---------------------------------------------------------- */
2017-02-16 20:12:13 +03:00
.gh-badge.owner {
background: var(--middarkgrey);
text-transform: uppercase;
color: var(--white);
2015-05-14 16:45:37 +03:00
}
2017-02-16 20:12:13 +03:00
.gh-badge.administrator {
background: color-mod(var(--purple) a(15%));
text-transform: uppercase;
color: var(--purple-d2);
2015-05-14 16:45:37 +03:00
}
2017-02-16 20:12:13 +03:00
.gh-badge.editor {
background: color-mod(var(--blue) a(20%));
text-transform: uppercase;
color: var(--blue-d2);
}
.gh-badge.contributor {
background: var(--lightgrey);
text-transform: uppercase;
color: var(--middarkgrey);
2015-05-14 16:45:37 +03:00
}
2017-02-16 20:12:13 +03:00
.gh-badge.author {
background: color-mod(var(--green) a(20%));
text-transform: uppercase;
color: var(--green-d2);
2015-05-14 16:45:37 +03:00
}
.gh-badge.suspended {
background: var(--lightgrey);
text-transform: uppercase;
color: var(--middarkgrey);
}
.gh-badge.locked {
border: color-mod(var(--lightgrey) blackness(+8%)) 1px solid;
color: color-mod(var(--midgrey) l(+5%));
background: #fff;
text-transform: uppercase;
}
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%;
}