.teacss-ui .git-commit-tab .partial {
    opacity: 0.6;  
}
.teacss-ui .git-commit-tab .hide{
    display: none;
}
.teacss-ui .git-commit-tab .code-text {
    position: relative;
    width: 100%;
}
.teacss-ui .git-commit-tab form {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
}
.teacss-ui .git-commit-tab .panel_buttons {
    position: absolute;
    height: 3em;
    z-index: 10;
    border-top-style: none;
    background: #FFF 50% 50% repeat-x;
    top: 0; left: 0; right: 0;
}
.teacss-ui .git-commit-tab .panel_buttons .buttons button{
    margin-right: 0;
    margin-bottom: 0;
}
.teacss-ui .git-commit-tab .panel_buttons .buttons td{
    padding: 0.2em 0.2em 0.3em;
    width: 1px;
    white-space: nowrap;
}
.teacss-ui .git-commit-tab .panel_buttons .buttons td.refresh {
    padding-left: 0.4em; 
}
.teacss-ui .git-commit-tab .panel_buttons .buttons td.branch_name,
.teacss-ui .git-commit-tab .panel_buttons .buttons td.commit_name {
    padding-left: 0;
}
.teacss-ui .git-commit-tab .panel_buttons .buttons td.commit_msg {    
    vertical-align: middle;
    width: 100%;    
}
.teacss-ui .git-commit-tab .panel_buttons .buttons td.commit_msg input{
    box-sizing: border-box;
    width: 100%;    
    height: 2.2em;
}

.teacss-ui .git-commit-tab .diff_scroll_wrap {
    left: 0; right: 0; top: 3em; bottom: 0;
    position: absolute;
    overflow: auto;
}

.teacss-ui .git-commit-tab .diff_status {
    background: #CFCFCF 50% 50% repeat-x;
}

.teacss-ui .git-commit-tab .diff_status tr {
    border-left: none;
    border-right: none;
}

.teacss-ui .git-commit-tab .diff_status .filelist_header {
    border-top: none;
    height: 2.8em;
}
.teacss-ui .git-commit-tab .diff_status .filelist_header th {
    text-align: center;
    padding: 0.5em 1em;
    font-weight: bold;
    border-top: none;
    border-right: none;
    border-left: none;
    min-width: 3em;
}
.teacss-ui .git-commit-tab .diff_status .filelist_header th.filename,
.teacss-ui .git-commit-tab .diff_status tr.file td.filename {
    text-align: left;
}
.teacss-ui .git-commit-tab .diff_status tr.file td {
    text-align: center;
    padding: 0.1em 1em;
}
.teacss-ui .git-commit-tab .diff_status tr.file td:not(.empty) {
    width: 1px;
}
.teacss-ui .git-commit-tab .diff_status tr.file td.filename {
    min-width: 10em;
    white-space: nowrap;
}
.teacss-ui .git-commit-tab .diff_status tr.file td.checkbox input.checkbox{
    width: 100%;
}
.teacss-ui .git-commit-tab table.diff_status {
    width: 100%;
    text-align: left;
}
.teacss-ui .git-commit-tab table.diff_status tr.file {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;        
}
.teacss-ui .git-commit-tab .diff_status tr.file {
    height: 2.6em;
}
.teacss-ui .git-commit-tab .file {
    background: #F7F7F7 50% 50% repeat-x;
}
.teacss-ui .git-commit-tab .diff_status tr td.checkbox {    
    padding-left: 0;
}
.teacss-ui .git-commit-tab .diff_status tr td.filename {
    cursor: pointer;
}
.teacss-ui .git-commit-tab table.diff_status tr td.checkbox label.ui-button{
    vertical-align: super;
    border: none;
}
.teacss-ui .git-commit-tab table.diff_status tr td.checkbox label.ui-button input{
    cursor: pointer;
}
.teacss-ui .git-commit-tab table.diff_status tr.file .filename:after {
    margin-left: 0.5em;
    content: "\25bc"; 
    visibility: hidden;
}
.teacss-ui .git-commit-tab table.diff_status tr.file .filename:hover:after {
    visibility: visible;    
}
.teacss-ui .git-commit-tab table.diff_status tr.file.active .filename:hover:after {
    margin-left: 0.5em;
    content: "\25b2";  
}
.teacss-ui .git-commit-tab .delta .number_del > div,
.teacss-ui .git-commit-tab .delta .number_add > div {
    white-space: pre;
    min-width: 50px;
    text-align: right;
}
.teacss-ui .git-commit-tab .delta tr:last-child td {
    border-bottom: initial;
}
.teacss-ui .git-commit-tab .diff_status tr td.checkout button {
    height: 1.8em;
    width: 1.8em;
    margin-bottom: 0;
}
.teacss-ui .git-commit-tab .button-select-panel .combo-label,
.teacss-ui .git-commit-tab .button-select-panel .combo-label p {
    padding-left: 1em;
    padding-right: 1em;
    max-width: 20em;
    white-space: normal;
}
.teacss-ui .git-commit-tab .commit_name .button-select-panel .combo-label{
    padding: 0;
}
.teacss-ui .git-commit-tab .panel_buttons .ui-button .combo-label{
    padding-left: 1em;
    padding-right: 1em;
}
.teacss-ui .git-commit-tab .panel_buttons .branch_name .button-select-panel,
.teacss-ui .git-commit-tab .panel_buttons .commit_name .button-select-panel,
.teacss-ui .git-commit-tab .panel_buttons .view_controls .button-select-panel,
.teacss-ui .git-commit-tab .panel_buttons .commit_btn .button-select-panel {
    z-index: 100000;
    display: none;
}
.teacss-ui .git-commit-tab .panel_buttons .branch_name .button-select-panel.show,
.teacss-ui .git-commit-tab .panel_buttons .commit_name .button-select-panel.show, 
.teacss-ui .git-commit-tab .panel_buttons .view_controls .button-select-panel.show,
.teacss-ui .git-commit-tab .panel_buttons .commit_btn .button-select-panel.show {
    display: block;
    min-height: 0;
}
.teacss-ui .git-commit-tab .button-select-panel {
    overflow-y: auto;
}
.teacss-ui .git-commit-tab .hunk {
    display: table-row;
}
.teacss-ui .ui-state-default.number_del, 
.teacss-ui .ui-state-default.number_add, 
.teacss-ui .ui-state-default.diff_line {
    display: table-cell;
    border-top: none;
    border-bottom: none;
}
.teacss-ui .ui-state-default.number_del,
.teacss-ui .ui-state-default.diff_line {
    border-left: none;
    border-right: none;
}
.teacss-ui .ui-state-default.diff_line {
    width: 100%;
}
.teacss-ui .git-commit-tab .diff_line .info:before,
.teacss-ui .git-commit-tab .diff_line .insert:before,
.teacss-ui .git-commit-tab .diff_line .delete:before,
.teacss-ui .git-commit-tab .diff_line .context:before {
    content: " ";
    padding: 0 10px 0 5px;
}
.teacss-ui .git-commit-tab .diff_line .insert:before {
    content: "+";
    color: green;
}
.teacss-ui .git-commit-tab .diff_line .delete:before {
    content: "-";
    color: red;
}

.teacss-ui .git-commit-tab .diff_line {
    cursor: pointer;
} 
.teacss-ui .git-commit-tab .delta .staged .info{
    font-weight: bold;
}
.teacss-ui .git-commit-tab .delta .diff_line.staged .info:before {
    content: "✓"
}
.teacss-ui .git-commit-tab .delta .info ,
.teacss-ui .git-commit-tab .delta .insert,
.teacss-ui .git-commit-tab .delta .delete,
.teacss-ui .git-commit-tab .delta .context {
    white-space: pre;
}
.teacss-ui .git-commit-tab .diff_html {
    display: none;
    background: #FFF 50% 50% repeat-x;
    border-left: none;
    border-right: none;
}
.teacss-ui .git-commit-tab .diff_html.load_diff:before {
    content: "⇣";
    margin-left: 0.95em;
    font-size: 2em;
    vertical-align: bottom;
    color: grey;
}
.teacss-ui .git-commit-tab .panel_buttons .buttons td.commit_btn {
    position: relative; 
}
.teacss-ui .git-commit-tab .commit_select_menu.ui-button {
    vertical-align: middle;
}
.teacss-ui .git-commit-tab .commit_select_menu .ui-button-text {
    padding: 0.4em;
}
.teacss-ui .git-commit-tab .button-select-panel.commit_select_menu_item { 
    position: absolute !important;
    right: 0;    
    left: 0;
    margin: 0 0.2em;
}
.teacss-ui .git-commit-tab .button-select-panel.commit_select_menu_item .amend .combo-label{ 
    padding-left: 10px;
}

.teacss-ui .history-show-more {
    display: block;
}

.teacss-ui .git-blame-commit-info { 
    float: left; 
} 
 
.teacss-ui .git-blame-commit-info[data-sha]:hover { 
    text-decoration: underline; 
    cursor: pointer;
} 
 
/* светлые темы */
.teacss-ui .git-commit-tab .diff_line > div:hover {
    background-color: #F3F3F3;
}
.teacss-ui .git-commit-tab .context {
    background: #FFF 50% 50% repeat-x;
}
.teacss-ui .git-commit-tab .delta .info {
    background-color: #C9F4F9;
}
.teacss-ui .git-commit-tab .delta .insert {
    background-color: #DBFFDB;
}
.teacss-ui .git-commit-tab .delta .delete {
    background-color: #FDD;
}
.teacss-ui .git-commit-tab .diff_line .info {
    background-color: #DEFCFF;
}
.teacss-ui .git-commit-tab .diff_line .insert {
    background-color: #EAFFEA;
}
.teacss-ui .git-commit-tab .diff_line .delete {
    background-color: #FFECEC;
}

/* тёмные темы */
.dark-ui .teacss-ui .git-commit-tab .diff_line > div:hover {
    background-color: #3A3A3A;
}
.dark-ui .teacss-ui .git-commit-tab .context {
    background: none;
}
.dark-ui .teacss-ui .git-commit-tab .delta .info {
    background-color: #0F2152;
}
.dark-ui .teacss-ui .git-commit-tab .delta .insert {
    background-color: #122712;
}
.dark-ui .teacss-ui .git-commit-tab .delta .delete {
    background-color: #2C1A1A;
}
.dark-ui .teacss-ui .git-commit-tab .diff_line .info {
    background-color: #1D2B52
}
.dark-ui .teacss-ui .git-commit-tab .diff_line .insert {
    background-color: #1F371F;
}
.dark-ui .teacss-ui .git-commit-tab .diff_line .delete {
    background-color: #3C2222;
}

/* Error */
.teacss-ui .git-commit-tab .ui-state-error:empty {
    display: none !important;
}
.teacss-ui .git-commit-tab .ui-state-error {
    padding: 0.5em 1em;
    white-space: pre-wrap;
}