mirror of
https://github.com/PotentiaRobotics/website.git
synced 2025-04-09 15:00:20 -04:00
Stupid tabs
This commit is contained in:
parent
f53ce0e1e6
commit
f3d2d61d95
|
@ -22,7 +22,7 @@ import './assets/About.scss'
|
|||
|
||||
import { Nav, NavItem, NavLink, Card, Button, CardTitle, CardText, Row, Col, Container } from 'reactstrap'
|
||||
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs'
|
||||
import 'react-tabs/style/react-tabs.scss';
|
||||
import './assets/react-tabs.scss';
|
||||
// import {Tabs, Tab} from 'react-bootstrap-tabs';
|
||||
|
||||
// Leadership
|
||||
|
|
57
src/components/assets/react-tabs.scss
Normal file
57
src/components/assets/react-tabs.scss
Normal file
|
@ -0,0 +1,57 @@
|
|||
.react-tabs {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
|
||||
&__tab-list {
|
||||
border-bottom: 1px solid #98C1D9;
|
||||
margin: 0 0 10px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
&__tab {
|
||||
display: inline-block;
|
||||
border: 1px solid transparent;
|
||||
border-bottom: none;
|
||||
bottom: -1px;
|
||||
position: relative;
|
||||
list-style: none;
|
||||
padding: 6px 12px;
|
||||
cursor: pointer;
|
||||
background-color:#98C1D9;
|
||||
|
||||
&--selected {
|
||||
background: #EE6C4D;
|
||||
border-color: #aaa;
|
||||
color: #E0FBFC;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
&--disabled {
|
||||
color: #E0FBFC;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 5px hsl(208, 99%, 50%);
|
||||
border-color: hsl(208, 99%, 50%);
|
||||
outline: none;
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
height: 5px;
|
||||
left: -4px;
|
||||
right: -4px;
|
||||
bottom: -5px;
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__tab-panel {
|
||||
display: none;
|
||||
|
||||
&--selected {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user