﻿/* DevExtreme set the font to what Vision uses */
/* TODO: potentially use the DevExtreme Theme roller */
.dx-widget, .dx-widget input, .dx-widget textarea {
    font-family: 'Source Sans Pro', sans-serif;
}

/* grid font size for large grid */
.rising-grid-large tr.dx-row {
    font-size: 14px;
}

/* header row text color and remove bottom border */
.dx-datagrid .dx-datagrid-headers {
    color: black;
    border-bottom: 0;
}

/* center the header text */
.dx-datagrid .dx-datagrid-headers td[role=columnheader] {
    text-align: center !important;
}

/* header icon force to the right */
.dx-datagrid .dx-datagrid-headers .dx-column-indicators {
    float: right !important;
}

/* select row yellow */
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td, .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td, .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td, .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td {
    background-color: #FAEDB6;
}

/* row href link color */
.dx-datagrid-rowsview a {
    color: #2200CC;
}

/* remove left right border of data rows */
.dx-datagrid .dx-data-row.dx-column-lines > td {
    border-right: 0px;
    border-left: 0px;
}

/* header search filter row background color */
.dx-datagrid-content .dx-texteditor-input {
    background-color: #f4f4f4 !important;
}

input.dx-texteditor-input.form-control.rising-form-control-xs {
    height: calc(1.5em + 0.25rem + 2px) !important;
    padding: 0.125rem 0.25rem !important;
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    border-radius: 0.15rem !important;
    min-height: unset !important;
}

.devExtremeFont {
    font-size: 0.75rem !important;
}