Skip to content

Commit

Permalink
Add mobile sorting style to bluesky
Browse files Browse the repository at this point in the history
  • Loading branch information
PashaMasalkin committed Jul 9, 2020
1 parent e1d9fce commit 525de12
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
}
}

.ui.button.mobile-sorting-setting-button {
max-width: @navbarSortingMobileMaxWidth;
white-space: @navbarSortingMobileWhiteSpace;
overflow: @navbarSortingMobileOverflow;
text-overflow: @navbarSortingMobileTextOverflow;
}

// Fix for ie
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.ui.action.input.search-field,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,10 @@
--------------------*/
@olvOperationsButtonLineHeight: unit(20 / 14, em);
@olvOperationsButtonBorderColor: transparent;
@olvOperationsButtonMargin: 0;
@olvOperationsButtonMargin: 0;

/*Navbar sorting*/
@navbarSortingMobileMaxWidth: 180px;
@navbarSortingMobileWhiteSpace: nowrap;
@navbarSortingMobileOverflow: hidden;
@navbarSortingMobileTextOverflow: ellipsis;
Original file line number Diff line number Diff line change
Expand Up @@ -667,13 +667,9 @@ tbody tr td .icon.button.hierarchy-expand {
}

.ui.button.mobile-sorting-setting-button {
width: @navbarSortingMobileWidth;
max-width: @navbarSortingMobileMaxWidth;
white-space: @navbarSortingMobileWhiteSpace;
overflow: @navbarSortingMobileOverflow;
text-overflow: @navbarSortingMobileTextOverflow;
font-size: @navbarSortingMobileFontSize;
font-weight: @navbarSortingMobileTextWeight;
display: @navbarSortingMobileDisplay;
align-items: @navbarSortingMobileAlignItems;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,10 @@
@navbarMobileButtonPadding: 0 0.625rem;

/*Navbar sorting*/
@navbarSortingMobileWidth: 180px;
@navbarSortingMobileMaxWidth: 180px;
@navbarSortingMobileWhiteSpace: nowrap;
@navbarSortingMobileOverflow: hidden;
@navbarSortingMobileTextOverflow: ellipsis;
@navbarSortingMobileFontSize: 1rem;
@navbarSortingMobileTextWeight: bold;
@navbarSortingMobileDisplay: flex;
@navbarSortingMobileAlignItems: center;

/* Mobile selected row menu */
@olvContainerPosition: relative;
Expand Down

0 comments on commit 525de12

Please sign in to comment.