OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/assets/stylesheets/content/_tabs.sass

95 lines
1.9 KiB

.tabrow
display: table
text-align: left
list-style: none
margin: 0
padding: 4px 0 0 0
line-height: $work-package-details--tab-height - 10px
height: $work-package-details--tab-height
overflow: hidden
position: relative
width: 100%
font-weight: bold
text-transform: uppercase
li
background: #ffffff
display: table-cell
position: relative
margin: 0
padding: 0
text-align: center
cursor: pointer
.wp-tabs-count
margin-left: 5px
border-radius: 0.5rem
min-width: 1rem
display: inline-block
font-size: 0.7rem
line-height: 1rem
min-height: 1rem
vertical-align: 0.1rem
padding: 0 0.15rem 0 0.15rem
background: $light-gray
font-weight: bold
a
color: #333
text-decoration: none
&:hover
text-decoration: none
li.tab-icon
width: 5%
.icon-context:before
padding-top: 10px
&:hover
border-bottom: 0
li.selected,
li:hover
color: #999
border-bottom: 2px solid
@include varprop(border-bottom-color, content-link-color)
a
@include varprop(color, content-link-color)
.wp-tabs-count
@include varprop(color, content-link-color)
&:hover
@include varprop(color, content-link-color)
.scrollable-tabs
position: relative
height: 40px
overflow: hidden
.tabrow
display: block
overflow-x: auto
white-space: nowrap
padding-bottom: 17px
height: 57px
li
height: 36px
display: inline-block
padding-left: 1rem
padding-right: 1rem
.scrollable-tabs--button
display: block
width: 20px
position: absolute
top: 0px
line-height: 40px
background: white
color: $light-gray
&.-left
left: 0
box-shadow: 0px 0px 10px 10px white
text-align: left
&.-right
right: 0
text-align: right
box-shadow: 0px 0px 10px 10px white
&:hover
@include varprop(color, content-link-color)
cursor: pointer