LayerList.less 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /*
  2. * <<
  3. * Davinci
  4. * ==
  5. * Copyright (C) 2016 - 2017 EDP
  6. * ==
  7. * Licensed under the Apache License, Version 2.0 (the "License");
  8. * you may not use this file except in compliance with the License.
  9. * You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. * >>
  19. */
  20. @import '~antd/lib/radio/style/index.less';
  21. @import "~assets/less/variable";
  22. :global {
  23. .display {
  24. &-layer {
  25. &-list {
  26. width: 100%;
  27. background: @layout-sider-background-light;
  28. padding: 8px 0 8px 8px;
  29. flex: 1;
  30. display: flex;
  31. flex-direction: column;
  32. .ant-card-body {
  33. padding: 0;
  34. flex: 1;
  35. overflow-y: auto;
  36. }
  37. }
  38. &-command {
  39. display: flex;
  40. flex-direction: row;
  41. button {
  42. flex: 1;
  43. }
  44. }
  45. &-radio {
  46. .ant-radio-wrapper();
  47. display: block;
  48. padding: 4px 8px;
  49. margin: 0;
  50. display: flex;
  51. & > :last-child {
  52. flex: 1;
  53. .ellipsis;
  54. }
  55. &:not(:last-child) {
  56. border-bottom: @border-width-base @border-style-base
  57. @border-color-base;
  58. }
  59. &-group {
  60. .ant-radio-group();
  61. display: block;
  62. }
  63. }
  64. }
  65. }
  66. }