@crowdin/app-project-module
Version:
Module that generates for you all common endpoints for serving standalone Crowdin App
343 lines (287 loc) • 5.64 kB
CSS
.i_w {
padding: 16px 24px;
max-width: 1420px;
margin: 0 auto;
}
.center {
text-align: center;
min-height: calc(100vh - 64px);
display: flex;
align-items: center;
justify-content: space-around;
}
.box-center {
display: flex;
align-items: center;
justify-content: center;
}
.top {
text-align: right;
margin-bottom: 10px;
}
.top-button {
text-align: left;
display: flex;
justify-content: space-between;
}
.login {
margin-bottom: 10px;
overflow: unset;
}
.login img {
max-width: 70px;
max-height: 70px;
width: auto;
height: auto;
}
.login crowdin-input {
margin-bottom: 8px;
display: block;
}
.login .inputs {
margin-bottom: 24px;
text-align: left;
}
.login crowdin-h4 {
margin: 8px 0 16px;
}
.ml-1 {
margin-left: 8px;
}
.mt-2 {
margin-top: 16px;
}
.m-0 {
margin: 0;
}
.m-2 {
margin: 16px;
}
.info-text {
max-width: 800px;
}
#translation-info {
margin: 12px 0 12px 0;
}
#subscription-info .ce-alert {
margin-bottom: 12px;
}
.dismiss-alert {
position: absolute;
top: 0;
right: 0;
}
.file-field {
font-family: Roboto,‘Segoe UI’,-apple-system,BlinkMacSystemFont,‘Helvetica Neue’,Arial,sans-serif;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-size: .875rem;
font-weight: 400;
line-height: 1.5;
-ms-text-size-adjust: 100%;
text-rendering: optimizeLegibility;
color: rgba(38,50,56,.87);
}
.file-field .help-text {
font-size: .75rem;
color: rgba(38,50,56,.54);
}
.file-field .upload {
margin-top: 8px;
display: flex;
align-items: center;
justify-content: space-between;
}
.file-field .uploaded-file {
font-style: italic;
display: flex;
align-items: center;
}
.loader {
background: rgba(255, 255, 255, 0.3);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 4;
}
.loader crowdin-progress-indicator {
position: absolute;
top: calc(50% - 20px);
left: calc(50% - 20px);
}
.hidden {
width:0 ;
height: 0 ;
opacity: 0 ;
z-index: -1 ;
display: block ;
overflow: hidden ;
}
[data-dependency]:not(.dependency-show):not(input) {
display : none;
}
#form-loading {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
background: rgb(251 251 251 / 70%);
}
#form .MuiButtonBase-root[type="submit"] {
background: #fff;
color: #263238;
box-shadow: none;
border: 1px solid rgba(38,50,56,.24);
}
#form .MuiButtonBase-root[type="submit"]:hover {
background: rgba(236, 239, 241, .54);
}
#buttons {
display: flex;
justify-content: space-between;
width: 100%;
}
#buttons crowdin-button:nth-of-type(2) {
margin-right: auto;
}
#user-errors-table {
margin-bottom: 12px;
display: block;
}
.error-detail-table {
height: auto;
max-height: 579px;
margin: -24px;
}
.error-detail-table table {
border-spacing: unset;
width: 100%;
}
.error-detail-table tr:first-child td {
padding-top: 24px;
border-top-right-radius: 12px;
}
.error-detail-table tr td:first-child {
font-weight: 500;
min-width: 200px;
vertical-align: top;
}
.error-detail-table tr td:last-child {
background: var(--crowdin-primary-blue-gray, #f6f6f6);
color: var(--crowdin-body-color, rgba(38, 50, 56, 0.87));
word-break: break-all;
}
.error-detail-table tr td {
padding: 8px 24px;
}
.error-page {
align-items: center;
display: flex;
justify-content: center;
min-height: 500px;
}
.error-page-message {
margin-bottom: 24px;
}
.error-page-action {
display: flex;
align-items: center;
}
.error-page-action crowdin-button {
margin-right: 8px;
}
.error-page a {
vertical-align: unset;
}
.ai-provider-form body {
margin: 0;
}
.ai-provider-form .i_w {
max-width: 100% ;
padding: 0;
}
.form-without-submit {
body {
margin: 0;
}
.i_w {
padding: 0px ;
max-width: 100% ;
}
form > .MuiBox-root {
display: none;
}
}
.confirm-users-block .flex > div {
width: 40%;
margin-bottom: 8px
}
.confirm-users-block crowdin-p {
line-height: 1;
}
table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
}
th, td {
padding: 16px;
text-align: left;
border-bottom: 1px solid var(--crowdin-border-color);
}
th {
font-size: 14px;
}
.permission-description {
font-size: 12px;
color: var(--crowdin-text-muted);
margin-top: 4px;
}
.affected-users {
ul {
list-style: none;
padding: 0;
margin: 0;
}
li {
font-size: 14px;
&:not(:last-child) {
margin-bottom: 4px;
}
}
}
.badge {
display: inline-block;
padding: 4px 12px;
border-radius: 15px;
font-size: 12px;
font-weight: 500;
text-align: center;
position: relative;
cursor: default;
}
.badge-granted {
background-color: var(--crowdin-success);
color: var(--crowdin-white);
}
.badge-will-be-granted {
background-color: var(--crowdin-info);
color: var(--crowdin-white);
}
.badge-not-available {
background-color: var(--crowdin-warning-bg);
color: var(--crowdin-warning);
}
.status {
position: relative;
text-align: right;
}
.text-warning {
color: var(--crowdin-warning) ;
}