redoc/lib/shared/components/Tabs/tabs.scss

51 lines
776 B
SCSS
Raw Normal View History

2015-11-23 22:54:20 +03:00
@import '../../styles/variables';
2015-11-22 23:34:40 +03:00
:host {
display: block;
}
2015-10-22 20:52:03 +03:00
ul {
display: block;
margin: 0;
padding: 0;
2015-10-22 20:52:03 +03:00
}
li {
list-style: none;
display: inline-block;
cursor: pointer;
}
2015-11-22 23:34:40 +03:00
.tab-success, .tab-error, .tab-redirect, .tab-info {
&:before {
content: "";
display: inline-block;
2016-03-08 23:03:05 +03:00
position: relative;
top: -2px;
height: 4px;
width: 4px;
2015-11-22 23:34:40 +03:00
border-radius: 50%;
margin-right: 0.5em;
2015-11-22 23:34:40 +03:00
}
}
.tab-success:before {
2016-03-08 23:03:05 +03:00
box-shadow: 0 0 3px 0 $green;
background-color: $green;
2015-11-22 23:34:40 +03:00
}
.tab-error:before {
2016-03-08 23:03:05 +03:00
box-shadow: 0 0 3px 0 $red;
background-color: $red;
2015-11-22 23:34:40 +03:00
}
.tab-redirect:before {
2016-03-08 23:03:05 +03:00
box-shadow: 0 0 3px 0 $yellow;
background-color: $yellow;
2015-11-22 23:34:40 +03:00
}
.tab-info:before {
2016-03-08 23:03:05 +03:00
box-shadow: 0 0 3px 0 $primary-color;
background-color: $primary-color;
2015-10-22 20:52:03 +03:00
}