X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/indofinance/theme-styles/scss
home
/
freights
/
public_html
/
wp-content
/
themes
/
indofinance
/
theme-styles
/
scss
/
??
..
??
9h5toyj6
(9.03 KB)
??
_content-single.scss
(1.69 KB)
??
_content-style1.scss
(2.34 KB)
??
_content-style2.scss
(2.69 KB)
??
_featured-area.scss
(21.04 KB)
??
_footer-widgets.scss
(1.36 KB)
??
_footer.scss
(2.12 KB)
??
_header.scss
(10.79 KB)
??
_mixins.scss
(702 B)
??
_navigation.scss
(7.08 KB)
??
_page.scss
(206 B)
??
_pagination.scss
(918 B)
??
_search.scss
(2.98 KB)
??
_sidebar.scss
(13.05 KB)
??
_theme-ui.scss
(1.61 KB)
??
_top-bar.scss
(1.06 KB)
??
_universal.scss
(4.12 KB)
??
_variables.scss
(282 B)
??
main.scss
(361 B)
??
nphjot40
(9.03 KB)
??
t9eh3n2n
(9.03 KB)
??
tfrbzv5c
(9.03 KB)
??
uwipvc73
(9.03 KB)
Editing: _search.scss
// Variables $placeholder-color: rgba(255, 255, 255, 0.7); $bg-overlay: rgba(0, 0, 0, 0.9); $border-color: #313131; // Mixin for placeholder styling @mixin placeholder { &::placeholder { color: var(--light-color); font-size: 4rem; font-weight: 600; } } /* Search Button */ .search__button { background: none; border: none; cursor: pointer; position: relative; } /* Full-Screen Search Overlay */ .search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: $bg-overlay; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 9999; &.active { opacity: 1; visibility: visible; } } /* Close Button */ .search-close { position: absolute; top: 20px; right: 20px; font-size: 3rem; background: none; border: none; color: var(--light-color); cursor: pointer; } /* Search Input */ .search__input { margin: 0.5rem auto; width: 100%; max-width: 600px; border: none; outline: none; color: var(--light-color); border: none !important; background: none; padding: 1rem; font-size: 4rem; /* Increased font size */ font-weight: 600; text-align: left; /* Align text to left */ border-bottom: solid 1px $border-color !important; /* Border bottom */ padding-bottom: 1rem !important; @mixin placeholder { &::placeholder { color: white !important; /* Ensure placeholder is always white */ font-size: 4rem; font-weight: 600; } } .search__input { &::placeholder { color: white !important; /* White placeholder text while typing */ } } &::-webkit-search-cancel-button { display: none; // Hide clear button (X) } @include placeholder; /* Hide the clear (X) button */ &::-webkit-search-cancel-button { display: none; } } /* Search Instructions */ .search-instruction { color: $placeholder-color; font-size: 1rem; text-align: left; /* Align to left */ margin-top: 5px; } /* Search Form Wrapper */ .search__form-wrapper { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; .search-overlay.active & { opacity: 1; visibility: visible; } } /* Responsive */ @media only screen and (min-width: 968px) { .search-form { display: none; } } .search-form { input[type="submit"] { display: none; } input[type="search"] { width: 100%; margin: auto; width: 540px; overflow: hidden; border: none; padding: 0.4rem 0.75rem; } } .search__input { color: white !important; /* Ensure input text remains white while typing */ &::placeholder { color: white !important; /* Placeholder remains white */ font-size: 4rem; font-weight: 600; } &:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active { -webkit-text-fill-color: white !important; /* Fix autofill text color */ transition: background-color 5000s ease-in-out 0s; } }
Upload File
Create Folder