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