/*
 * The MIT License
 *
 * Copyright (c) 2018, CloudBees, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
.token-list{
    /* reset to get rid of browser default */
    margin: 0;
    padding: 0;
    
    max-width: 700px;
    border: 1px solid #cccccc;
    border-color: var(--medium-grey);
    border-radius: 3px;
} 

.token-list .token-list-item {
    min-height: inherit;
    padding: 8px 10px;
    font-size: 0.875rem;
    line-height: 26px;
}
.token-list .token-list-item.legacy-token {
    padding: 6px 5px 6px 5px;
    border: 2px solid #ffe262;
    border-left-width: 5px;
    border-right-width: 5px;
}

.token-list .token-list-empty-item {
    display: block;
}
.token-list .token-list-empty-item.hidden-message {
    display: none;
}

.token-list .token-list-item .token-name-input{
    font-weight: bold;
}
.token-list .token-list-item .token-creation{
    margin-left: 5px;
    font-size: 0.75rem;
}
.token-list .token-list-item .token-creation.age-ok{
    color: #6d7680;
}
.token-list .token-list-item .token-creation.age-mmmh{
    color: #e09307;
}
.token-list .token-list-item .token-creation.age-argh{
    color: #de6868;
}
.token-list .token-list-item .token-hide{
    display: none;
}
.token-list .token-list-item .to-right{
    float: right;
}
.token-list .token-list-item .token-use-counter{
    font-size: 0.75rem;
    color: #6d7680;
}
.token-list .token-list-item .no-statistics{
    font-size: 0.75rem;
    color: #6d7680;
}
.token-list .token-list-item .token-revoke{
    margin-left: 6px;
}
.token-list .token-list-new-item .token-revoke{
    float: right;
    line-height: 32px;
}
.token-list .token-list-new-item .token-revoke.hidden-button{
    display: none;
}
.token-list .token-list-new-item .token-cancel.hidden-button{
    display: none;
}
.token-list .token-list-new-item .token-cancel .yui-button{
    vertical-align: baseline;
}
.token-list .token-list-new-item .token-name{
    width: 40%; 
    display: inline-block;
}
.token-list .token-list-new-item .new-token-value{
    width: 40%; 
    display: none;
    font-family: monospace;
    margin-right: 2px; 
    font-size: 1em;
}
.token-list .token-list-new-item .new-token-value.visible{
    display: inline-block;
}
.token-list .token-list-new-item .copy-button{
    float: right;
}
.token-list .token-revoke svg {
    width: 18px;
    vertical-align: middle;
}
#jenkins .token-list .token-list-new-item .copy-button .yui-button{
    vertical-align: middle;
}
#jenkins .token-list .token-list-new-item .copy-button button{
    margin-left: 6px;
}
.token-list .token-list-new-item .display-after-generation{
    margin-top: 5px; 
    display: none;
}
.token-list .token-list-new-item .display-after-generation.visible{
    display: block;
}
.token-list .token-list-new-item .token-error-message{
    margin-top: 5px; 
    display: none;
}
.token-list .token-list-new-item .token-error-message.visible{
    display: block;
}
.token-list .token-list-new-item .token-save{
    vertical-align: baseline;
}
.token-list .repeated-chunk {
    border-width: 0;
    padding-left: 0;
}
.token-list .repeatable-add{
    margin: 6px 6px 3px 6px;
}