.modal-dialog { max-width: 750px; } .errored { animation: shake 300ms; color: #eb3434 !important; background-color: #fef2f2 !important; border: 1px solid #eb3434 !important; } .textLFontColor, .form-control { color: #797979; font-size: 12px; font-weight: 500; } /*.form-control-number { border: 1px solid #C6C6C6; border-radius: 6px; width: 40px; } .form-control-currency { border: 1px solid #C6C6C6; border-radius: 6px; width: 120px; } .form-control-select { border: 1px solid #C6C6C6; border-radius: 6px; width: 80px; }*/ .form-role-section { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; } .form-role-workshop-section { grid-column: span 2 / span 2; } .workshop__mobile { display: none; } .workshop-mobile-footer { display: none; } .form-role-workshop-section-mobile { position: fixed; display: block !important; bottom: 0; right: 0; width: 100%; height: 350px; z-index: 120; } .form-role-workshop-section-mobile::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #000000; opacity: 0.5; z-index: 100; } .form-role-workshop-section-mobile .workshop__mobile { display: block; } .form-role-workshop-section-mobile .workshop__mobile .workshop__label-mobile { font-size: 16px; color: #292929; font-weight: 700 !important; } .form-role-workshop-section-mobile .workshop__mobile svg { display: flex; align-items: center; justify-content: center; width: 100%; margin: 10px 0; } .form-role-workshop-section-mobile .workshop { border: none; border-radius: 7px 7px 0 0; z-index: 120; } .form-role-workshop-section-mobile .workshop .workshop__label { display: none } .form-role-workshop-section-mobile .workshop #workshopItems { height: 207px; overflow-y: scroll; } .form-role-workshop-section-mobile .workshop .workshop-mobile-footer { display: block; border-top: 1px solid #D5D5D5; padding: 11px 0; margin: 11px 0; } .form-role-workshop-section-mobile .workshop .workshop-mobile-footer button { width: 100%; color: #fff; padding: 5px 0; border-radius: 5px; height: 32px; } .form-role-workshop-section-mobile .workshop .workshop-mobile-footer button.btn-cancel { background-color: #1F2937; } .form-role-workshop-section-mobile .workshop .workshop-mobile-footer button.btn-success { background-color: #84CC16; } .form-role-all-section { grid-column: span 4 / span 4; } .workshop { position: relative; background-color: #ffffff; border: 1px solid #D1D1D1; border-radius: 7px; padding: 10px; height: 100%; } .workshop__label { position: absolute; top: -11px; right: 10px; font-size: 12px; color: #797979; text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; } .workshop__item { width: 100%; margin: 0 0 4px 0; } .workshop__checkbox { display: none; } .workshop__label-text { font-size: 12px; font-weight: 500; color: #0F8080; background-color: #ffffff; border: 1px solid #1D9D9D; padding: 6px 9px; border-radius: 9px; width: 100%; transition: all 0.3s ease-in-out; cursor: pointer; -webkit-user-select: none; -ms-user-select: none; user-select: none; } /*.workshop__label-text:hover { color: #ffffff; background-color: #1c7474; border-color: #23A8A8; }*/ /* Rectangle 4252 */ /*box-sizing: border-box; position: absolute; width: 320px; height: 30px; left: 28px; top: 127px;*/ /* linear */ /*background: linear-gradient(93.83deg, #2EBEBE 1.59%, #1E9D9D 47.86%, #0B7878 101.16%); border-radius: 7px;*/ .workshop__checkbox:checked + .workshop__label-text { color: #ffffff; background-color: #1D9D9D; } .workshop-mobile-btn { width: 100%; color: #ffffff; background: linear-gradient(93.83deg, #2EBEBE 1.59%, #1E9D9D 47.86%, #0B7878 101.16%); font-size: 14px; padding: 6px; border-radius: 5px; } .workshop-mobile-btn__badge-number { width: 20px; height: 20px; background: #fff; border-radius: 4px; color: #158c8c; } /************************ checkbox Button Input () ************************/ .form-check-input[type="checkbox"] { width: 15px; height: 15px; border-radius: 6px; padding: 8px; border: 1px solid #CFD3D4; background-color: white; background-position: center; background-size: contain; background-repeat: no-repeat; margin-right: 8px; appearance: none; } .form-check-input[type="checkbox"]:checked { background-color: #148989; border: 1px solid #ffffff !important; background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white" stroke-width="3"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" /%3E%3C/svg%3E'); background-size: 75%; } .form-check-input[type=checkbox]:indeterminate { background-color: #148989; border-color: #ffffff; background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white" stroke-width="3"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" /%3E%3C/svg%3E'); /*--bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e);*/ } .form-check-input[type="checkbox"]:focus { outline: none; box-shadow: none; } .form-check-input[type="checkbox"] + label { color: #83898C; } .form-check-input[type="checkbox"]:checked + label { color: #2B2F32; } /************************ Radio Button Input (Like Checkbox appearance) ************************/ .textLFontColor span { font-size: 16px; font-weight: 600; } .btnCreateNew { font-size: 14px; font-weight: 500; background-color: #84CC16; color: #FFFFFF; border-radius: 8px; padding: 10px 70px; } .btnCreateNew:hover { background-color: #5f9213; } .btnCreateNew, .btn-cancel2 { width: auto !important; } .permissionBox { /*margin: 10px 0 0 0;*/ border: 1px solid #D1D1D1; background-color: #FAFAFA; border-radius: 7px; padding: 6px; } #tree { height: 580px; overflow-y: scroll; } #tree ul { list-style-type: none; /* padding-left: 20px; */ padding: 0px; } #tree ul li > ul { margin: 0 30px 0 0; } #tree .li-tree-main { background-color: #2EC0C0 !important; color: #ffffff !important; } #tree .li-tree-main-second { background-color: #A0E1E1 !important; color: #646464 !important; } #tree .li-tree-main svg { stroke: #ffffff; } #tree .li-tree { position: relative; margin: 5px 0; border: 1px solid #DEDEDE; background-color: #EAF4FD; border-radius: 8px; padding: 6px; font-size: 14px; font-weight: 500; color: #646464; display: flex; align-items: center; justify-content: space-between; width: 265px; } #tree .node-label { margin: 0 10px 0 0; } .togglePermission { cursor: pointer; margin-right: 5px; font-size: 12px; } .togglePermission svg { stroke: #33363F; transition: transform 0.3s ease; } .togglePermission.open svg { transform: rotate(-90deg); } #tree li ul { display: none; } .highlight { background-color: transparent; } @media (max-width: 1366px) { #tree { height: 360px; } } @media (max-width: 768px) { .modal-dialog { max-width: 530px; } .form-role-workshop-section { display: none; } .form-role-all-section { grid-column: span 6 / span 6; } }