Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions sao/src/theme/coog/sao.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
// Simple fields readonly styles
.coog-readonly-field-mixin {
background-color: @color-lightest-grey;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-left-radius: 5px !important;
border-top-right-radius: 5px !important;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not nice

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

certes, mais il y a du standard dans Tryton qui passe avant. En général j'essaye d'éviter :(

}

// XXX2Many Mixin
Expand Down Expand Up @@ -569,6 +569,7 @@ div.form-many2one, div.form-selection, div.form-date, div.form-char {
.readonly {
.input-group, select.form-control:disabled {
.coog-readonly-field-mixin();
background-image: none;
}
}
}
Expand Down Expand Up @@ -627,6 +628,7 @@ div.form-text {
// Make selections without any options look readonly
select:empty, select:has(> option[value="null"]):not(:has(> option:not([value="null"]))) {
.coog-readonly-field-mixin();
background-image: none;
pointer-events: none;
}

Expand Down