Minor style fixes

stable
xaviju 2017-03-02 16:32:18 +01:00
parent 7837dde7c4
commit 16a7eb74b3
4 changed files with 25 additions and 11 deletions

View File

@ -1,10 +1,10 @@
div.create-project-warning(
.create-project-warning(
ng-if="isPrivate && !canCreatePrivateProjects.valid && canCreatePrivateProjects.reason == 'max_private_projects'"
)
tg-svg(svg-icon="icon-exclamation")
span {{ 'PROJECT.CREATE.MAX_PRIVATE_PROJECTS' | translate }}
div.create-project-warning(
.create-project-warning(
ng-if="!isPrivate && !canCreatePublicProjects.valid && canCreatePublicProjects.reason == 'max_public_projects'"
)
tg-svg(svg-icon="icon-exclamation")

View File

@ -1,8 +1,8 @@
tg-lightbox-close(on-close="onClose()")
.create-project.import-project
h1(translate="PROJECT.IMPORT.WARNING.TITLE")
.warning-users-import-lightbox
h1.warning-users-import-title(translate="PROJECT.IMPORT.WARNING.TITLE")
p(translate="PROJECT.IMPORT.WARNING.DESCRIPTION")
.actions
button.button.button-gray(translate="PROJECT.IMPORT.WARNING.CHECK", ng-click="onClose()")
button.button.button-trans(translate="PROJECT.IMPORT.WARNING.CHECK", ng-click="onClose()")
button.button.button-green(type="submit", translate="PROJECT.IMPORT.IMPORT", ng-click="onConfirm()")

View File

@ -1,9 +1,21 @@
tg-warning-user-import-lightbox {
.warning-users-import-lightbox {
max-width: 600px;
.warning-users-import-title {
text-align: center;
}
.actions {
display: flex;
justify-content: center;
button:first-child {
margin-right: .5rem;
margin: 2rem;
button {
flex: 1;
&:first-child {
flex: 0;
flex-basis: 40%;
margin-right: .5rem;
}
}
.button-trans {
color: $grayer;
}
}
}

View File

@ -218,8 +218,10 @@
}
&-warning {
@include font-size(small);
border: 1px solid $red-light;
display: flex;
padding: 1rem;
text-align: center;
margin-bottom: 1rem;
.icon-exclamation {
fill: $red-light;
margin-right: .5rem;