@import "compass";
@import "_tracks-table";

#spiff-station-wizard-metabox {
    position:relative;
    .inside{
        overflow:auto;
    }

    pre.spiff-raw, pre.spiff-raw code {
        //Instead of the line below you could use @includebox-sizing($bs)
        box-sizing: border-box;
        webkit-box-sizing: border-box;
        display: block;
        white-space: pre-wrap;
        white-space: -pre-wrap;
        word-wrap: break-word;
        width: 100%;
        overflow: auto;
    }

    .tracks-selector-prefix {
            color: lightgrey;
            padding-right: 0.5em;
    }
    #spiff-station-wizard-tabs {
            border-bottom: 1px solid #eee;
            margin-bottom: 1em;
            #spiff-station-wizard-tabs-header li {
                    display: inline-block;
                    &.ui-tabs-active a {
                            background: white;
                            border-bottom: 0;
                    }
            }
            .spiff-station-wizard-step-content{
                .wizard-selector{
                    input[type="text"]{
                        min-width:50%;
                    }
                    .regex-row {
                            display: none;
                            &.active{
                                    display: table;
                            }
                            td {
                                    color: #999;
                                    padding: 5px;
                                    font-family: Consolas, Monaco, monospace;
                            }
                            .regex-field {
                                    &:before {
                                            text-align: center;
                                            width: 20px;
                                            content: '~';
                                    }
                                    &:after {
                                            text-align: center;
                                            width: 20px;
                                            content: '~m';
                                    }
                                    input {
                                            width: 90%;
                                            color: #999;
                                    }
                            }
                    }
                }
                &#spiff-station-wizard-step-tracks-selector-content{
                    .wizard-selector{
                        input[type="text"]{
                            min-width:100%;
                        }
                    }
                }
            }
    }
    .regex-link {
            text-decoration: none;
    }
    
    #spiff-station-tracks-raw{
        max-height: calc(3 * 211px);
        overflow-y: auto;
    }

    pre.spiff-raw {
            max-height: 200px;
            border: 1px solid lightgrey;
            padding: 10px;
            code {
                    background: none;
            }
    }
    .ui-tabs-panel > h3:first-of-type {
            display: none;
    }
}


