mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-27 22:54:07 +00:00
91 lines
1.8 KiB
JavaScript
91 lines
1.8 KiB
JavaScript
import styled from 'styled-components';
|
|
|
|
const StyledWrapper = styled.div`
|
|
.settings-label {
|
|
width: 90px;
|
|
}
|
|
|
|
.certificate-icon {
|
|
color: ${(props) => props.theme.colors.text.yellow};
|
|
}
|
|
|
|
.non-passphrase-input {
|
|
width: 300px;
|
|
}
|
|
|
|
.available-certificates {
|
|
background-color: ${(props) => props.theme.requestTabPanel.url.bg};
|
|
|
|
button.remove-certificate {
|
|
color: ${(props) => props.theme.colors.text.danger};
|
|
}
|
|
}
|
|
|
|
.textbox {
|
|
border: 1px solid #ccc;
|
|
padding: 0.15rem 0.45rem;
|
|
box-shadow: none;
|
|
border-radius: 0px;
|
|
outline: none;
|
|
box-shadow: none;
|
|
transition: border-color ease-in-out 0.1s;
|
|
border-radius: 3px;
|
|
background-color: ${(props) => props.theme.input.bg};
|
|
border: 1px solid ${(props) => props.theme.input.border};
|
|
|
|
&:focus {
|
|
border: solid 1px ${(props) => props.theme.input.focusBorder} !important;
|
|
outline: none !important;
|
|
}
|
|
}
|
|
|
|
.protocol-placeholder {
|
|
height: 100%;
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 60px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.protocol-https,
|
|
.protocol-grpcs,
|
|
.protocol-wss {
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.protocol-https {
|
|
animation: slideUpDown 9s infinite;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.protocol-grpcs {
|
|
animation: slideUpDown 9s infinite 3s;
|
|
transform: translateY(100%);
|
|
}
|
|
|
|
.protocol-wss {
|
|
animation: slideUpDown 9s infinite 6s;
|
|
transform: translateY(100%);
|
|
}
|
|
|
|
@keyframes slideUpDown {
|
|
0%, 30% {
|
|
transform: translateY(0);
|
|
}
|
|
33.33%, 97% {
|
|
transform: translateY(100%);
|
|
}
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
`;
|
|
|
|
export default StyledWrapper;
|