Skip to content

Commit 4736154

Browse files
committed
chore: removal of useless bg
1 parent 462fc83 commit 4736154

File tree

1 file changed

+14
-93
lines changed

1 file changed

+14
-93
lines changed

web/static/style.css

Lines changed: 14 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ textarea {
642642
.tab-panel { display: none; }
643643
.tab-panel.active { display: block; }
644644
.form-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
645-
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
645+
.form-group { display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
646646
.form-group label { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
647647
.form-footer {
648648
display: flex;
@@ -1538,7 +1538,6 @@ textarea {
15381538
border-radius: 0.75rem;
15391539
border: 1px solid rgba(108, 112, 134, 0.3); /* overlay1 */
15401540
backdrop-filter: blur(10px);
1541-
flex-wrap: wrap;
15421541
}
15431542

15441543
#searchInput {
@@ -1682,18 +1681,11 @@ textarea {
16821681

16831682

16841683
input[type="text"],
1685-
input[type="password"],
1686-
select {
1684+
input[type="password"] {
16871685
background-color: rgba(17, 17, 27, 0.6);
16881686
color: var(--text);
16891687
appearance: none;
16901688
padding-right: 2rem;
1691-
cursor: pointer;
1692-
background-image: linear-gradient(45deg, transparent 50%, var(--mauve) 50%),
1693-
linear-gradient(135deg, var(--mauve) 50%, transparent 50%);
1694-
background-position: calc(100% - 15px) center, calc(100% - 10px) center;
1695-
background-size: 5px 5px, 5px 5px;
1696-
background-repeat: no-repeat;
16971689
}
16981690

16991691
input[type="text"]::placeholder,
@@ -1783,13 +1775,23 @@ select {
17831775
font-family: var(--font-sans);
17841776
font-size: 0.875rem;
17851777
font-weight: 500;
1786-
padding: 0.75rem 1rem;
1778+
padding: 0.75rem 2.5rem 0.75rem 1rem;
17871779
transition: all 0.25s ease;
17881780
cursor: pointer;
17891781
outline: none;
17901782
appearance: none;
17911783
-webkit-appearance: none;
17921784
-moz-appearance: none;
1785+
background-image: none;
1786+
}
1787+
1788+
/* Force remove all default browser dropdown arrows */
1789+
select::-ms-expand {
1790+
display: none;
1791+
}
1792+
1793+
select {
1794+
background-image: none !important;
17931795
}
17941796

17951797
select:hover {
@@ -1802,8 +1804,7 @@ select:focus {
18021804
border-color: var(--lavender);
18031805
background-color: rgba(69, 71, 90, 0.95);
18041806
box-shadow: 0 0 0 3px rgba(180, 190, 254, 0.15);
1805-
background-image: linear-gradient(45deg, transparent 50%, var(--lavender) 50%),
1806-
linear-gradient(135deg, var(--lavender) 50%, transparent 50%);
1807+
background-image: none;
18071808
}
18081809

18091810
/* Custom styling for select options */
@@ -1881,83 +1882,3 @@ select option:checked {
18811882
background-color: rgba(69, 71, 90, 0.95);
18821883
}
18831884
}
1884-
1885-
1886-
@media (max-width: 767px) {
1887-
.code-view-container {
1888-
display: flex !important;
1889-
flex-direction: row !important;
1890-
overflow: hidden !important;
1891-
background-color: var(--surface0) !important;
1892-
border: 1px solid var(--border-color) !important;
1893-
border-radius: 8px !important;
1894-
font-size: 13px !important;
1895-
}
1896-
1897-
.line-numbers {
1898-
min-width: 2rem !important;
1899-
max-width: 2rem !important;
1900-
padding: 0.75rem 0.3rem !important;
1901-
font-size: 12px !important;
1902-
line-height: 20px !important;
1903-
text-align: right !important;
1904-
flex-shrink: 0 !important;
1905-
display: flex !important;
1906-
flex-direction: column !important;
1907-
background-color: var(--surface1) !important;
1908-
border-right: 1px solid var(--border-color) !important;
1909-
}
1910-
1911-
.line-numbers .line-number {
1912-
display: block !important;
1913-
height: 20px !important;
1914-
}
1915-
1916-
.code-view-container pre {
1917-
display: block !important;
1918-
flex-grow: 1 !important;
1919-
padding: 0.75rem !important;
1920-
margin: 0 !important;
1921-
overflow: auto !important;
1922-
background: transparent !important;
1923-
line-height: 1.5 !important;
1924-
}
1925-
1926-
.code-view-container pre code {
1927-
display: block !important;
1928-
font-family: var(--font-mono) !important;
1929-
font-size: 13px !important;
1930-
line-height: 1.5 !important;
1931-
white-space: pre-wrap !important;
1932-
word-break: break-word !important;
1933-
overflow-wrap: break-word !important;
1934-
color: var(--text-primary) !important;
1935-
}
1936-
1937-
.hljs {
1938-
background: transparent !important;
1939-
padding: 0 !important;
1940-
display: block !important;
1941-
}
1942-
1943-
.paste-body {
1944-
padding: 1rem;
1945-
width: 100%;
1946-
max-width: 100%;
1947-
overflow-x: hidden;
1948-
}
1949-
1950-
.paste-footer {
1951-
border-radius: 0 0 8px 8px; /* round only bottom corners */
1952-
background-color: var(--surface0);
1953-
display: flex;
1954-
flex-direction: column;
1955-
gap: 0.5rem;
1956-
text-align: center;
1957-
padding: 1rem;
1958-
}
1959-
1960-
.footer-left, .footer-right {
1961-
justify-content: center;
1962-
}
1963-
}

0 commit comments

Comments
 (0)