How can I style the h:dataTable

table{
    width:100%;
}
table th,table td{
    text-align: center;
    background: #13A6F5 !important;    
    padding: 7px;
    border: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    color: #ffffff ;
    font-size: 14px;
}
table td{
    background: #fff !important;
    color: #000 !important;
    text-align: left;
}
table td:last-child{
    text-align: right;
}
table td a{
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
table td a:hover{
    text-decoration: none;
    opacity: 0.8;
}

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here