securityos/components/apps/FileExplorer/StyledSearch.ts

40 lines
820 B
TypeScript

import styled from "styled-components";
const StyledSearch = styled.div`
border: 1px solid rgb(83, 83, 83);
display: flex;
height: 30px;
margin: 6px 12px 6px 0;
max-width: 148px;
padding: 0;
position: relative;
width: 100%;
svg {
fill: rgb(113, 113, 113);
height: 12px;
left: 14px;
pointer-events: none;
position: absolute;
stroke: rgb(113, 113, 113);
stroke-width: 1;
top: 8px;
}
input {
background-color: rgb(25, 25, 25);
color: #fff;
font-family: ${({ theme }) => theme.formats.systemFont};
font-size: 12px;
font-weight: 400;
height: 28px;
padding-bottom: 2px;
padding-left: 40px;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
`;
export default StyledSearch;