mirror of
https://github.com/strapi/strapi.git
synced 2025-07-25 09:56:53 +00:00
Fix popups design settings manager
This commit is contained in:
parent
0885775fe3
commit
0f52c91a97
@ -38,7 +38,7 @@ class ContentHeader extends React.Component { // eslint-disable-line react/prefe
|
|||||||
}
|
}
|
||||||
|
|
||||||
renderContentHeader = () => {
|
renderContentHeader = () => {
|
||||||
const description = isEmpty(this.props.description) ? '' : <FormattedMessage id='contentHeader.description' defaultMessage='{description}' values={{ description: this.props.description}} />;
|
const description = isEmpty(this.props.description) ? '' : <FormattedMessage id={this.props.description} defaultMessage='{description}' values={{ description: this.props.description}} />;
|
||||||
const buttons = this.props.addButtons ? this.renderButtonContainer() : '';
|
const buttons = this.props.addButtons ? this.renderButtonContainer() : '';
|
||||||
return (
|
return (
|
||||||
<div className={styles.contentHeader} style={this.props.styles}>
|
<div className={styles.contentHeader} style={this.props.styles}>
|
||||||
@ -63,7 +63,7 @@ class ContentHeader extends React.Component { // eslint-disable-line react/prefe
|
|||||||
<div className={styles.contentHeader} style={this.props.styles}>
|
<div className={styles.contentHeader} style={this.props.styles}>
|
||||||
<div>
|
<div>
|
||||||
<div className={styles.title}>
|
<div className={styles.title}>
|
||||||
<FormattedMessage id='contentHeader.title' defaultMessage='{title}' values={{ title: this.props.name}} />
|
<FormattedMessage id={this.props.name} />
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.subTitle}>{description}</div>
|
<div className={styles.subTitle}>{description}</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"contentType.temporaryDisplay": "(Not saved)",
|
"contentType.temporaryDisplay": "(Non sauvegardé)",
|
||||||
"home.contentTypeBuilder.name": "Content Types",
|
"home.contentTypeBuilder.name": "Content Types",
|
||||||
"home.contentTypeBuilder.description": "Créez, éditer vos modèles.",
|
"home.contentTypeBuilder.description": "Créez, éditer vos modèles.",
|
||||||
"home.emptyContentType.title": "Il n'y a pas de model disponible",
|
"home.emptyContentType.title": "Il n'y a pas de model disponible",
|
||||||
|
@ -243,12 +243,12 @@ button {
|
|||||||
|
|
||||||
.modalBody {
|
.modalBody {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-top: 2rem;
|
padding-top: 2.1rem;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalFooter {
|
.modalFooter {
|
||||||
margin-top: 1.1rem;
|
margin-top: 1.5rem;
|
||||||
margin-bottom: 1.1rem;
|
margin-bottom: 1.1rem;
|
||||||
> input {
|
> input {
|
||||||
margin-top: 1.3rem!important;
|
margin-top: 1.3rem!important;
|
||||||
@ -270,8 +270,28 @@ button {
|
|||||||
|
|
||||||
}
|
}
|
||||||
> button {
|
> button {
|
||||||
|
z-index: 999;
|
||||||
|
margin-top: -2rem;
|
||||||
|
margin-right: -1.5rem;
|
||||||
|
color: #C3C5C8;
|
||||||
|
opacity: 1;
|
||||||
|
font-size: 1.8rem;
|
||||||
|
font-weight: 100;
|
||||||
|
&:hover, &:focus {
|
||||||
|
color: #C3C5C8;
|
||||||
|
opacity: 1;
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
> span {
|
> span {
|
||||||
color: #0E1622!important;
|
display: none;
|
||||||
|
}
|
||||||
|
&:before {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
content: '\F00d';
|
||||||
|
font-family: 'FontAwesome';
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
.defaultConnection {
|
.defaultConnection {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -5.4rem;
|
bottom: -5.5rem;
|
||||||
left: 3rem;
|
left: 3rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
color: #27B710;
|
color: #27B710;
|
||||||
|
@ -13,7 +13,29 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
> button {
|
> button {
|
||||||
|
margin-top: -2rem;
|
||||||
margin-right: 0!important;
|
margin-right: 0!important;
|
||||||
|
z-index: 999;
|
||||||
|
color: #C3C5C8;
|
||||||
|
opacity: 1;
|
||||||
|
font-size: 1.8rem;
|
||||||
|
font-weight: 100;
|
||||||
|
&:hover, &:focus {
|
||||||
|
color: #C3C5C8;
|
||||||
|
opacity: 1;
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
> span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
&:before {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
content: '\F00d';
|
||||||
|
font-family: 'FontAwesome';
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,21 +92,24 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0 .5rem;
|
padding: 0 .5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 3.5rem;
|
margin-top: 3rem;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalBody {
|
.modalBody {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
|
padding-top: 1.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.modalPosition {
|
.modalPosition {
|
||||||
top: 18.7rem;
|
|
||||||
width: 37.5rem;
|
|
||||||
> div {
|
> div {
|
||||||
padding: 0!important;
|
border:none;
|
||||||
|
border-radius: 2px;
|
||||||
|
width: 37.5rem;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -122,7 +147,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalPosition {
|
// .modalPosition {
|
||||||
top: 20.3rem;
|
// top: 20.3rem;
|
||||||
width: 37.5rem;
|
// width: 37.5rem;
|
||||||
}
|
// }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user