0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Invite User modal styles

References https://github.com/TryGhost/Ghost/issues/3079 and #21

Also changes the global modal styles
This commit is contained in:
Paul Adam Davis 2014-07-06 18:37:58 +01:00
parent 67e1b060c4
commit 58efafb7c9
4 changed files with 60 additions and 16 deletions

View file

@ -0,0 +1,38 @@
.invite-new-user {
.modal-body {
@include clearfix;
}
.form-group {
margin-bottom: 0;
padding: 0;
label {
position: static;
display: block;
text-align: left;
}
&:nth-of-type(1) {
float: left;
width: 60%;
}
&:nth-of-type(2) {
float: right;
width: 35%;
}
input,
select {
margin-top: 1px;
width: 100%;
}
} // .form-group
.button-add {
width: 100%;
padding: 0.85rem 1.9rem;
font-size: 14px;
line-height: 16px;
}
}

View file

@ -23,6 +23,12 @@
z-index: 1040;
@include transition(all 0.15s linear 0s);
@include transform(translateZ(0));
// @include display(flex);
// @include align-items(center);
// @include justify-content(center);
// @include flex-direction(column);
}
.fade {
@ -89,7 +95,7 @@
.modal-content {
position: relative;
padding: 20px;
padding: 18px;
background-clip: padding-box;
background-color: #FFFFFF;
border-radius: $rounded;
@ -97,39 +103,38 @@
.close {
position: absolute;
top: 15px;
right: 15px;
top: 19px;
right: 19px;
width: 16px;
min-height: 16px;
padding: 0;
margin: 0;
border: none;
z-index: 9999;
@include icon($i-x, 1em, $midgrey);
@include transition(opacity 0.3s linear);
&:hover {
color: $darkgrey;
@include icon($i-close, 1.4rem, $midgrey) {
@include transition(color 0.3s linear);
};
&:hover:before {
color: $grey;
}
}
}
.modal-header {
position: relative;
padding: 20px;
border-bottom: 1px solid $lightbrown;
// padding: 20px;
// border-bottom: 1px solid $lightbrown;
h1 {
display: inline-block;
margin: 0;
font-size: 1.5em;
font-weight: bold;
font-size: 1.85em;
font-weight: 100;
}
}
.modal-body {
position: relative;
min-height: 100px;
// min-height: 100px;
overflow-y: auto;
}

View file

@ -61,6 +61,7 @@
@import "layouts/content";
@import "layouts/editor";
@import "layouts/errors";
@import "layouts/modals";
@import "layouts/post-settings-menu";
@import "layouts/settings";
@import "layouts/setup";

File diff suppressed because one or more lines are too long