Created
February 5, 2015 22:43
-
-
Save tevko/ff45098a8826b6b5ae12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.account_dashboard_orderTable { | |
border: none; | |
width: 100%; | |
thead { | |
border-bottom: solid 1px black; | |
& > tr { | |
border-bottom: solid 1px black; | |
th { | |
font-weight: normal; | |
font-size: 11px; | |
padding: 10px; | |
} | |
} | |
} | |
tbody { | |
tr { | |
border-bottom: solid 1px $lightGray; | |
td { | |
font-size: 11px; | |
padding: 10px; | |
&:last-of-type { | |
padding-right: 0; | |
text-align: right; | |
} | |
} | |
} | |
} | |
@media (max-width: 644px) { | |
font-size: 11px; | |
display: block; | |
overflow: hidden; | |
margin-top: 10px; | |
thead { | |
z-index: 2; | |
border-top: solid 1px black; | |
border-bottom: none; | |
& > tr { | |
border-bottom: solid 1px black; | |
display: block; | |
background-color: $lightGray; | |
th { | |
font-weight: normal; | |
font-size: 11px; | |
padding: 10px; | |
display: block; | |
width: 75px; | |
} | |
} | |
} | |
tbody { | |
display: block; | |
white-space: nowrap; | |
overflow-x: scroll; | |
position: relative; | |
top: -230px; | |
left: 75px; | |
max-width: 72%; | |
margin-bottom: -230px; | |
tr { | |
display: inline-block; | |
background-color: rgb(236, 236, 236); | |
border-bottom: solid 1px black; | |
border-top: solid 1px black; | |
width: 50%; | |
padding-bottom: 20px; | |
td { | |
border-right: solid 2px white; | |
display: block; | |
font-size: 11px; | |
padding: 10px; | |
&:last-of-type { | |
padding: 0; | |
text-align: left; | |
} | |
} | |
&:only-of-type { | |
//only one order | |
width: 100%; | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment