editmanagepriv.css 1.3 KB

123456789101112131415161718192021222324252627282930
  1. .mt-m {margin-top: 16px;}
  2. .flex-center {display: flex; justify-content: center; align-items: center;}
  3. .flex-space-center {display: flex; justify-content: space-between; align-items: center;}
  4. #mainContent {display: flex; gap: 16px; height: calc(100vh - 120px)}
  5. #mainContent > .main {flex: 1 1 75%; overflow-y: auto; min-height: 480px;}
  6. #mainContent > .side {flex: 1 1 25%;}
  7. .priv-panel {background: #fff; padding: 10px; box-shadow: 0 1px 1px rgb(0 0 0 / 5%), 0 2px 6px 0 rgb(0 0 0 / 5%);}
  8. .priv-panel > .panel-content {height: calc(50vh - 160px); overflow-y: auto; min-height: 140px;}
  9. .priv-panel > .panel-bottom {padding-top: 20px;}
  10. /* permission-table */
  11. .td-sm {width: 120px;}
  12. .td-md {width: 240px;}
  13. .sorter-group {display: flex; flex-wrap: wrap;}
  14. .sorter-group > .group-item {flex: 0 0 25%; overflow: hidden;}
  15. .checkbox-primary > input {width: 20px;}
  16. .permission-row label.active {background: #e6f0ff;}
  17. /* tree */
  18. .tree ul > li {display: inline-block; width: 50%;}
  19. .priv-item > .icon {padding-left: 5px;}
  20. .empty-tip {height: 100%;}
  21. #bysearchTab {border: none;}
  22. #privListTable .c-name {min-width: 100px;}
  23. #privListTable .c-view, #privListTable .c-module, #privListTable .c-package {width: 100px;}
  24. #privListTable .c-privs {min-width: 180px;}
  25. #privListTable .c-actions {width: 50px;}
  26. #privListTable tbody tr td {overflow: hidden; white-space: nowrap;}