diff --git a/app/react/App/scss/Vars.scss b/app/react/App/scss/Vars.scss deleted file mode 100644 index 311e23b636..0000000000 --- a/app/react/App/scss/Vars.scss +++ /dev/null @@ -1,21 +0,0 @@ -$brandColor: rgb(100, 161, 163); -$primary: rgb(80, 140, 184); - -$backGroundColor1: rgb(153, 153, 153); -$backGroundColor2: rgb(250, 250, 250); -$backGroundColor3: rgb(238, 238, 238); -$backGroundColor4: rgb(84, 84, 84); -$softFontColor: #989495; -$hardFontColor: #333; - -$successColor: rgb(122, 184, 96); -$infoColor: rgb(80, 140, 184); -$warningColor: rgb(213, 133, 88); -$dangerColor: rgb(183, 104, 61); -$fancyColor: rgb(175, 77, 156); - -$xxs: "(max-width: 640px)"; -$xs: "(max-width: 767px)"; -$sm: "(min-width: 768px) and (max-width: 992px)"; -$md: "(min-width: 992px) and (max-width: 1200px)"; -$lg: "(min-width: 1200px)"; diff --git a/app/react/App/scss/elements/_panel.scss b/app/react/App/scss/elements/_panel.scss index e01ee22eb1..c0a0064b7f 100644 --- a/app/react/App/scss/elements/_panel.scss +++ b/app/react/App/scss/elements/_panel.scss @@ -10,7 +10,12 @@ } .panel > .list-group .list-group-item { - //border-width: 1px 0 1px 3px; + display: -webkit-flex; + display: flex; + -webkit-align-items: center; + align-items: center; + -webkit-justify-content: space-between; + justify-content: space-between; line-height: 23px; border-color: $c-grey-light; border-left-color: transparent; @@ -42,13 +47,18 @@ } .form-group { - margin: 0 0 5px; + width: 100%; + margin: 3px 0; } .form-control { margin: 0; } } +.list-group-item-actions { + white-space: nowrap; +} + .panel { .list-group { .list-group-item { @@ -96,10 +106,5 @@ opacity: 0; } } - .list-group-item-actions { - position: absolute; - top: 10px; - right: 10px; - } } } diff --git a/app/react/App/scss/modules/_settings-nav.scss b/app/react/App/scss/modules/_settings-nav.scss index 2c72ac58de..de20420413 100644 --- a/app/react/App/scss/modules/_settings-nav.scss +++ b/app/react/App/scss/modules/_settings-nav.scss @@ -1,3 +1,20 @@ .navLinks { @include draggable; } + +.NavlinksSettings { + .panel-heading { + height: 50px; + padding: 0 15px; + display: -webkit-flex; + display: flex; + -webkit-align-items: center; + align-items: center; + -webkit-justify-content: space-between; + justify-content: space-between; + } + .list-group-item { + -webkit-flex-wrap: wrap; + flex-wrap: wrap; + } +} diff --git a/app/react/App/scss/modules/_settings-translations.scss b/app/react/App/scss/modules/_settings-translations.scss new file mode 100644 index 0000000000..c6ea9f52d4 --- /dev/null +++ b/app/react/App/scss/modules/_settings-translations.scss @@ -0,0 +1,6 @@ +.EditTranslationForm { + .list-group-item { + -webkit-flex-wrap: wrap; + flex-wrap: wrap; + } +} \ No newline at end of file diff --git a/app/react/App/scss/styles.scss b/app/react/App/scss/styles.scss index 4010748c37..969369f281 100644 --- a/app/react/App/scss/styles.scss +++ b/app/react/App/scss/styles.scss @@ -30,6 +30,7 @@ @import "modules/settings-nav"; @import "modules/settings-metadata"; @import "modules/settings-filters"; +@import "modules/settings-translations"; @import "modules/uploads"; @import "modules/login"; @import "modules/markdown"; @@ -38,4 +39,3 @@ @import "../../Timeline/scss/timeline"; @import "utilities/utilities"; -@import "transitions/transitions"; diff --git a/app/react/App/scss/transitions/_transitions.scss b/app/react/App/scss/transitions/_transitions.scss deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/app/react/I18N/components/EditTranslationForm.js b/app/react/I18N/components/EditTranslationForm.js index 3caebfda05..3129550a00 100644 --- a/app/react/I18N/components/EditTranslationForm.js +++ b/app/react/I18N/components/EditTranslationForm.js @@ -63,7 +63,7 @@ export class EditTranslationForm extends Component { let contextName = defaultTranslationContext.label; return ( -