Created
November 30, 2017 12:03
-
-
Save kartikparmar/62aaaca89edb46b70b5eaa4114f6a979 to your computer and use it in GitHub Desktop.
Applying styling for the Orders table, Action Buttons and View all orders Link.
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
.complete, .processing, .view { | |
display: block; | |
text-indent: -9999px; | |
position: relative; | |
height: 1em; | |
width: 1em; | |
padding: 0!important; | |
height: 2em!important; | |
width: 2em; | |
} | |
.complete::after { | |
font-family: Dashicons; | |
speak: none; | |
font-weight: 400; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
margin: 0; | |
text-indent: 0; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
text-align: center; | |
content: ""; | |
line-height: 1.85; | |
} | |
.processing::after { | |
font-family: WooCommerce; | |
speak: none; | |
font-weight: 400; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
margin: 0; | |
text-indent: 0; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
text-align: center; | |
content: ""; | |
line-height: 1.85; | |
} | |
.view::after { | |
font-family: Dashicons; | |
speak: none; | |
font-weight: 400; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
margin: 0; | |
text-indent: 0; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
text-align: center; | |
content: ""; | |
line-height: 1.85; | |
} | |
mark.cancelled::after, mark.completed::after, mark.failed::after, mark.on-hold::after, mark.pending::after, mark.processing::after, mark.refunded::after { | |
font-family: WooCommerce; | |
speak: none; | |
font-weight: 400; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
margin: 0; | |
text-indent: 0; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
text-align: center; | |
content: ""; | |
} | |
#vao_orders{ | |
margin-top:20px; | |
font-size:large; | |
text-align: center; | |
} | |
.vao_orders_table { | |
border: 1px #eee solid; | |
padding: 10px; | |
} | |
table.vao_orders_table > tbody{ | |
text-align: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment