Merge pull request #5475 from opf/housekeeping/bourbon-deprecations

Replace deprecated bourbon mixins with regular CSS attributes
pull/5493/head
ulferts 8 years ago committed by GitHub
commit 33fc394c67
  1. 4
      app/assets/stylesheets/content/_datepicker.sass
  2. 2
      app/assets/stylesheets/content/_forms.sass
  3. 2
      app/assets/stylesheets/content/_grid_table.sass
  4. 4
      app/assets/stylesheets/content/_modal.sass
  5. 4
      app/assets/stylesheets/content/_notifications.sass
  6. 22
      app/assets/stylesheets/content/_pagination.sass
  7. 4
      app/assets/stylesheets/content/_table.sass
  8. 6
      app/assets/stylesheets/content/_user.sass
  9. 3
      app/assets/stylesheets/layout/_base.sass

@ -90,11 +90,11 @@ $dp-shadow-box-opacity: 1
.ui-icon.ui-icon-circle-triangle-w .ui-icon.ui-icon-circle-triangle-w
background-position: -96px -16px background-position: -96px -16px
@include user-select(none) user-select: none
.ui-icon.ui-icon-circle-triangle-e .ui-icon.ui-icon-circle-triangle-e
background-position: -32px -16px background-position: -32px -16px
@include user-select(none) user-select: none
.ui-state-hover .ui-state-hover
border-width: 0 !important border-width: 0 !important

@ -225,7 +225,7 @@ $form--field-types: (text-field, text-area, select, check-box, radio-button, ran
border: 3px solid #666666 border: 3px solid #666666
border-top: none border-top: none
border-right: none border-right: none
@include transform(rotate(-50deg)) transform: rotate(-50deg)
%form--fieldset-or-section %form--fieldset-or-section

@ -41,7 +41,7 @@
position: relative position: relative
.grid-item .grid-item
+transition(all 0.2s ease-in-out) transition: all 0.2s ease-in-out
height: $grid-item-height height: $grid-item-height
background: $grid-item-background background: $grid-item-background
width: 100% width: 100%

@ -49,7 +49,7 @@ $ng-modal-image-width: $ng-modal-image-height
cursor: pointer cursor: pointer
&.ng-enter &.ng-enter
+transition(opacity 0.25s ease) transition: opacity 0.25s ease
opacity: 0 opacity: 0
visibility: hidden visibility: hidden
@ -65,7 +65,7 @@ $ng-modal-image-width: $ng-modal-image-height
overflow: visible overflow: visible
.ng-modal-inner .ng-modal-inner
+transition(opacity 0.25s ease) transition: opacity 0.25s ease
background: $ng-modal-background background: $ng-modal-background
margin: auto margin: auto
max-height: 95% max-height: 95%

@ -199,12 +199,12 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)
// awesome animations // awesome animations
.notification-box .notification-box
&.ng-enter &.ng-enter
+transition(opacity 0.5s ease) transition: opacity 0.5s ease
opacity: 0 opacity: 0
&.ng-enter.ng-enter-active &.ng-enter.ng-enter-active
opacity: 1 opacity: 1
&.ng-leave &.ng-leave
+transition(opacity 2s ease) transition: opacity 2s ease
opacity: 1 opacity: 1
&.ng-leave.ng-leave-active &.ng-leave.ng-leave-active
opacity: 0 opacity: 0

@ -29,32 +29,32 @@
$pagination--font-size: 0.8125rem $pagination--font-size: 0.8125rem
.pagination .pagination
+display(flex) display: flex
+justify-content(space-between) justify-content: space-between
width: 100% width: 100%
.pagination--pages .pagination--pages
+flex-grow(2) flex-grow: 2
+flex-shrink(2) flex-shrink: 2
margin: 10px 5px 10px 0 margin: 10px 5px 10px 0
.pagination--options .pagination--options
+flex-grow(1) flex-grow: 1
+flex-shrink(1) flex-shrink: 1
margin: 10px 0 0 5px margin: 10px 0 0 5px
.pagination--items .pagination--items
list-style-type: none list-style-type: none
+display(flex) display: flex
margin: 0 margin: 0
padding: 0 padding: 0
font-size: $pagination--font-size font-size: $pagination--font-size
.pagination--pages & .pagination--pages &
+justify-content(flex-start) justify-content: flex-start
.pagination--options & .pagination--options &
+justify-content(flex-end) justify-content: flex-end
.pagination--item .pagination--item
min-width: 25px min-width: 25px
@ -96,7 +96,7 @@ $pagination--font-size: 0.8125rem
margin: 0 5px 0 0 margin: 0 5px 0 0
.pagination--label .pagination--label
+flex(1) flex: 1
padding: 3px 0 padding: 3px 0
margin-right: 5px margin-right: 5px
white-space: nowrap white-space: nowrap
@ -105,7 +105,7 @@ $pagination--font-size: 0.8125rem
text-overflow: ellipsis text-overflow: ellipsis
.pagination--range .pagination--range
+flex(1) flex: 1
margin: 0 0 0 5px margin: 0 0 0 5px
padding: 3px 0 padding: 3px 0
display: block display: block

@ -26,7 +26,7 @@
// See doc/COPYRIGHT.rdoc for more details. // See doc/COPYRIGHT.rdoc for more details.
//++ //++
@include keyframes(fade-out) @keyframes fade-out
from from
opacity: 1 opacity: 1
to to
@ -57,7 +57,7 @@ $input-elements: input, 'input.form--text-field', select, 'select.form--select',
#generic-table #generic-table
tr.issue tr.issue
&.ng-enter, &.ng-move &.ng-enter, &.ng-move
@include transition(0.5s linear all) transition: 0.5s linear all
opacity: 0 opacity: 0
&.ng-enter.ng-enter-active, &.ng-move.ng-move-active &.ng-enter.ng-enter-active, &.ng-move.ng-move-active
opacity: 1 opacity: 1

@ -41,8 +41,8 @@ h1, h2, h3, h4, tr
.user-avatar--container .user-avatar--container
+display(flex) display: flex
+align-items(flex-start) align-items: flex-start
width: 100% width: 100%
.user-avatar--avatar .user-avatar--avatar
@ -50,7 +50,7 @@ h1, h2, h3, h4, tr
margin-right: 0.5em margin-right: 0.5em
.user-avatar--user-with-role .user-avatar--user-with-role
+flex(1) flex: 1
.user-avatar--user .user-avatar--user
display: block display: block

@ -39,8 +39,7 @@ body
#wrapper #wrapper
@include default-transition @include default-transition
+background-image(linear-gradient(to bottom, $main-menu-bg-color 0%, $main-menu-bg-color 100%)) background: linear-gradient(to bottom, $main-menu-bg-color 0%, $main-menu-bg-color 100%) no-repeat
background-repeat: no-repeat
background-size: $main-menu-width 100% background-size: $main-menu-width 100%
min-height: 100% min-height: 100%
height: auto height: auto

Loading…
Cancel
Save