@charset "UTF-8";

.rp-root {
    font-family: "Malgun Gothic", "맑은 고딕", AppleSDGothicNeo-Light, sans-serif;
    font-size: 13px;
    color: white;
    background: black;
    -webkit-appearance: none;
    outline: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
}

.rp-root input,
.rp-root select {
    background-color: #505050;
    color: white;
    font-size: 12px;
    border: 1px solid #555;
    padding: 2px;
}

.rp-root input,
.rp-root select {
    border-radius: 2px;
}

.rp-root input[type=checkbox] {
    margin-left: 0px;
}

.rp-root input::placeholder,
.rp-root textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.rp-root input::-webkit-outer-spin-button,
.rp-root input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.rr-property-body {
    background: #282828;
}

.rr-property-category {
    width: 100%;
    padding: 1px 4px;
    display: flex;
    align-items: center;
    background: #383838;
    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
}

.rr-property-category[data-model] {
    background: #444744;
    border-top-color: #444744;
    border-bottom-color: #444744;
}

.rr-property-collection {
    width: 100%;
    padding: 1px 4px;
    display: flex;
    align-items: center;
    background: #383838;
    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
}

.rr-property-collection-add {
    font-size: 20px;
    line-height: 14px;
    padding: 1px 2px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: white;
}

.rr-property-collection-add:hover {
    border-color: #777;
    background-color: #333;
}

.rr-property-collection-delete {
    width: 16px;
    height: 16px;
    background: url("/assets/images/delete-collection-item.png") no-repeat center/contain;
    border: 1px solid transparent;
    border-radius: 2px;
}

.rr-property-collection-delete:hover {
    border-color: #777;
    background-color: #333;
}

.rr-property-collection-up {
    font-size: 14px;
    line-height: 14px;
    padding: 1px 2px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: white;
}

.rr-property-collection-up:hover {
    border-color: #777;
    background-color: #333;
}

.rr-property-collection-right {
    font-size: 14px;
    line-height: 14px;
    padding: 1px 2px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: white;
}

.rr-property-collection-right:hover {
    border-color: #777;
    background-color: #333;
}

.rp-category-text {
    flex: 1 1 0;
    margin-right: 4px;
    /* text-align: right; */
    color: #ccc;
}

.rr-property-row {
    width: 100%;
    padding: 1px 2px;
    display: flex;
    align-items: center;
    background: transparent;
}

.rr-property-row-label {
    flex: 0 0 auto;
    background: transparent
}

.rr-property-row-content {
    flex: 1 1 0;
}

.rr-property-row:hover {
    background: #101010;
}

.rr-property-row-focus {
    /* background: rgba(0, 127, 255, 0.4); */
    background: #101010;
    color: white;
}

.rr-property-row-select {
    background: rgba(0, 127, 255, 0.5);
    color: white;
}

.rr-property-item-container {
    padding-left: 50px;
}

.rr-property-row-item {
    margin: 2px;
}

.rr-property-edit {
    flex: 1 1 0;
    min-width: 20px;
}

.rr-property-edit:read-only {
    color: #aaa;
}

/** input number spin을 없앤다. */
input[data-rrproperty]::-webkit-outer-spin-button,
input[data-rrproperty]::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.rr-property-select {
    flex: 1 1 0;
}

.rr-property-select[data-empty="true"] {
    color: #a0a0a0;
    font-style: italic;
    padding-left: 0px;
}

.rr-property-pixel {
    flex: 1 1 0;
    min-width: 20px;
    max-width: 60px;
    text-align: right;
}

.rr-property-pixel-suffix {
    flex: 0 0 auto;
    margin-left: 4px;
}

.rr-property-dim {
    flex: 1 1 0;
    min-width: 20px;
    max-width: 70px;
    text-align: right;
}

.rr-property-dim-units {
    flex: 0 0 auto;
    margin-left: 4px;
}

.rr-property-indent-mark {
    width: 12px;
    height: 12px;
    background: url("/assets/images/indent-mark.png") no-repeat center/contain;
}

.rr-property-edit-button {
    border: 1px solid #555;
    color: white;
    background: #505050;
    vertical-align: middle;
    font-size: 12px;
}

.rp-expander {
    flex: 0 0 13px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 2px;
}

.rp-undefined-value {
    color: rgba(127, 127, 127, 0.7);
    font-style: italic;
}

.rp-color-style {
    position: relative;
    display: flex;
    flex: 0 0 30px;
    min-width: 10px;
    margin-left: 4px;
    box-sizing: border-box;
    background: white;
    padding: 2px;
    border-radius: 1px;
}

.rp-color-style-box {
    flex: 1 1 0;
    border: 1px solid black;
}

.rp-color-style-box[data-empty="true"] {
    background:
        linear-gradient(to top left,
            #66666600 0%,
            #66666600 calc(50% - 0.8px),
            #666666ff 50%,
            #66666600 calc(50% + 0.8px),
            #66666600 100%),
        linear-gradient(to top right,
            #66666600 0%,
            #66666600 calc(50% - 0.8px),
            #666666ff 50%,
            #66666600 calc(50% + 0.8px),
            #66666600 100%);
}

.rp-text-expander {
    width: 13px;
    text-align: center;
    background-color: #555;
    padding: 2px;
    margin-left: 4px;
    color: lightgray;
    border-radius: 2px;
}

.rp-error-view {
    display: block;
    width: 85%;
    padding: 10px;
    border: 2px solid #333;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.2em;
    color: #111;
    font-weight: bold;
    background-color: #ffff00dd;
}

.rp-error-view-hide {
    animation: fade-out 0.5s;
    animation-fill-mode: forwards;
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}