talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 1 | .dox-ui-punch-out { |
| 2 | background-color: $content-background-color; |
| 3 | } |
| 4 | |
| 5 | .dox-ui-punch-out.dox-ui-punch-out-full-page { |
| 6 | position: absolute; |
| 7 | top: 0; |
| 8 | bottom: 0; |
| 9 | left: 0; |
| 10 | right: 0; |
| 11 | overflow-y: auto; |
| 12 | } |
| 13 | |
| 14 | @mixin version-page-box-shadow() { |
| 15 | box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06); |
| 16 | } |
| 17 | |
| 18 | @mixin version-page-sub-title(){ |
| 19 | color: $text-black; |
| 20 | text-transform: uppercase; |
| 21 | background-color: $white; |
| 22 | border-bottom: 1px solid $light-gray; |
| 23 | padding: 12px 0 10px 23px; |
| 24 | } |
| 25 | |
| 26 | .versions-tree-modal { |
| 27 | .modal-dialog { |
| 28 | width: 800px; |
| 29 | } |
| 30 | |
| 31 | .tree-view { |
| 32 | display: flex; |
| 33 | align-items: center; |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | .versions-page-view { |
| 38 | height: 100%; |
| 39 | background-color: $background-gray; |
| 40 | overflow: auto; |
| 41 | padding: 35px 50px 20px 50px; |
| 42 | |
| 43 | .svg-icon-wrapper { |
| 44 | justify-content: flex-start; |
| 45 | } |
svishnev | 091edfd | 2018-03-19 12:15:19 +0200 | [diff] [blame] | 46 | .version-page-header { |
| 47 | display: flex; |
| 48 | justify-content: space-between; |
| 49 | .versions-page-title { |
| 50 | @extend .heading-1; |
| 51 | text-transform: uppercase; |
| 52 | margin-bottom: 29px; |
| 53 | color: $blue; |
| 54 | } |
| 55 | .depricate-btn-wrapper { |
| 56 | display: flex; |
| 57 | justify-content: flex-end; |
| 58 | margin-bottom: 10px; |
| 59 | } |
| 60 | } |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 61 | .versions-page-permissions-view-wrapper { |
| 62 | @extend .body-1-semibold; |
| 63 | @include version-page-box-shadow(); |
| 64 | |
| 65 | .permissions-view-wrapper-title { |
| 66 | @include version-page-sub-title(); |
| 67 | } |
| 68 | |
| 69 | .svg-icon-wrapper.user-view { |
| 70 | fill: transparent; |
| 71 | stroke: $blue; |
| 72 | .svg-icon { |
| 73 | height: 18px; |
| 74 | width: 16px; |
| 75 | margin: 0 7px; |
| 76 | } |
| 77 | &.current-user { |
| 78 | .svg-icon { |
| 79 | background-color: $blue; |
| 80 | stroke: $white; |
| 81 | padding-top: 5px; |
| 82 | padding-bottom: 3px; |
| 83 | height: 29px; |
| 84 | width: 29px; |
| 85 | border-radius: 20px; |
| 86 | border: 1px solid $blue; |
| 87 | box-shadow: inset 0px 0px 0px 2px $white; |
| 88 | margin: 0; |
| 89 | } |
| 90 | .svg-icon-label { |
| 91 | margin-left: 7px; |
| 92 | } |
| 93 | } |
| 94 | .svg-icon-label { |
| 95 | @extend .body-2; |
| 96 | color: $dark-gray; |
| 97 | margin-left: 6px; |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | .permissions-view-content { |
| 102 | padding: 20px 40px 20px 25px; |
| 103 | background-color: $white; |
| 104 | |
| 105 | height: 120px; |
| 106 | display: flex; |
| 107 | } |
| 108 | |
| 109 | .permissions-view { |
| 110 | display: flex; |
| 111 | flex: 1; |
| 112 | flex-direction: column; |
| 113 | justify-content: space-around; |
| 114 | |
| 115 | .permissions-view-title { |
| 116 | text-transform: uppercase; |
| 117 | color: $dark-gray; |
| 118 | } |
| 119 | |
| 120 | .contributors-view, .owner-view { |
| 121 | display: flex; |
| 122 | height: 16px; |
| 123 | @extend .body-1-semibold; |
| 124 | |
| 125 | .permissions-view-title { |
| 126 | width: 130px; |
| 127 | line-height: 16px; |
| 128 | } |
| 129 | |
| 130 | .extra-contributors { |
| 131 | border-radius: 30px; |
| 132 | background-color: $gray; |
| 133 | width: 26px; |
| 134 | height: 26px; |
| 135 | padding-right: 2px; |
| 136 | display: flex; |
| 137 | align-items: center; |
| 138 | justify-content: center; |
| 139 | color: $white; |
| 140 | cursor: default; |
| 141 | &:hover { |
| 142 | background-color: $dark-gray; |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | .user-view { |
| 147 | margin-right: 38px; |
| 148 | } |
| 149 | |
| 150 | .manage-permissions { |
| 151 | color: $blue; |
| 152 | margin-left: auto; |
| 153 | cursor: pointer; |
| 154 | |
| 155 | &:hover { |
| 156 | color: $dark-blue; |
| 157 | } |
| 158 | } |
| 159 | } |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | .versions-page-list-and-tree { |
| 164 | display: flex; |
| 165 | margin-top: 20px; |
| 166 | |
| 167 | .version-tree-wrapper { |
| 168 | display: flex; |
| 169 | flex-direction: column; |
| 170 | margin-right:10px; |
| 171 | transition: all 1s ease; |
| 172 | @include version-page-box-shadow(); |
| 173 | |
| 174 | .version-tree-title-container { |
| 175 | display: flex; |
| 176 | align-items: center; |
| 177 | height: 40px; |
| 178 | @include version-page-sub-title(); |
| 179 | padding-right: 10px; |
| 180 | |
| 181 | .version-tree-full-screen { |
| 182 | margin-left: auto; |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | .tree-view { |
| 187 | background-color: $white; |
| 188 | flex: 1; |
| 189 | } |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | .version-list { |
| 194 | flex: 1; |
| 195 | @extend .body-1-semibold; |
| 196 | color: $text-black; |
| 197 | display: flex; |
| 198 | flex-direction: column; |
| 199 | |
| 200 | .version-list-items { |
| 201 | flex: 1; |
| 202 | display: flex; |
| 203 | flex-direction: column; |
| 204 | |
| 205 | .version-item-row { |
| 206 | border-bottom: 1px solid $tlv-light-gray; |
| 207 | |
| 208 | &:last-child { |
| 209 | border-bottom: none; |
| 210 | } |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | .version-item-row { |
| 215 | $row-hover-color: lighten($blue, 54%); |
| 216 | $row-active-color: lighten($blue, 51%); |
| 217 | |
| 218 | display: flex; |
| 219 | align-items: center; |
| 220 | padding: 15px 30px; |
| 221 | @include version-page-box-shadow(); |
| 222 | background-color: $white; |
| 223 | height: 70px; |
| 224 | |
| 225 | &:hover { |
| 226 | background-color: $row-hover-color; |
| 227 | } |
| 228 | |
| 229 | &.selected { |
| 230 | box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06), inset 5px 0 0 0 $blue; |
| 231 | background-color: $row-active-color; |
| 232 | &:hover { |
| 233 | background-color: $row-hover-color; |
| 234 | box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06), inset 5px 0 0 0 lighten($blue, 35%); |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | &.header-row { |
| 239 | height: 40px; |
| 240 | |
| 241 | @extend .body-1-semibold; |
| 242 | @include version-page-sub-title(); |
| 243 | padding: 15px 27px; |
| 244 | |
| 245 | &:hover { |
| 246 | background-color: $white; |
| 247 | pointer-events: none; |
| 248 | &:active { |
| 249 | background-color: $white; |
| 250 | @include version-page-box-shadow(); |
| 251 | } |
| 252 | } |
| 253 | .header-field.actions { |
| 254 | margin-right: 57px; |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | .version-item-field { |
| 259 | flex: 1; |
| 260 | display: flex; |
| 261 | margin-right: 10px; |
| 262 | |
| 263 | &.item-version, &.item-status { |
| 264 | flex: 0 1 10%; |
| 265 | @extend .body-1-semibold; |
| 266 | color: $text-black; |
| 267 | } |
| 268 | |
| 269 | &.item-description, &.item-last-edited { |
| 270 | @extend .body-1; |
| 271 | color: $dark-gray; |
| 272 | } |
| 273 | |
| 274 | &.item-description, &.header-description { |
| 275 | flex: 2 1 0; |
| 276 | } |
| 277 | |
| 278 | &.item-description > .description-text { |
| 279 | margin-right: 10px; |
| 280 | @include ellipsis($max-width: 300px); |
| 281 | } |
| 282 | |
| 283 | &.item-actions { |
| 284 | display: flex; |
| 285 | flex: 1 1 3%; |
| 286 | justify-content: space-between; |
| 287 | } |
| 288 | |
| 289 | &.item-select, &.item-create { |
| 290 | @extend .body-1; |
| 291 | flex: 0 1 auto; |
| 292 | margin-right: 0; |
| 293 | |
| 294 | .svg-icon-wrapper { |
| 295 | fill: $blue; |
| 296 | color: $blue; |
| 297 | |
| 298 | &[disabled] { |
| 299 | cursor: default; |
| 300 | } |
| 301 | |
| 302 | .svg-icon { |
| 303 | width: 16px; |
| 304 | height: 16px; |
| 305 | } |
| 306 | |
| 307 | &:hover:not([disabled]) { |
| 308 | fill: $dark-blue; |
| 309 | color: $dark-blue; |
| 310 | } |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | } |
| 315 | |
| 316 | /* To keep ellipsis hider's background the same color as row background */ |
| 317 | &:not(.selected):hover .item-description > .description-text:after { |
| 318 | background: $row-hover-color |
| 319 | } |
| 320 | |
| 321 | &:hover:active .item-description > .description-text:after { |
| 322 | background: $row-active-color; |
| 323 | } |
| 324 | |
| 325 | } |
| 326 | |
| 327 | } |
| 328 | |
| 329 | &.clickable { |
| 330 | cursor: pointer; |
| 331 | } |
| 332 | } |