generated from Seekra/repository-template
Apply CSS variables to the search bar
This commit is contained in:
@@ -29,7 +29,7 @@ limitations under the License.
|
|||||||
--padding-left: calc(var(--content-height) + var(--padding));
|
--padding-left: calc(var(--content-height) + var(--padding));
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1.5px solid #ccc;
|
border: 1.5px solid var(--light-d-3);
|
||||||
box-shadow: 0 0px 32px rgba(69, 98, 190, 0.25);
|
box-shadow: 0 0px 32px rgba(69, 98, 190, 0.25);
|
||||||
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y) + var(--padding));
|
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y) + var(--padding));
|
||||||
padding: var(--padding);
|
padding: var(--padding);
|
||||||
@@ -52,13 +52,13 @@ limitations under the License.
|
|||||||
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y));
|
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y));
|
||||||
border: none;
|
border: none;
|
||||||
padding: var(--submit-button-padding-y) 20px;
|
padding: var(--submit-button-padding-y) 20px;
|
||||||
background: #4562BE;
|
background: var(--primary-color);
|
||||||
color: white;
|
color: white;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-button:hover {
|
.search-button:hover {
|
||||||
background: #374FA5;
|
background: var(--primary-color-l-1);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user