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

104 lines
2.2 KiB

.tabrow
display: table
text-align: left
list-style: none
margin: 0
padding: 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
display: table-cell
box-sizing: content-box
position: relative
line-height: 38px
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
display: inline-block
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
a
@include varprop(color, content-link-color)
.wp-tabs-count
@include varprop(color, content-link-color)
&:hover
@include varprop(color, content-link-color)
li.selected,
li.selected:hover
@include varprop(border-bottom-color, content-link-color)
li:hover
border-bottom-color: #DDDDDD
.scrollable-tabs
position: relative
overflow: hidden
box-sizing: content-box
height: 40px
border-bottom: 1px solid #DDDDDD
.tabrow
display: block
overflow-x: auto
white-space: nowrap
// Padding for hiding the scroll bar
padding-bottom: 17px
height: 57px
li
display: inline-block
padding-left: 1rem
padding-right: 1rem
font-size: 14px
.scrollable-tabs--button
display: block
width: 20px
position: absolute
top: 0px
line-height: 38px
background: white
color: $light-gray
font-size: 0.7rem
&.-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