mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Starting dedicated tabs stylesheet
This commit is contained in:
34
app/assets/stylesheets/darkswarm/tabs.css.sass
Normal file
34
app/assets/stylesheets/darkswarm/tabs.css.sass
Normal file
@@ -0,0 +1,34 @@
|
||||
dl.tabs
|
||||
background: url("/assets/matte.png") top left repeat
|
||||
display: block
|
||||
.section-container.auto
|
||||
margin-bottom: 0
|
||||
& > section
|
||||
transition:height 0s linear 0.5s
|
||||
& > .content
|
||||
background: none
|
||||
border: none
|
||||
img
|
||||
margin: 0px 0px 0px 40px
|
||||
p
|
||||
max-width: 555px
|
||||
@media all and (max-width: 768px)
|
||||
height: auto !important
|
||||
ul
|
||||
list-style-type: none
|
||||
padding-left: none
|
||||
.panel
|
||||
padding-bottom: 1.25em
|
||||
|
||||
& > .title, &.active > .title
|
||||
text-transform: uppercase
|
||||
line-height: 50px
|
||||
@media all and (max-width: 768px)
|
||||
line-height: 30px !important
|
||||
border: none
|
||||
&, &:hover
|
||||
background: none
|
||||
a
|
||||
padding: 0px 2.2em
|
||||
@media all and (max-width: 768px)
|
||||
line-height: inherit !important
|
||||
Reference in New Issue
Block a user