Skip to content

Commit 3a3e715

Browse files
scss rule refacto
1 parent 4fde019 commit 3a3e715

5 files changed

Lines changed: 12 additions & 25 deletions

File tree

‎opensilex-front/front/src/components/data/form/ProvenanceForm.vue‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -270,14 +270,6 @@ export default class ProvenanceForm extends Vue {
270270
border-bottom: 1px solid #a7a7a7;
271271
}
272272
273-
.divHelpMsg{
274-
background-color: rgba(0, 162, 140, 0.1);
275-
border: 1px solid rgba(0, 162, 140, 0.5);
276-
border-radius: 5px;
277-
padding: 1rem;
278-
margin: 0.5rem 0;
279-
}
280-
281273
.helpMsg {
282274
color: #007bff;
283275
margin: 0;

‎opensilex-front/front/src/components/projects/ProjectForm2.vue‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
></opensilex-PersonSelector>
3535

3636
<!-- Objective -->
37-
<div class="helpMsg"
37+
<div class="divHelpMsg"
3838
v-if="form.objective != null || form.description != null "
3939
>
4040
<p>{{$t('ProjectForm.help-msg')}} </p>
@@ -79,13 +79,7 @@ export default class ProjectForm2 extends Vue {
7979
}
8080
</script>
8181
<style scoped lang="scss">
82-
.helpMsg{
83-
background-color: rgba(0, 162, 140, 0.1);
84-
border: 1px solid rgba(0, 162, 140, 0.5);
85-
border-radius: 5px;
86-
padding: 0.4rem 0.8rem;
87-
margin: 0.5rem 0;
88-
82+
.divHelpMsg{
8983
p {
9084
margin: 0;
9185
padding: 0;

‎opensilex-front/front/src/components/variables/form/VariableForm.vue‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,7 @@ export default class VariableForm extends Vue {
836836
#traitButton {
837837
padding-top: 23px;
838838
}
839+
839840
.helpMsg{
840841
margin: 0;
841842
padding: 0;
@@ -844,15 +845,6 @@ export default class VariableForm extends Vue {
844845
padding-left: 0.2rem;
845846
}
846847
847-
.divHelpMsg{
848-
display: flex;
849-
background-color: rgba(0, 162, 140, 0.1);
850-
border: 1px solid rgba(0, 162, 140, 0.5);
851-
border-radius: 5px;
852-
padding: 1rem;
853-
margin: 0.5rem 0;
854-
}
855-
856848
</style>
857849

858850
<i18n>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.divHelpMsg{
2+
display: flex;
3+
background-color: rgba(0, 162, 140, 0.1);
4+
border: 1px solid rgba(0, 162, 140, 0.5);
5+
border-radius: 5px;
6+
padding: 1rem;
7+
margin: 0.5rem 0;
8+
}

‎opensilex-front/front/theme/opensilex/opensilex.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ stylesheets:
1717
- _layout.scss
1818
- _auth.scss
1919
- _main.scss
20+
- _helpMessage.scss
2021
- main.css
2122
- fix.css
2223
- hamburgers.css

0 commit comments

Comments
 (0)