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