This commit is contained in:
sairaj mote 2022-03-28 15:25:09 +05:30
parent 576a64cb13
commit b8c8d3e8d9
4 changed files with 16 additions and 9 deletions

View File

@ -290,7 +290,6 @@ border: none;
display: flex;
--success-color: #00C853;
--danger-color: red;
--width: 100%;
--icon-gap: 0.5rem;
--background: rgba(var(--text-color, (17,17,17)), 0.06);
}
@ -310,8 +309,8 @@ button:focus{
outline: var(--accent-color, teal) solid medium;
}
.icon {
height: 1.4rem;
width: 1.4rem;
height: 1.2rem;
width: 1.2rem;
fill: rgba(var(--text-color, (17,17,17)), 0.6);
}
@ -326,13 +325,12 @@ button:focus{
align-items: center;
position: relative;
gap: var(--icon-gap);
padding: var(--padding, 0.6rem 0.8rem);
padding: var(--padding, 0.8rem);
border-radius: var(--border-radius,0.3rem);
transition: opacity 0.3s, box-shadow 0.2s;
background: var(--background);
width: 100%;
outline: none;
min-height: 3.5rem;
}
.input.readonly .clear{
opacity: 0 !important;
@ -367,7 +365,7 @@ button:focus{
}
.outer-container{
position: relative;
width: var(--width);
width: 100%;
}
.container{
width: 100%;

View File

@ -145,6 +145,10 @@ a:any-link:focus-visible {
outline: rgba(var(--text-color), 1) 0.1rem solid;
}
sm-input {
--padding: 1rem;
}
sm-input,
sm-textarea,
tags-input {
@ -654,6 +658,7 @@ sm-copy {
#search_articles {
--border-radius: 0.5em;
width: 100%;
--padding: 0.6rem;
}
theme-toggle {
@ -1253,7 +1258,7 @@ theme-toggle {
#expanding_search {
margin: 1rem 1.5rem;
width: 20rem;
width: 18rem;
}
#search_suggestions {

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -132,6 +132,9 @@ button:disabled {
a:any-link:focus-visible {
outline: rgba(var(--text-color), 1) 0.1rem solid;
}
sm-input {
--padding: 1rem;
}
sm-input,
sm-textarea,
@ -612,6 +615,7 @@ sm-copy {
#search_articles {
--border-radius: 0.5em;
width: 100%;
--padding: 0.6rem;
}
theme-toggle {
margin-left: auto;
@ -1176,7 +1180,7 @@ theme-toggle {
}
#expanding_search {
margin: 1rem 1.5rem;
width: 20rem;
width: 18rem;
}
#search_suggestions {
top: calc(100% + 1rem);