﻿@font-face {
    font-family: 'Irsans';
    src: url('/fonts/IRANSansWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body, p {
    font-family: 'Irsans', sans-serif !important;
}

/* تغییر فونت هدرها */
.swagger-ui .topbar {
    font-family: 'Irsans', sans-serif !important;
}

/* تغییر فونت توضیحات متدها و داکیومنت ها */
.swagger-ui .swagger-ui .operation-summary {
    font-family: 'Irsans', sans-serif !important;;
}

.swagger-ui {
    font-family: 'Irsans', Tahoma, sans-serif !important;

    .opblock {
        .opblock-summary-path-description-wrapper {

            justify-content: space-between;
        }

        .opblock-summary-description, .opblock-description, .response-col_description__inner {
            font-family: 'Irsans', Tahoma, sans-serif !important;
            direction: rtl !important;
        }

        .response-col_description__inner {
            font-family: 'Irsans', Tahoma, sans-serif !important;
            direction: rtl !important;
        }

        .response-col_links {
            display: none !important;
        }

        .opblock-description-wrapper {
            .opblock-description {
                .renderedMarkdown p {
                    white-space: pre-wrap !important;
                }

            }
        }
    }
    .language-json{
        span:not(.hljs-attr){
            font-family: Tahoma, sans-serif !important;
        }
       
    }
}



.responses-inner {
    .response-col_description__inner {
        .renderedMarkdown p {
            white-space: pre-wrap !important;
        }
    }
}

.model{
    .renderedMarkdown{
        direction: rtl !important;
    }
}

.opblock-tag-section {
    .opblock-tag {
        display: none !important;
    }
}

.swagger-ui .dialog-ux .modal-ux-content .renderedMarkdown p {
    direction: rtl !important;
}

.auth-container .scope-def {
    display: none;
!important;
}

.auth-container h4 {
    display: none;
!important;
}

.auth-container .renderedMarkdown p {
    font-weight: bold;
!important;
}


label[for="password_type"],
select[id="password_type"] {
    display: none;
!important;
}

label[for="client_secret_password"],
input[id="client_secret_password"] {
    display: none;
!important;
}

.flow, .renderedMarkdown + p {
    display: none;
!important;
}

.modal-ux-header h3 {
    display: none;
!important;
}


/*!*.swagger-ui .opblock .opblock-summary-path-description-wrapper{*!*/
/*!*    justify-content: space-between;*!*/
/*!*}*!*/
/*.renderedMarkdown,.opblock-summary-description{*/
/*    */
/*    direction: rtl !important;*/
/*}*/

div.topbar {
    background-color: #34a65f !important;
}

h2,
h3 {
    color: #f5624d !important;
}

.opblock-summary-get > button > span.opblock-summary-method {
    background-color: #235e6f !important;
}

.opblock-summary-post > button > span.opblock-summary-method {
    background-color: #0f8a5f !important;
}

.opblock-summary-delete > button > span.opblock-summary-method {
    background-color: #cc231e !important;
}