lemmatized-entity.component.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. @import "../../../assets/scss/colors";
  2. @import "../../../assets/scss/themes";
  3. @import "../../../assets/scss/mixins";
  4. // @mixin lemmatizedEntityColors($color-base) {
  5. // .ne-header {
  6. // position: relative;
  7. // evt-pinner {
  8. // position: absolute;
  9. // top: 0;
  10. // right: 0;
  11. // }
  12. // }
  13. // .nav-item,
  14. // .nav-item a {
  15. // &:focus {
  16. // outline: none !important;
  17. // }
  18. // }
  19. // .entity-details .nav-link {
  20. // color: #000;
  21. // // background-color: $color-middle;
  22. // // border-color: $color-darker;
  23. // // &.active {
  24. // // background-color: $color-darker;
  25. // // }
  26. // // &:hover:not(.active):not(.disabled) {
  27. // // background: rgba($color-darker, .5);
  28. // // }
  29. // // &.disabled {
  30. // // pointer-events: auto;
  31. // // cursor: not-allowed;
  32. // // }
  33. // // }
  34. // // .ne-detail-content {
  35. // // background-color: $color-darker;
  36. // // }
  37. // .ne-occurrence {
  38. // border-radius: 4px;
  39. // padding: 4px 6px;
  40. // background: rgba(255, 255, 255, 0.5);
  41. // margin-right: 3px;
  42. // font-size: .7rem;
  43. // margin-bottom: 3px;
  44. // display: inline-block !important;
  45. // cursor: pointer;
  46. // line-height: 0.9rem;
  47. // .ne-occurrence-count {
  48. // top: -1px;
  49. // position: relative;
  50. // margin-left: 5px;
  51. // border: 1px solid transparent;
  52. // }
  53. // &:hover {
  54. // background: rgba(255, 255, 255, 0.8) !important;
  55. // .ne-occurrence-count {
  56. // border: 1px solid #ccc;
  57. // }
  58. // }
  59. // }
  60. // }
  61. // :host ::ng-deep .ne {
  62. // &-container {
  63. // font-size: 90%;
  64. // border-top-left-radius: 0;
  65. // &.inList {
  66. // border-radius: 0;
  67. // margin-bottom: 1px;
  68. // .ne-header {
  69. // padding: 5px 7px;
  70. // border-top-right-radius: 0;
  71. // cursor: pointer;
  72. // }
  73. // }
  74. // &.contentOpened {
  75. // .ne-header {
  76. // border-bottom: 3px double #000 !important;
  77. // }
  78. // }
  79. // &.lem {
  80. // @include lemmatizedEntityColors(get-ne-color(lemBase));
  81. // }
  82. // &.w {
  83. // @include lemmatizedEntityColors(get-ne-color(lemBase));
  84. // }
  85. // }
  86. // &-header {
  87. // padding: 3.5px 7px;
  88. // border-top-left-radius: 0;
  89. // }
  90. // &-content {
  91. // padding: 0;
  92. // font-size: 80%;
  93. // }
  94. // &-detail-content {
  95. // padding: 1rem;
  96. // &.no-padding {
  97. // padding: 0;
  98. // }
  99. // }
  100. // }
  101. // :host ::ng-deep .ne-content {
  102. // // Override default styles
  103. // .entity-details .nav-link {
  104. // padding: 5px;
  105. // border: none;
  106. // }
  107. // }
  108. // :host ::ng-deep pre {
  109. // padding-top: 0;
  110. // margin: 0;
  111. // /* background: #fff;*/
  112. // code {
  113. // font-size: 85% !important;
  114. // }
  115. // //}
  116. // pre {
  117. // white-space: pre-wrap;
  118. // white-space: -moz-pre-wrap;
  119. // white-space: -pre-wrap;
  120. // white-space: -o-pre-wrap;
  121. // word-wrap: break-word;
  122. // width: 100%;
  123. // }