Add CSS styles for readonly mode hijri field display
This commit is contained in:
parent
1375ec9270
commit
da680a6d54
|
|
@ -115,6 +115,42 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Readonly mode styles for hijri field
|
||||
.o_hijri_readonly_container {
|
||||
margin-top: 8px;
|
||||
|
||||
.o_hijri_readonly_row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.o_hijri_readonly_label {
|
||||
min-width: 120px;
|
||||
padding-right: 8px;
|
||||
text-align: right;
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
color: #495057;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.o_hijri_readonly_value {
|
||||
flex: 1;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Form view readonly specific styles
|
||||
.o_form_view {
|
||||
.o_hijri_readonly_container {
|
||||
.o_hijri_readonly_row {
|
||||
.o_hijri_readonly_label {
|
||||
min-width: 140px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive adjustments
|
||||
@media (max-width: 768px) {
|
||||
.o_datepicker {
|
||||
|
|
@ -132,4 +168,18 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.o_hijri_readonly_container {
|
||||
.o_hijri_readonly_row {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
||||
.o_hijri_readonly_label {
|
||||
min-width: auto;
|
||||
text-align: right;
|
||||
padding-right: 0;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue