Files
daedalOS/components/system/Dialogs/Run/StyledRun.ts
Dustin Brett e55cca1427
Some checks failed
Tests / tests (push) Has been cancelled
Pkg upgrades
2025-04-09 22:17:22 -07:00

102 lines
1.8 KiB
TypeScript

import styled from "styled-components";
import StyledButton from "components/system/Dialogs/StyledButton";
const StyledRun = styled.div`
background-color: #fff;
border: 1px solid rgb(240 240 240);
font-size: 12px;
figure {
display: flex;
flex-direction: row;
padding: 20px 11px 14px;
figcaption {
line-height: 15px;
margin-bottom: 4px;
}
img {
height: 32px;
margin-right: 19px;
width: 32px;
}
}
div {
display: flex;
flex-direction: row;
label {
margin-top: 3px;
padding: 0 11px;
}
div {
position: relative;
width: 100%;
input,
select {
border: 1px solid rgb(122 122 122);
border-radius: 0;
font-family: ${({ theme }) => theme.formats.systemFont};
font-size: 12px;
height: 23px;
line-height: 16px;
margin: 0 13px 21px 8px;
padding-bottom: 2px;
padding-left: 5px;
width: 100%;
}
select {
background-color: #fff;
clip-path: inset(0 0 0 calc(100% - 19px));
position: absolute;
width: calc(100% - 21px);
&:disabled {
border: 1px solid rgb(122 122 122);
opacity: 100%;
}
}
input {
border-right: 0;
margin-right: 32px;
&:focus {
border: 1px solid rgb(0 120 215);
border-right: 0;
+ select {
border-color: rgb(0 120 215);
}
}
}
}
}
nav {
background-color: rgb(240 240 240);
display: flex;
flex-direction: row;
height: 100%;
${StyledButton} {
height: 24px;
margin-top: 19px;
position: absolute;
right: 12px;
width: 86px;
&:first-child {
right: 107px;
}
}
}
`;
export default StyledRun;