Apply suggestions from code review of branch reset-to-default
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
This commit is contained in:
parent
697a121275
commit
f89c4795ab
2 changed files with 5 additions and 5 deletions
|
|
@ -274,11 +274,11 @@
|
||||||
// A text label for an input control that is highlighted
|
// A text label for an input control that is highlighted
|
||||||
.ofm-highlighted-label {
|
.ofm-highlighted-label {
|
||||||
color: @darkened-primary-color;
|
color: @darkened-primary-color;
|
||||||
|
// 500 is slightly more bold than normal text (400) and less than semi-bold (600)
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reduing the ui-kit mergins from 20px to 5px
|
// Reducing the ui-kit margins from 20px to 5px
|
||||||
.ofm-close-pars p{
|
.ofm-close-pars p{
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
@ -304,12 +304,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.uk-alert-success{
|
.uk-alert-success{
|
||||||
color: rgba(28, 131, 45);
|
color: rgb(28, 131, 45);
|
||||||
background-color: rgba(130, 221, 145, 0.671);
|
background-color: rgba(130, 221, 145, 0.671);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// For links that shouldn't look style like links (such as in menus)
|
// For links that shouldn't look styled like links (such as in menus)
|
||||||
.ofm-hidden-link {
|
.ofm-hidden-link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
||||||
|
|
@ -306,7 +306,7 @@ export default {
|
||||||
return this.dataSchema.minimum;
|
return this.dataSchema.minimum;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Is changed from default (or has no default set)
|
* Is the value changed from default (If no default is set this returns false)
|
||||||
*/
|
*/
|
||||||
isChangedFomDefault() {
|
isChangedFomDefault() {
|
||||||
if (this.dataSchema.default === undefined) return false;
|
if (this.dataSchema.default === undefined) return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue