Skip to content
Snippets Groups Projects
Commit 4dd9d830 authored by stvoutsin's avatar stvoutsin
Browse files

Added classname to main textfields, apply style to classes in CSS

parent ba4d8496
No related branches found
No related tags found
1 merge request!87Issue/96 advanced search
......@@ -29,7 +29,7 @@
position: relative;
}
.workflow-search {
.search-large {
height: 5rem;
width: 60%;
border: 2px solid black;
......@@ -37,17 +37,17 @@
margin-bottom:30px;
}
.ida .workflow-search:focus{
.ida .search-large:focus{
outline: none;
border-color: blue;
}
.ida .workflow-search:focus + .placeholder-text .text, :not(input[value=""]) + .placeholder-text .text{
.ida .search-large:focus + .placeholder-text .text, :not(input[value=""]) + .placeholder-text .text{
background-color: white;
font-size: 1.1rem;
color: black;
transform: translate(0, -170%);
}
.ida .workflow-search:focus + .placeholder-text .text{
.ida .search-large:focus + .placeholder-text .text{
border-color: blueviolet;
color: blue;
}
......@@ -72,7 +72,7 @@
transition: transform 0.15s ease-out, font-size 0.15s ease-out, background-color 0.2s ease-out, color 0.15s ease-out;
}
.ida .workflow-search, .placeholder-text{
.ida .search-large, .placeholder-text{
font-size: 1.4rem;
padding: 0 1.2rem;
......
......@@ -240,7 +240,7 @@ export default function Interactive() {
<div class="search-buttons">
<input
className="workflow-search"
className="search-large"
type="text"
placeholder="Search for Workflows"
value={searchTerm}
......@@ -360,6 +360,7 @@ export default function Interactive() {
<div class="search-buttons">
<input
className="search-large"
type="text"
placeholder="Search for Facilities"
value={searchTerm}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment