@import './colors.css.scss';

.ui-selectable-helper{
  position:absolute;
  z-index:100;
  border:1px dotted black;
}

.import-button{
    cursor: pointer;
    padding: 5px 12px;
    border: 1px solid;
    font-family: 'dinot-bold';
    float: right;
    margin-top: 10px;
    border-radius: 3px;
}

.import-button:hover{
    background: $red;
    color: #fff;    
}

.cursor-channel{
    cursor: pointer;
}

.exp-info-bar.samples-targets {
  width: 100%;
  height: 40px;
  background-color: #323232;
  position: fixed;
  bottom: 0;
}

table.sample-target-table {
    thead::-webkit-scrollbar{
        background: transparent;  /* optional: just make scrollbar invisible */
    }
}

table.sample-target-table{
    th.text-center,
    td.text-center{
        text-align: center;
    }
}

.samples, .targets{
    table{
        width: 100%;
        max-height: calc(100% - 100px);
        td, th{
            font-size: 13px;
            font-family: 'dinot-medium';
            position: relative;
        }

        .channel-selector{
            border: 1px solid gray;
            border-radius: 2px;
            height: 28px;
            box-shadow: 0px 0px 2px #888;
            min-width: 40px;
            max-width: 60px;
            margin: auto;
            span{
                width:45%;
                display:inline-block;
                text-align:center;
                cursor: pointer;
                line-height: 24px;
            }
        }

        tbody tr:first-child{
            .icon-wrapper{
                .assigned-description{
                    top: 27px;
                    box-shadow: 0px 1px 2px #888;

                    &::after{
                        top: -9px;
                        border-color: transparent;
                        border-bottom-color: #fff;
                        bottom: auto;
                        border-width: .5rem .3rem;
                    }
                    &::before{
                        top: -11px;
                        bottom: auto;
                        border-color: transparent;
                        border-bottom-color: rgba(0, 0, 0, 0.25);
                        border-width: .5rem .3rem;
                    }
                }
            }
        }
    }
    padding-left: 50px !important;
    padding-right: 50px !important;
    padding-top: 10px;
    p{
        font-family: 'dinot-bold';
        border-bottom: 2px solid black;
        line-height: 35px;
        font-size: 14px;        
    }
    input{
        font-size: 13px;
        font-family: 'dinot-medium';
        vertical-align: middle;
        width: 100%;
    }

    .add-span{
        font-family: 'dinot-medium';
        cursor: pointer;
        display: inline-block;
        border: 1px solid black;
        border-radius: 3px;
        margin-top: 15px;
        padding: 7px;
        position: relative;
        .add-plus{
            width: 13px;
            margin-top: -5px;
        }
    }

    .delete{
        max-width: 15px;
        vertical-align: middle;
        cursor: pointer;
    }

    .delete-confirm{
        max-width: 30px;
        vertical-align: middle;
        cursor: pointer;
    }

    .assigned-icon{
        width: 20px;
        vertical-align: middle;
        cursor: pointer;
        margin: 0 2px;
        &:hover + .assigned-description{
            display: block;
        }
    }

    .icon-wrapper{
        width: 24px;
        vertical-align: middle;
        position: relative;
        margin: 0;
        .assigned-description{
            width: 130px;
            border: 1px solid #aaa;
            border-radius: 3px;
            box-shadow: 0px 0px 2px #888;
            padding: 3px 5px;
            font-family: 'dinot-medium';
            color: #777;
            font-weight: 300;
            position: absolute;
            top: -32px;
            left: -56px;
            background: #fff;
            z-index: 99;
            display: none;

            &::after{
                bottom: -4px;
                border-color: transparent;
                border-top-color: #fff;
                border-width: .5rem .3rem 0;
                position: absolute;
                display: block;
                content: "";
                border-style: solid;
                left: 50%;
            }
            &::before{
                bottom: -6px;
                border-color: transparent;
                border-top-color: rgba(0, 0, 0, 0.25);
                border-width: .5rem .3rem 0;
                position: absolute;
                display: block;
                content: "";
                border-style: solid;
                left: 50%;
            }
        }        
    }


    .lock-icon{
        width: 15px;
        vertical-align: middle;
        cursor: pointer;
        margin: 0 2px;
    }

    .color{
        vertical-align: middle;
    }

    td{
        padding-top: 10px;
        padding-bottom: 10px;
        font-family: 'dinot';
    }

    th{
        padding-top: 0px;
        padding-bottom: 10px;
        font-family: 'dinot-bold';
    }

    .select-style {
        font-family: 'dinot-bold';
        padding: 0;
        margin: 0;
        border: none;
        //width: 120px;
        border-radius: 3px;
        overflow: hidden;
        background-color: #fff;
            display: inline-block;
            vertical-align: middle;
    }

    .select-style select {
        font-family: 'dinot-bold';
        cursor: pointer;
        padding: 0px;
        width: 100%;
        border: none;
        box-shadow: none;
        background-color: transparent;
        background-image: none;
        -webkit-appearance: none;
           -moz-appearance: none;
                appearance: none;
    }

    .select-style select:focus {
        outline: none;
    }

    .select-channel-border{
        border-bottom: 2px solid #ea1c4d;
    }
}

.header-samples-targets{
    height: 50px;
    box-shadow: 0 2px 3px #aaa;
    margin-bottom: 5px;
    padding: 0px 50px 0px 30px !important;

    &::after{
        content: ' ';
        clear: both;
    }    

    h4{
        font-family: 'dinot-bold';
        font-size: 14px;
        margin: 0;
        line-height: 50px;
    }
}

.modal-open-confirm-delete{
    .modal {
      text-align: center;
    }

    @media screen and (min-width: 768px) { 
      .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
      }
    }

    .modal-dialog {
      display: inline-block;
      text-align: left;
      vertical-align: middle;
      box-shadow: 1px 1px 4px #777;
      border-radius: 3px;
      width: 450px;

        .modal-content{
            border-radius: 3px;
            border: none;
            box-shadow: none;
        }
    }
}
