Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/app/@theme/styles/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
}
}
2 changes: 0 additions & 2 deletions docs/app/@theme/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
}

body {
scrollbar-face-color: rgba(0, 0, 0, 0.3);
scrollbar-track-color: rgba(255, 255, 255, 0.7);
min-width: 320px !important;
-webkit-font-smoothing: antialiased;
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@
transform: translate(-50%, -50%);
}

/* Target IE9 - IE11 */
select::-ms-expand {
display: none;
}

select {
font-size: 0.875rem;
appearance: none;
Expand Down Expand Up @@ -120,7 +115,6 @@

.iframe-container {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

iframe {
Expand All @@ -144,12 +138,12 @@
transform: translate(-50%, -50%);
}

@-webkit-keyframes rotation {
@keyframes rotation {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}

Expand Down
1 change: 0 additions & 1 deletion src/framework/bootstrap/styles/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@

.modal-body {
flex: 1;
-ms-flex: 1 1 auto;
overflow: auto;
padding: nb-theme(card-padding);
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@

nb-accordion-item-body .item-body {
flex: 1;
-ms-flex: 1 1 auto;
overflow: auto;
padding: nb-theme(accordion-padding);
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@

nb-card-body {
flex: 1;
-ms-flex: 1 1 auto;
overflow: auto;
padding: nb-theme(card-padding);
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@

@include media-breakpoint-down(sm) {
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
}

Expand Down
3 changes: 0 additions & 3 deletions src/framework/theme/components/layout/layout.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
.layout-container {
display: flex;
flex: 1;
-ms-flex: 1 1 auto;
flex-direction: row;

::ng-deep nb-sidebar {
Expand All @@ -65,7 +64,6 @@
.content {
display: flex;
flex: 1;
-ms-flex: 1 1 auto;
flex-direction: column;
min-width: 0;

Expand All @@ -79,7 +77,6 @@
.columns {
display: flex;
flex: 1;
-ms-flex: 1 1 auto;
flex-direction: row;
width: 100%;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
&::placeholder {
color: nb-theme(search-placeholder-text-color);
}

&::-ms-clear {
display: none;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@
padding: nb-theme(sidebar-padding);
position: relative;

-webkit-transform: translate3d(0, 0, 0); // ios optimisation
@include media-breakpoint-down(sm) {
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}

@include nb-scrollbars(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

::ng-deep nb-tab {
flex: 1;
-ms-flex: 1 1 auto;
overflow: auto;
display: none;
&.content-active {
Expand Down
27 changes: 3 additions & 24 deletions src/framework/theme/styles/core/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@
&::-webkit-scrollbar-corner {
background: $bg;
}

& {
// TODO: remove
// For Internet Explorer
scrollbar-face-color: $fg;
scrollbar-track-color: $bg;
}
}

@mixin nb-headings($from: 1, $to: 6) {
Expand Down Expand Up @@ -70,7 +63,7 @@
}

@mixin install-thumb() {
$thumb-selectors: ('::-webkit-slider-thumb' '::-moz-range-thumb' '::-ms-thumb');
$thumb-selectors: ('::-webkit-slider-thumb' '::-moz-range-thumb');

@each $selector in $thumb-selectors {
&#{$selector} {
Expand All @@ -82,7 +75,7 @@
}

@mixin install-track() {
$thumb-selectors: ('::-webkit-slider-runnable-track' '::-moz-range-track' '::-ms-track');
$thumb-selectors: ('::-webkit-slider-runnable-track' '::-moz-range-track');

@each $selector in $thumb-selectors {
&#{$selector} {
Expand All @@ -94,9 +87,7 @@
}

@mixin install-placeholder($color, $font-size, $opacity: 1) {
$placeholder-selectors: (
'::-webkit-input-placeholder' '::-moz-placeholder' ':-moz-placeholder' ':-ms-input-placeholder'
);
$placeholder-selectors: ('::-webkit-input-placeholder' '::-moz-placeholder' ':-moz-placeholder');

&::placeholder {
@include placeholder($color, $font-size, $opacity);
Expand Down Expand Up @@ -143,22 +134,10 @@
$animations: #{$animations + ', '};
}
}
-webkit-animation: $animations;
-moz-animation: $animations;
-o-animation: $animations;
animation: $animations;
}

@mixin keyframes($animationName) {
@-webkit-keyframes #{$animationName} {
@content;
}
@-moz-keyframes #{$animationName} {
@content;
}
@-o-keyframes #{$animationName} {
@content;
}
@keyframes #{$animationName} {
@content;
}
Expand Down
4 changes: 2 additions & 2 deletions src/framework/theme/styles/global/_styles.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.visually-hidden { /* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
.visually-hidden {
/* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
}
2 changes: 0 additions & 2 deletions src/playground/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
}

body {
scrollbar-face-color: rgba(0, 0, 0, 0.3);
scrollbar-track-color: rgba(255, 255, 255, 0.7);
min-width: 320px;
-webkit-font-smoothing: antialiased;
}
Expand Down