mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-23 07:09:01 +01:00
UX - improvements Input Placeholders (#2780)
* add placeholders * placeholders for clone collection * placeholders for inputs, placeholder-global-opacity, change cursor type for clickables * revert placeholders for collection creation and collection cloning * revert c-placeholder * revert: cliert cert placeholder
This commit is contained in:
parent
9fdfee0083
commit
edb8708dde
@ -74,6 +74,7 @@ const PresetsSettings = ({ collection }) => {
|
|||||||
id="request-url"
|
id="request-url"
|
||||||
type="text"
|
type="text"
|
||||||
name="requestUrl"
|
name="requestUrl"
|
||||||
|
placeholder='Enter Request URL'
|
||||||
className="block textbox"
|
className="block textbox"
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCorrect="off"
|
autoCorrect="off"
|
||||||
|
@ -58,6 +58,7 @@ const CloneCollectionItem = ({ collection, item, onClose }) => {
|
|||||||
id="collection-item-name"
|
id="collection-item-name"
|
||||||
type="text"
|
type="text"
|
||||||
name="name"
|
name="name"
|
||||||
|
placeholder='Enter Item name'
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
className="block textbox mt-2 w-full"
|
className="block textbox mt-2 w-full"
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
|
@ -91,13 +91,13 @@ const Collections = () => {
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="search"
|
name="search"
|
||||||
|
placeholder="search"
|
||||||
id="search"
|
id="search"
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCorrect="off"
|
autoCorrect="off"
|
||||||
autoCapitalize="off"
|
autoCapitalize="off"
|
||||||
spellCheck="false"
|
spellCheck="false"
|
||||||
className="block w-full pl-7 py-1 sm:text-sm"
|
className="block w-full pl-7 py-1 sm:text-sm"
|
||||||
placeholder="search"
|
|
||||||
value={searchText}
|
value={searchText}
|
||||||
onChange={(e) => setSearchText(e.target.value.toLowerCase())}
|
onChange={(e) => setSearchText(e.target.value.toLowerCase())}
|
||||||
/>
|
/>
|
||||||
|
@ -160,7 +160,7 @@ const ImportCollectionLocation = ({ onClose, handleSubmit, collectionName, trans
|
|||||||
type="text"
|
type="text"
|
||||||
name="collectionLocation"
|
name="collectionLocation"
|
||||||
readOnly={true}
|
readOnly={true}
|
||||||
className="block textbox mt-2 w-full"
|
className="block textbox mt-2 w-full cursor-pointer"
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCorrect="off"
|
autoCorrect="off"
|
||||||
autoCapitalize="off"
|
autoCapitalize="off"
|
||||||
|
@ -229,6 +229,7 @@ const NewRequest = ({ collection, item, isEphemeral, onClose }) => {
|
|||||||
id="request-name"
|
id="request-name"
|
||||||
type="text"
|
type="text"
|
||||||
name="requestName"
|
name="requestName"
|
||||||
|
placeholder="Enter Request Name"
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
className="block textbox mt-2 w-full"
|
className="block textbox mt-2 w-full"
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
@ -261,6 +262,7 @@ const NewRequest = ({ collection, item, isEphemeral, onClose }) => {
|
|||||||
id="request-url"
|
id="request-url"
|
||||||
type="text"
|
type="text"
|
||||||
name="requestUrl"
|
name="requestUrl"
|
||||||
|
placeholder="Enter Request URL"
|
||||||
className="px-3 w-full "
|
className="px-3 w-full "
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCorrect="off"
|
autoCorrect="off"
|
||||||
|
@ -38,6 +38,11 @@ body {
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input::placeholder {
|
||||||
|
color: #a2a2a2;
|
||||||
|
opacity: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user