Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DTRA]/UPM-635/Ahmad/Arabic lang fix #1515

Merged
merged 47 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
15f2c6c
Bala/Flutter charts integration setup (#1325)
balakrishna-deriv Aug 10, 2023
995636c
Feature adding hover on indicator (#1434)
ahmadtaimoor-deriv Sep 11, 2023
37e6026
Merge branch 'master' of github.com:binary-com/SmartCharts into flutt…
balakrishna-deriv Sep 11, 2023
6b8ff0a
Merge branch 'flutter-chart' of github.com:binary-com/SmartCharts int…
balakrishna-deriv Sep 11, 2023
5137b3d
Add turbos contract type drawings (#1435)
balakrishna-deriv Sep 26, 2023
765f753
Feat drawing tool integration (#1443)
ahmadtaimoor-deriv Oct 6, 2023
e03e31f
Merge branch 'master' of github.com:binary-com/SmartCharts into flutt…
balakrishna-deriv Oct 6, 2023
09a13be
Bala/Html renderer and performance improvement (#1452)
balakrishna-deriv Oct 17, 2023
ddab405
fix indicator deletion on interval (#1454)
ahmadtaimoor-deriv Oct 18, 2023
f41f22a
flutter charts bug fixes (#1455)
balakrishna-deriv Oct 24, 2023
8ce404a
Ahmad/FEQ-948/Update Candle Color (#1460)
ahmadtaimoor-deriv Nov 30, 2023
7acf317
[DTRA]Ahmad/FEQ-960/Strike Price movement with marker barrier and Pri…
ahmadtaimoor-deriv Dec 1, 2023
75c0d46
chore: add portuguese language into SmartCharts (#1457)
suisin-deriv Nov 21, 2023
f22b05d
chore: update package version
balakrishna-deriv Dec 5, 2023
4d94d6d
Akmal / feat: implement new blue barrier in flutter charts (#1462)
akmal-deriv Dec 7, 2023
60b6cb1
[Dtra] Fix perf (#1466)
balakrishna-deriv Dec 19, 2023
05bd2d0
[DTRA] Fix trackjs issue (#1468)
balakrishna-deriv Dec 22, 2023
054f6d5
[DTRA] Bala/Fix scaling issue (#1469)
balakrishna-deriv Dec 29, 2023
86f85a0
chore: update version 2.0.0 (#1471)
balakrishna-deriv Dec 29, 2023
9aa0944
Merge branch 'master' of github.com:binary-com/SmartCharts into flutt…
balakrishna-deriv Dec 29, 2023
e7f985e
fix: consistent date on tooltip
ahmadtaimoor-deriv Jan 29, 2024
94afaf5
Merge branch 'master' of https://github.com/binary-com/SmartCharts in…
ahmadtaimoor-deriv Jan 29, 2024
be2dc85
fix: arabic language
ahmadtaimoor-deriv Jan 29, 2024
c5c902e
fix: chart rtl
ahmadtaimoor-deriv Jan 30, 2024
89962a9
stylelint fix
ahmadtaimoor-deriv Jan 30, 2024
ebaf5a3
updated changes
ahmadtaimoor-deriv Feb 20, 2024
03119f7
chore: indentation
ahmadtaimoor-deriv Feb 21, 2024
2eccc31
triggee
ahmadtaimoor-deriv Feb 21, 2024
16e265b
indent
ahmadtaimoor-deriv Feb 21, 2024
cf653ca
fix: indentation on scss
ahmadtaimoor-deriv Feb 21, 2024
d14858f
triggger for deriv app
ahmadtaimoor-deriv Feb 22, 2024
2220424
chore: trigger
ahmadtaimoor-deriv Feb 22, 2024
945ec4b
trigger
ahmadtaimoor-deriv Feb 26, 2024
fbb75ff
Merge branch 'master' of https://github.com/binary-com/SmartCharts in…
ahmadtaimoor-deriv Feb 26, 2024
4f29c84
trigger
ahmadtaimoor-deriv Feb 26, 2024
67a991b
fix trigger
ahmadtaimoor-deriv Feb 26, 2024
437d597
spacing
ahmadtaimoor-deriv Feb 27, 2024
0c70ca4
changing the rtl ignore type
ahmadtaimoor-deriv Feb 27, 2024
4cdc3ed
fix
ahmadtaimoor-deriv Feb 27, 2024
563858f
changing the rtl ignore type
ahmadtaimoor-deriv Feb 27, 2024
d6e2929
fix
ahmadtaimoor-deriv Feb 28, 2024
c6d9927
barrier fix
ahmadtaimoor-deriv Feb 28, 2024
e06f308
removing rtl library
ahmadtaimoor-deriv Feb 28, 2024
0ad0acc
removing rtl library
ahmadtaimoor-deriv Feb 28, 2024
7aceeed
fixes
ahmadtaimoor-deriv Feb 29, 2024
9d4cbd0
fixes
ahmadtaimoor-deriv Feb 29, 2024
a3a7882
trigger for deriv app
ahmadtaimoor-deriv Mar 5, 2024
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
9 changes: 9 additions & 0 deletions sass/components/_barrier.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@charset "UTF-8";

/*! rtl:begin:ignore */
.barrier-area {
-moz-user-select: none;
-webkit-user-select: none;
Expand All @@ -9,7 +10,9 @@
user-select: none;
width: 100%;
}

/* Drag Lines and Prices */

.chart-line {
position: absolute;
z-index: 35;
Expand All @@ -35,13 +38,15 @@
width: 100%;
}
.drag-line {
/* rtl:begin:ignore */
height: 1px;
float: left;
width: 100%;
margin-left: -10px;
position: relative;
border-top-width: 1px;
border-top-color: $color-blue;
/* rtl:end:ignore */
}
.title-wrapper {
$title-height: 24px;
Expand Down Expand Up @@ -156,12 +161,14 @@
}
}
&-overlay {
/* rtl:begin:ignore */
background-color: $color-blue;
height: 24px;
opacity: 0.3;
position: absolute;
right: -10px;
top: -12px;
/* rtl:end:ignore */
}
}

Expand Down Expand Up @@ -225,3 +232,5 @@
background-image: linear-gradient(to bottom, var(--shade-color), transparent);
/* stylelint-enable plugin/no-unsupported-browser-features */
}

/*! rtl:end:ignore */
3 changes: 3 additions & 0 deletions sass/components/_categorical-display.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
display: none;

&-item {
direction: ltr;
width: 100%;
display: flex;
box-sizing: border-box;
Expand Down Expand Up @@ -115,6 +116,7 @@
}
}
&__item {
direction: ltr;
width: 100%;
display: flex;
box-sizing: border-box;
Expand Down Expand Up @@ -309,6 +311,7 @@
}
&__item {
$item: &;
direction: ltr;
padding-left: 20px;
padding-right: 20px;
display: flex;
Expand Down
6 changes: 6 additions & 0 deletions sass/components/_chart-controls.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

/* rtl:begin:ignore */

.cq-chart-controls {
position: absolute;
display: flex;
Expand Down Expand Up @@ -135,6 +137,7 @@
}

/* Menu dropdown open/close animation */

.cq-chart-controls .ciq-menu .cq-menu-dropdown {
.cq-chart-control-bottom & {
transform: translateX(-50%) translateY(3em);
Expand Down Expand Up @@ -195,6 +198,7 @@
}

/* Mobile Style */

.smartcharts-mobile {
.cq-chart-controls {
justify-content: space-around;
Expand Down Expand Up @@ -325,3 +329,5 @@
}
}
}

/* rtl:end:ignore */
24 changes: 20 additions & 4 deletions sass/components/_chart-title.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*! rtl:begin:ignore */
.cq-chart-title {
display: inline-block;
top: 1em;
Expand All @@ -18,6 +19,7 @@

svg {
width: 12px;

@include themify($themes) {
fill: themed('ChartTitleArrow');
}
Expand Down Expand Up @@ -49,6 +51,7 @@
.cq-menu-btn {
padding: 8px;
border-radius: $border-radius;

@include themify($themes) {
background: themed('ChartTitleSubBg');
}
Expand All @@ -60,6 +63,7 @@
display: flex;
align-items: center;
border-radius: $border-radius;

@include themify($themes) {
color: themed('ChartTitleText');
}
Expand All @@ -81,7 +85,10 @@
transition: transform 0.2s ease-in-out;
}
}
> .ic-icon, > .ic-frx, > .ic-wld, > .ic-otc {
> .ic-icon,
> .ic-frx,
> .ic-wld,
> .ic-otc {
height: $large-icon-size;
width: $large-icon-size;
transform: scale(1.3);
Expand All @@ -94,6 +101,7 @@
display: flex;
flex-direction: column;
margin: 0 0 0 20px;

@media (min-width: 768px) {
min-width: 15rem;
min-height: 4.2rem;
Expand Down Expand Up @@ -126,6 +134,7 @@
line-height: 24px;
width: auto;
padding-right: 1rem;

@include themify($themes) {
color: themed('ChartTitleSymbolText');
}
Expand All @@ -144,6 +153,7 @@
margin-right: 5px;
height: 12px;
margin-top: 3px;

@include themify($themes) {
fill: themed('TimeIconColor');
}
Expand All @@ -160,6 +170,7 @@

.cq-closed-opening-time {
font-weight: bold;

@include themify($themes) {
color: themed('ChartTitleText');
}
Expand All @@ -179,12 +190,15 @@
border-radius: $border-radius;
text-transform: uppercase;
}
.cq-chart-price > *, .cq-chart-closed > * {
.cq-chart-price > *,
.cq-chart-closed > * {
position: relative;
}
.cq-chart-price, .cq-chart-closed {
.cq-chart-price,
.cq-chart-closed {
display: flex;
vertical-align: text-bottom;

@include themify($themes) {
color: themed('ChartTitlePriceText');
}
Expand All @@ -195,7 +209,8 @@
bottom: auto;
transform: translateX(0) translateY(-3em);

&.cq-menu-dropdown-enter-done, &.cq-menu-dropdown-enter-active {
&.cq-menu-dropdown-enter-done,
&.cq-menu-dropdown-enter-active {
opacity: 1;
transform: translateX(0) translateY(0em);
}
Expand Down Expand Up @@ -229,3 +244,4 @@
}
}
}
/*! rtl:end:ignore */
2 changes: 2 additions & 0 deletions sass/components/_crosshair.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*! rtl:begin:ignore */
.cq-crosshair-toggle {
&:hover {
@include themify($themes) {
Expand Down Expand Up @@ -151,3 +152,4 @@
position: absolute;
bottom: 0px;
}
/*! rtl:end:ignore */
7 changes: 4 additions & 3 deletions sass/components/_navigation-widget.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

/*! rtl:begin:ignore */
.sc-navigation-widget {
direction: ltr;
width: 32px;
position: absolute;
bottom: 80px;
Expand Down Expand Up @@ -42,7 +43,7 @@
}
}
}

/*! rtl:end:ignore */
.smartcharts-mobile .sc-navigation-widget__item--indent {
margin-bottom: calc(10% - 1rem);
}
}
3 changes: 3 additions & 0 deletions sass/components/_toolbar-widget.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*! rtl:begin:ignore */
.sc-toolbar-widget {
position: absolute;
direction: ltr;
border-radius: $border-radius;
width: 40px;
top: 102px;
Expand Down Expand Up @@ -67,3 +69,4 @@
z-index: 5;
}
}
/*! rtl:end:ignore */
12 changes: 12 additions & 0 deletions sass/styles/chart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ body {
margin: 0px; /*to deal with iFraming which sets 8px by default in some browsers*/
}

/*! rtl:ignore */
.chartContainer {
/* DIV that the canvas expands to. #chartContainer is only for backward compatibility with older libraries. */
display: block;
Expand All @@ -32,6 +33,7 @@ body {
}
}

/*! rtl:ignore */
.cq-inchart-subholder {
width: 100%;
height: 100%;
Expand All @@ -40,6 +42,8 @@ body {
pointer-events: none;
}
/* Chart Block */

/*! rtl:ignore */
.ciq-chart {
height: auto;
width: 100%;
Expand Down Expand Up @@ -67,13 +71,16 @@ body {
}

/* The Chart */

/*! rtl:ignore */
.cq-chart-control-left {
.chartContainer {
width: calc(100% - 100px);
margin-left: 100px;
}
}

/*! rtl:ignore */
.sharing .ciq-no-share {
display: none !important;
left: -9999px !important;
Expand Down Expand Up @@ -161,6 +168,7 @@ body {
/* Up/Down Arrow indicators */
.cq-change {
&:after {
/*! rtl:ignore */
float: right;
margin-top: 5px;
margin-right: 5px;
Expand Down Expand Up @@ -192,12 +200,16 @@ body {
z-index: 30;
}

/*! rtl:ignore */

.scroll_to_recent:hover,
.scroll_to_recent:active {
/* Make buttons full opacity on hover or hit */
opacity: 1;
}

/*! rtl:ignore */

.scroll_to_recent {
/* Button jumping to today's data */
color: #fff;
Expand Down
14 changes: 12 additions & 2 deletions sass/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
}
}

/*! rtl:ignore */
.cq-modal__overlay {
display: flex;
width: 100%;
Expand All @@ -160,6 +161,7 @@
overflow: hidden;
}

/*! rtl:ignore */
.ciq-modal {
.cq-modal__overlay {
z-index: 9999;
Expand All @@ -173,7 +175,7 @@
@import 'menu';

/* -------------------------- custom styles -------------------------------------*/

/*! rtl:ignore */
.cq-chart-unavailable {
position: absolute;
text-align: center;
Expand All @@ -183,12 +185,14 @@
font-size: 1.7em;
color: #878787;
}

/*! rtl:begin:ignore */
.sc-tooltip {
&__inner {
position: absolute;
top: 0px;
/*! rtl:begin:ignore */
left: 50%;
/*! rtl:end:ignore */
border-radius: $border-radius;
height: 34px;
width: auto;
Expand Down Expand Up @@ -272,6 +276,7 @@
}
}
/* -------------------------- buttons -------------------------------------*/

.sc-btn {
padding: 5px 16px;
font-size: 14px;
Expand Down Expand Up @@ -412,6 +417,11 @@
}
}

[dir='rtl'] .sc-input {
border-right: 1px solid $color-grey-5 !important;
maryia-deriv marked this conversation as resolved.
Show resolved Hide resolved
}

/*! rtl:end:ignore */
@keyframes blinking-network-status {
40% {
opacity: 1;
Expand Down
Loading