mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
1cf1037c93
* Started refactoring redux stores * Oh God huge refactor here * Sync contenst updates and nested folders * Fixed render tests * A bunch of tweaks
84 lines
1.5 KiB
Plaintext
84 lines
1.5 KiB
Plaintext
@import '../constants/colors';
|
|
@import '../constants/dimensions';
|
|
|
|
@border-color: @hl-md;
|
|
|
|
.ReactTabs {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
grid-template-columns: 100%;
|
|
align-content: stretch;
|
|
|
|
.ReactTabs__TabList {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
|
|
&::after {
|
|
width: 100%;
|
|
height: @line-height-sm;
|
|
content: "";
|
|
border-bottom: 1px solid @border-color;
|
|
}
|
|
}
|
|
|
|
.ReactTabs__Tab {
|
|
height: @line-height-sm;
|
|
border: 1px solid transparent;
|
|
border-bottom: 1px solid @border-color;
|
|
border-top: 0 !important;
|
|
white-space: nowrap;
|
|
display: flex;
|
|
position: static;
|
|
|
|
&:first-child {
|
|
border-left-color: transparent;
|
|
}
|
|
|
|
&:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
& > * {
|
|
color: @hl;
|
|
height: 100%;
|
|
padding-left: @padding-md / 4;
|
|
padding-right: @padding-md / 4;
|
|
|
|
&:first-child {
|
|
padding-left: @padding-md;
|
|
}
|
|
|
|
&:last-child {
|
|
padding-right: @padding-md;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.ReactTabs__Tab--selected {
|
|
border: 1px solid @border-color;
|
|
border-bottom-color: transparent;
|
|
|
|
* {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.ReactTabs__Tab > button,
|
|
.ReactTabs__Tab > .dropdown > button {
|
|
background: transparent;
|
|
}
|
|
|
|
.ReactTabs__TabPanel {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|