Remove custom placeholder styling - keep only Odoo standard styles

- Remove all custom placeholder CSS modifications
- Remove custom input field styling 
- Remove custom colors, borders, and visual enhancements
- Keep only the original functionality-related CSS
- Use Odoo's default styling for all input fields
- Focus purely on placeholder functionality without visual changes
This commit is contained in:
Mohamed Eltayar 2025-08-29 00:52:55 +03:00
parent b2ffbf3557
commit 0634076837
1 changed files with 0 additions and 112 deletions

View File

@ -64,115 +64,3 @@
}
}
}
/* ✅ تحسينات جديدة للـ placeholder */
/* تأكد من عرض placeholder بوضوح */
.o_datepicker_input::placeholder,
.o_hijri::placeholder {
color: #6c757d !important;
opacity: 1 !important;
font-style: italic;
font-size: 13px;
}
/* تأكد من عرض placeholder في جميع المتصفحات */
.o_datepicker_input::-webkit-input-placeholder,
.o_hijri::-webkit-input-placeholder {
color: #6c757d !important;
opacity: 1 !important;
font-style: italic;
}
.o_datepicker_input::-moz-placeholder,
.o_hijri::-moz-placeholder {
color: #6c757d !important;
opacity: 1 !important;
font-style: italic;
}
.o_datepicker_input:-ms-input-placeholder,
.o_hijri:-ms-input-placeholder {
color: #6c757d !important;
opacity: 1 !important;
font-style: italic;
}
.o_datepicker_input:-moz-placeholder,
.o_hijri:-moz-placeholder {
color: #6c757d !important;
opacity: 1 !important;
font-style: italic;
}
/* تحسين عرض الحقول في النماذج */
.o_form_view .o_datepicker {
.o_datepicker_input,
.o_hijri {
border: 1px solid #ced4da;
border-radius: 0.375rem;
padding: 0.375rem 0.75rem;
&:focus {
border-color: #80bdff;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
&::placeholder {
color: #6c757d !important;
opacity: 0.8 !important;
}
}
}
/* تحسين العرض في القوائم */
.o_list_view .o_datepicker {
.o_datepicker_input::placeholder,
.o_hijri::placeholder {
font-size: 12px !important;
color: #868e96 !important;
}
}
/* إضافة تمييز بصري للحقل الهجري */
.o_hijri {
background-color: #f8f9fa !important;
border-left: 3px solid #28a745 !important;
}
/* تحسين التباعد */
.o_datepicker .o_hijri {
margin-top: 8px !important;
}
/* تحسين الأيقونات */
.o_datepicker_button {
color: #6c757d;
&:hover {
color: #495057;
}
}
.o_hijri_datepicker_button {
color: #28a745;
&:hover {
color: #1e7e34;
}
}
/* استجابة للأجهزة المحمولة */
@media (max-width: 768px) {
.o_datepicker {
.o_datepicker_input,
.o_hijri {
font-size: 14px !important;
padding: 0.5rem !important;
&::placeholder {
font-size: 13px !important;
}
}
}
}