Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
3eeefe91
Commit
3eeefe91
authored
Aug 11, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
search bar and table tweaks
parent
7d046cb2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
Input.ts
theme/components/Input.ts
+3
-2
Table.ts
theme/components/Table.ts
+3
-3
getOutlinedFieldStyles.ts
theme/utils/getOutlinedFieldStyles.ts
+4
-1
Header.tsx
ui/header/Header.tsx
+2
-2
No files found.
theme/components/Input.ts
View file @
3eeefe91
...
@@ -33,8 +33,9 @@ const variantOutline: PartsStyleFunction<typeof parts> = (props) => {
...
@@ -33,8 +33,9 @@ const variantOutline: PartsStyleFunction<typeof parts> = (props) => {
field
:
getOutlinedFieldStyles
(
props
),
field
:
getOutlinedFieldStyles
(
props
),
addon
:
{
addon
:
{
border
:
'
2px solid
'
,
border
:
'
2px solid
'
,
borderColor
:
mode
(
'
gray.100
'
,
'
whiteAlpha.200
'
)(
props
),
borderColor
:
'
transparent
'
,
bg
:
mode
(
'
gray.100
'
,
'
whiteAlpha.200
'
)(
props
),
bg
:
mode
(
'
blackAlpha.100
'
,
'
whiteAlpha.200
'
)(
props
),
color
:
mode
(
'
blackAlpha.800
'
,
'
whiteAlpha.800
'
)(
props
),
...
transitionProps
,
...
transitionProps
,
},
},
};
};
...
...
theme/components/Table.ts
View file @
3eeefe91
...
@@ -11,15 +11,15 @@ const variantSimple: PartsStyleFunction<typeof parts> = (props) => {
...
@@ -11,15 +11,15 @@ const variantSimple: PartsStyleFunction<typeof parts> = (props) => {
return
{
return
{
th
:
{
th
:
{
border
:
0
,
border
:
0
,
color
:
mode
(
'
gray.
5
00
'
,
'
gray.50
'
)(
props
),
color
:
mode
(
'
gray.
6
00
'
,
'
gray.50
'
)(
props
),
...
transitionProps
,
...
transitionProps
,
},
},
thead
:
{
thead
:
{
backgroundColor
:
mode
(
'
gray.5
0
'
,
'
whiteAlpha.200
'
)(
props
),
backgroundColor
:
mode
(
'
blackAlpha.10
0
'
,
'
whiteAlpha.200
'
)(
props
),
...
transitionProps
,
...
transitionProps
,
},
},
td
:
{
td
:
{
borderColor
:
mode
(
'
gray
.200
'
,
'
whiteAlpha.200
'
)(
props
),
borderColor
:
mode
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
)(
props
),
...
transitionProps
,
...
transitionProps
,
},
},
};
};
...
...
theme/utils/getOutlinedFieldStyles.ts
View file @
3eeefe91
...
@@ -36,7 +36,10 @@ export default function getOutlinedFieldStyles(props: StyleFunctionProps) {
...
@@ -36,7 +36,10 @@ export default function getOutlinedFieldStyles(props: StyleFunctionProps) {
borderColor
:
getColor
(
theme
,
fc
),
borderColor
:
getColor
(
theme
,
fc
),
boxShadow
:
'
0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06)
'
,
boxShadow
:
'
0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06)
'
,
},
},
'
:placeholder-shown:not(:focus-visible):not(:hover)
'
:
{
borderColor
:
mode
(
'
gray.100
'
,
'
whiteAlpha.200
'
)(
props
)
},
_placeholder
:
{
color
:
mode
(
'
blackAlpha.600
'
,
'
whiteAlpha.600
'
)(
props
),
},
'
:placeholder-shown:not(:focus-visible):not(:hover)
'
:
{
borderColor
:
mode
(
'
blackAlpha.100
'
,
'
whiteAlpha.200
'
)(
props
)
},
'
:-webkit-autofill
'
:
{
transition
:
'
background-color 5000s ease-in-out 0s
'
},
'
:-webkit-autofill
'
:
{
transition
:
'
background-color 5000s ease-in-out 0s
'
},
'
:-webkit-autofill:hover
'
:
{
transition
:
'
background-color 5000s ease-in-out 0s
'
},
'
:-webkit-autofill:hover
'
:
{
transition
:
'
background-color 5000s ease-in-out 0s
'
},
'
:-webkit-autofill:focus
'
:
{
transition
:
'
background-color 5000s ease-in-out 0s
'
},
'
:-webkit-autofill:focus
'
:
{
transition
:
'
background-color 5000s ease-in-out 0s
'
},
...
...
ui/header/Header.tsx
View file @
3eeefe91
...
@@ -20,9 +20,9 @@ const Header = () => {
...
@@ -20,9 +20,9 @@ const Header = () => {
<
InputGroup
>
<
InputGroup
>
<
InputLeftAddon
w=
"111px"
>
All filters
</
InputLeftAddon
>
<
InputLeftAddon
w=
"111px"
>
All filters
</
InputLeftAddon
>
<
InputLeftElement
w=
{
6
}
ml=
"132px"
mr=
{
2.5
}
>
<
InputLeftElement
w=
{
6
}
ml=
"132px"
mr=
{
2.5
}
>
<
SearchIcon
w=
{
5
}
h=
{
5
}
color=
"gray.500"
/>
<
SearchIcon
w=
{
5
}
h=
{
5
}
color=
{
useColorModeValue
(
'
blackAlpha.600
'
,
'
whiteAlpha.600
'
)
}
/>
</
InputLeftElement
>
</
InputLeftElement
>
<
Input
paddingInlineStart=
"50px"
placeholder=
"Search by addresses / transactions / block / token... "
/>
<
Input
paddingInlineStart=
"50px"
placeholder=
"Search by addresses / transactions / block / token... "
ml=
"1px"
/>
</
InputGroup
>
</
InputGroup
>
<
ColorModeToggler
/>
<
ColorModeToggler
/>
<
Center
minWidth=
"50px"
width=
"50px"
height=
"50px"
bg=
{
useColorModeValue
(
'
blackAlpha.100
'
,
'
white
'
)
}
borderRadius=
"50%"
overflow=
"hidden"
>
<
Center
minWidth=
"50px"
width=
"50px"
height=
"50px"
bg=
{
useColorModeValue
(
'
blackAlpha.100
'
,
'
white
'
)
}
borderRadius=
"50%"
overflow=
"hidden"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment