Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-SunbirdEd-portal-old
Commits
6e5c15ca
Commit
6e5c15ca
authored
6 years ago
by
Pradosh Kumar
Browse files
Options
Download
Plain Diff
Merge remote-tracking branch 'upstream/release-1.14-SP-2' into SB-10436
parents
af30d628
a4e31ad4
master
Dark_theme
SB-25589
SB-28090
aws_fileRead
contributions
dependabot/npm_and_yarn/src/app/client/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/app/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/app/express-4.17.3
dependabot/npm_and_yarn/src/app/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/OpenRAP/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/desktop/OpenRAP/express-4.17.3
dependabot/npm_and_yarn/src/desktop/OpenRAP/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/OpenRAP/qs-6.5.3
dependabot/npm_and_yarn/src/desktop/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/desktop/express-4.17.3
dependabot/npm_and_yarn/src/desktop/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/qs-6.10.3
desktop-common-consumption
filters_5.1.1
gcp
gcp_test
keshavprasadms-patch-1
keshavprasadms-patch-2
release-1.14-SP-2
release-1.14-sp3
release-1.14.6
release-1.15
release-1.15.1
release-2.0.0
release-2.0.0-hotfix
release-2.0.1
release-2.0.2
release-2.0.3
release-2.1.0
release-2.1.1
release-2.10.0
release-2.10.1
release-2.10.2
release-2.10.3
release-2.2.0
release-2.2.1
release-2.3.0
release-2.3.1
release-2.3.5
release-2.3.6
release-2.4.0
release-2.4.1
release-2.4.2
release-2.5.0
release-2.5.1
release-2.6.0
release-2.6.0-loadtest
release-2.6.5
release-2.6.6
release-2.7.0
release-2.8.0
release-2.8.1
release-2.8.10
release-2.8.11
release-2.8.12
release-2.8.2
release-2.8.3
release-2.8.4
release-2.8.5
release-2.8.6
release-2.8.7
release-2.8.8
release-2.8.9
release-2.9.0
release-3.0
release-3.0-merge
release-3.0.0
release-3.0.1
release-3.0.2
release-3.0.3
release-3.0.4
release-3.0.4-sso
release-3.1.0
release-3.1.1
release-3.1.2
release-3.2.0
release-3.2.1
release-3.2.10
release-3.2.11
release-3.2.12
release-3.2.13
release-3.2.14
release-3.2.2
release-3.2.3
release-3.2.4
release-3.3.0
release-3.3.0-telemetry-fix
release-3.3.1
release-3.3.2
release-3.4.0
release-3.4.1
release-3.4.2
release-3.4.3
release-3.4.4
release-3.4.5
release-3.4.6
release-3.4.7
release-3.5.0
release-3.5.1
release-3.5.2
release-3.5.3
release-3.6.0
release-3.6.1
release-3.6.5
release-3.6.6
release-3.7.0
release-3.7.1
release-3.7.2
release-3.8.0
release-3.8.1
release-3.8.2
release-3.8.3
release-3.9.0
release-3.9.1
release-3.9.2
release-3.9.3
release-4.0.0
release-4.0.1
release-4.0.2
release-4.1
release-4.1.0
release-4.1.1
release-4.10.0
release-4.10.0.1
release-4.10.1
release-4.10.2
release-4.10.2.1
release-4.10.2.2
release-4.10.3
release-4.2.0
release-4.2.1
release-4.3.0
release-4.3.1
release-4.4.0
release-4.4.1
release-4.5.0
release-4.5.1
release-4.5.2
release-4.6.0
release-4.7.0
release-4.7.1
release-4.8.0
release-4.8.5
release-4.9.0
release-4.9.1
release-5.0.0
release-5.0.0.1
release-5.0.0.2
release-5.0.0.3
release-5.0.1
release-5.0.2
release-5.1.0
release-5.1.1
release-sonarcloud
revert-3718-copypi
revert-3842-release-2.8.7
revert-3890-release-2.8.9
revert-4427-player-cache-issue
revert-4537-SB-19763
revert-5244-sh-809
revert-5260-SB-table-3.3.0
revert-8284-release-5.0.0
sharathkashyap-patch-1
Tags unavailable
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
src/app/client/src/assets/styles/_variables.scss
+144
-163
src/app/client/src/assets/styles/_variables.scss
src/app/client/src/assets/styles/component/_buttons.scss
+144
-0
src/app/client/src/assets/styles/component/_buttons.scss
src/app/client/src/assets/styles/component/_modal.scss
+57
-29
src/app/client/src/assets/styles/component/_modal.scss
src/app/client/src/assets/styles/global.scss
+18
-15
src/app/client/src/assets/styles/global.scss
src/app/client/src/assets/styles/mixins/_button.scss
+29
-0
src/app/client/src/assets/styles/mixins/_button.scss
src/app/client/src/assets/styles/mixins/_mixins.scss
+2
-1
src/app/client/src/assets/styles/mixins/_mixins.scss
with
394 additions
and
208 deletions
+394
-208
src/app/client/src/assets/styles/_variables.scss
+
144
−
163
View file @
6e5c15ca
...
...
@@ -3,199 +3,180 @@
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
// Color system
// stylelint-disable
// Fonts
$font-stack-en
:
'Noto Sans'
,
'Noto Sans
Devanagari
'
,
'Noto Sans
Tamil
'
,
'Noto Sans
Bengali
'
,
'Noto Sans
Malayalam
'
,
'Noto Sans Gu
rmukh
i'
,
'Noto Sans
Gujarati
'
,
'Noto Sans
Telugu
'
,
'Noto Sans
Kannad
a'
,
'Noto
Sans Oriya
'
,
'Noto Nastaliq Urdu'
,
-
apple-s
ystem
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen-Sans
,
Ubuntu
,
Cantarell
,
'Helvetica Neue'
,
sans-serif
;
$font-stack-hi
:
'Noto Sans
Devana
ga
r
i'
,
'Noto Sans'
,
'Noto Sans
Tamil
'
,
'Noto Sans
Bengal
i'
,
'Noto Sans
Malayalam
'
,
'Noto Sans
Gurmukhi
'
,
'Noto Sans
Gujarati
'
,
'Noto
Sans Telug
u'
,
'Noto Sans Kannada'
,
'Noto Sans Oriya'
,
'Noto Nastaliq Urdu
'
,
-
apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen-Sans
,
Ubuntu
,
Cantarell
,
'Helvetica Neue
'
,
sans-serif
;
$font-stack-ur
:
'Noto Sans'
,
'Noto
Nastaliq Urdu
'
,
'Noto Sans
Devanagar
i'
,
'Noto Sans T
amil
'
,
'Noto Sans
Bengali
'
,
'Noto Sans
Malayalam
'
,
'Noto Sans Gurmukhi'
,
'Noto Sans Gujarati'
,
'Noto Sans Telugu
'
,
'Noto Sans Kannada'
,
'Noto Sans Oriya'
,
-
apple-system
,
BlinkMacSystemFont
,
'Segoe UI
'
,
Roboto
,
Oxygen-Sans
,
Ubuntu
,
Cantarell
,
'Helvetica Neue'
,
sans-serif
;
$font-stack-en
:
'Noto Sans'
,
'Noto Sans
Devanagari
'
,
'Noto Sans
Tamil
'
,
'Noto Sans
Bengali
'
,
'Noto Sans
Malayalam
'
,
'Noto Sans
Gurmukhi
'
,
'Noto Sans Gu
jarat
i'
,
'Noto Sans
Telugu
'
,
'Noto Sans
Kannada
'
,
'Noto Sans
Oriy
a'
,
'Noto
Nastaliq Urdu
'
,
-
apple-system
,
BlinkMacS
ystem
Font
,
'Segoe UI'
,
Roboto
,
Oxygen-Sans
,
Ubuntu
,
Cantarell
,
'Helvetica Neue'
,
sans-serif
;
$font-stack-hi
:
'Noto Sans Devanagari'
,
'Noto Sans'
,
'Noto Sans Tamil'
,
'Noto Sans
Ben
ga
l
i'
,
'Noto Sans
Malayalam
'
,
'Noto Sans
Gurmukhi
'
,
'Noto Sans
Gujarat
i'
,
'Noto Sans
Telugu
'
,
'Noto Sans
Kannada
'
,
'Noto Sans
Oriya
'
,
'Noto
Nastaliq Urd
u'
,
-
apple-system
,
BlinkMacSystemFont
,
'Segoe UI
'
,
Roboto
,
Oxygen-Sans
,
Ubuntu
,
Cantarell
,
'Helvetica Neue'
,
sans-serif
;
$font-stack-ur
:
'Noto Sans'
,
'Noto Nastaliq Urdu
'
,
'Noto Sans Devanagari'
,
'Noto Sans Tamil'
,
'Noto Sans Bengali'
,
'Noto Sans
Malayalam
'
,
'Noto
Sans Gurmukhi
'
,
'Noto Sans
Gujarat
i'
,
'Noto Sans T
elugu
'
,
'Noto Sans
Kannada
'
,
'Noto Sans
Oriya
'
,
-
apple-system
,
BlinkMacSystemFont
,
'Segoe UI
'
,
Roboto
,
Oxygen-Sans
,
Ubuntu
,
Cantarell
,
'Helvetica Neue
'
,
sans-serif
;
/* gray colors */
$gray-0
:
#f3f3f3
;
// place holder active bg
$gray-100
:
#cccccc
;
// disable btn bg, icon color
$gray-200
:
#979797
;
// disable text, place holder text
$gray-300
:
#999999
;
// sub heading 2
$gray-400
:
#666666
;
// sub heading
$gray-800
:
#333333
;
// text color
// Base Colors
$blue
:
#024f9d
;
$green
:
#008840
;
$orange
:
#e55a28
;
$red
:
#ff4558
;
$white
:
#fff
;
$indigo
:
#6610f2
;
$purple
:
#6f42c1
;
$pink
:
#e83e8c
;
$yellow
:
#ffc107
;
$teal
:
#20c997
;
$cyan
:
#17a2b8
;
$blue
:
#024f9d
;
$green
:
#008840
;
$orange
:
#e55a28
;
$red
:
#ff4558
;
$white
:
#fff
;
$indigo
:
#6610f2
;
$purple
:
#6f42c1
;
$pink
:
#e83e8c
;
$yellow
:
#ffc107
;
$teal
:
#20c997
;
$cyan
:
#17a2b8
;
// brand Colors
$primary-color
:
$blue
;
$primary-color
:
$blue
;
$secondary-color
:
$green
;
$tertiary-color
:
$orange
;
$tertiary-color
:
$orange
;
// Status Colors
$
success
-color
:
$green
;
$
warning
-color
:
$orange
;
$
danger
-color
:
$red
;
$
info
-color
:
$blue
;
$
success
-color
:
$green
;
$
warning
-color
:
$orange
;
$danger-color
:
$red
;
// Nuetral Colors
$white-color
:
$white
;
/* gray colors */
$gray-0
:
#f3f3f3
;
// place holder active bg
$gray-100
:
#cccccc
;
// disable btn bg, icon color
$gray-200
:
#979797
;
// disable text, place holder text
$gray-300
:
#999999
;
// sub heading 2
$gray-400
:
#666666
;
// sub heading
$gray-800
:
#333333
;
// text color
$white-color
:
$white
;
$theme-colors
:
()
!
default
;
$theme-colors
:
map-merge
((
"primary"
:
$primary-color
,
"secondary"
:
$secondary-color
,
"tertiary"
:
$tertiary-color
,
"success"
:
$success-color
,
"info"
:
$info-color
,
"warning"
:
$warning-color
,
"danger"
:
$danger-color
,
"light"
:
$gray-100
,
"dark"
:
$gray-800
)
,
$theme-colors
);
// primary colors shades
$primary-0
:
lighten
(
$primary-color
,
65%
);
// bg
$primary-100
:
lighten
(
$primary-color
,
15%
);
// default button bg
$primary-200
:
lighten
(
$primary-color
,
10%
);
// divider
$primary-300
:
lighten
(
$primary-color
,
5%
);
// outline, focus fields
$primary-0
:
lighten
(
$primary-color
,
65%
);
// bg
$primary-100
:
lighten
(
$primary-color
,
15%
);
// default button bg
$primary-200
:
lighten
(
$primary-color
,
10%
);
// divider
$primary-300
:
lighten
(
$primary-color
,
5%
);
// outline, focus fields
$primary-400
:
$primary-color
;
// button bg, heading, table titles, links, toggles
$primary-600
:
darken
(
$primary-color
,
15%
);
// on press
$primary-800
:
darken
(
$primary-color
,
30%
);
// hover
$primary-600
:
darken
(
$primary-color
,
15%
);
// on press
$primary-800
:
darken
(
$primary-color
,
30%
);
// hover
// secondary colors shades
$secondary-0
:
lighten
(
$secondary-color
,
50%
);
// toast bg
$secondary-100
:
lighten
(
$secondary-color
,
15%
);
// buttong bg, toast
$secondary-200
:
lighten
(
$secondary-color
,
10%
);
// button hover
$secondary-400
:
$secondary-color
;
// icon
$secondary-0
:
lighten
(
$secondary-color
,
50%
);
// toast bg
$secondary-100
:
lighten
(
$secondary-color
,
15%
);
// buttong bg, toast
$secondary-200
:
lighten
(
$secondary-color
,
10%
);
// button hover
$secondary-400
:
$secondary-color
;
// icon
// tertiary colors shades
$tertiary-0
:
lighten
(
$tertiary-color
,
50%
);
// toast bg
$tertiary-100
:
lighten
(
$tertiary-color
,
15%
);
// buttong bg, toast
$tertiary-0
:
lighten
(
$tertiary-color
,
50%
);
// toast bg
$tertiary-100
:
lighten
(
$tertiary-color
,
15%
);
// buttong bg, toast
$tertiary-400
:
$tertiary-color
;
// icon, label, notification bg
// red colors shades
$red-0
:
lighten
(
$red
,
50%
);
// toast bg
$red-100
:
lighten
(
$red
,
15%
);
// buttong bg, toast
$red-0
:
lighten
(
$red
,
50%
);
// toast bg
$red-100
:
lighten
(
$red
,
15%
);
// buttong bg, toast
$red-400
:
$red
;
// icon color, lable, notification bg
// Settings for the `<body>` element.
$bg-body
:
$primary-0
;
$body-color
:
$gray-800
;
$bg-body
:
$primary-0
;
$body-color
:
$gray-800
;
// Style anchor elements.
$link-color
:
$primary-color
;
$link-decoration
:
none
;
$link-hover-color
:
$primary-800
;
$link-hover-decoration
:
underline
;
$link-color
:
theme-color
(
"primary"
);
$link-decoration
:
none
;
//$link-hover-color: darken($link-color, 15%);
$link-hover-decoration
:
underline
;
// Fonts
// $font-default-size: 14px;
$font-size-base
:
1rem
;
// Assumes the browser default, typically `16px`
$font-weight-light
:
300
;
$font-weight-normal
:
400
;
$font-weight-bold
:
700
;
$font-weight-base
:
$font-weight-normal
;
$line-height-base
:
$font-size-base
*
.25
;
$h1-font-size
:
$font-size-base
*
2
.5
;
// 40px
$h2-font-size
:
$font-size-base
*
2
;
// 32px
$h3-font-size
:
$font-size-base
*
1
.75
;
// 28px
$h4-font-size
:
$font-size-base
*
1
.5
;
// 24px
$h5-font-size
:
$font-size-base
*
1
.25
;
// 20px
$h6-font-size
:
$font-size-base
;
// 16px
$font-size-lg
:
(
$h4-font-size
);
//24px
$font-size-normal
:
(
$h6-font-size
);
// 16px
$font-size-md
:
(
$font-size-base
*
.825
);
// 14px
$font-size-sm
:
(
$font-size-base
*
.75
);
// 12px
$font-size-xs
:
(
$font-size-base
*
.625
);
// 10px
$p-font-size
:
$font-size-md
;
$font-weight-light
:
300
;
$font-weight-normal
:
400
;
$font-weight-bold
:
700
;
$font-weight-base
:
$font-weight-normal
;
$line-height-base
:
$font-size-base
*
.25
;
$h1-font-size
:
$font-size-base
*
2
.5
;
// 40px
$h2-font-size
:
$font-size-base
*
2
;
// 32px
$h3-font-size
:
$font-size-base
*
1
.75
;
// 28px
$h4-font-size
:
$font-size-base
*
1
.5
;
// 24px
$h5-font-size
:
$font-size-base
*
1
.25
;
// 20px
$h6-font-size
:
$font-size-base
;
// 16px
$font-size-lg
:
(
$h4-font-size
);
//24px
$font-size-normal
:
(
$h6-font-size
);
// 16px
$font-size-md
:
(
$font-size-base
*
.825
);
// 14px
$font-size-sm
:
(
$font-size-base
*
.75
);
// 12px
$font-size-xs
:
(
$font-size-base
*
.625
);
// 10px
$p-font-size
:
$font-size-md
;
// spaces
$base-block-padding
:
16px
;
$block-padding-x-y
:
(
$base-block-padding
*
0
.5
)
(
$base-block-padding
*
1
);
// any block default spacing
$block-padding-xy
:
(
$base-block-padding
*
1
);
// top right bottom left spacing
$block-padding-x
:
(
$base-block-padding
*
1
);
// left right spacing
$block-padding-y
:
(
$base-block-padding
*
0
.5
);
// top bottom spacing
$base-block-space
:
8px
;
$block-padding-y-x
:
(
$base-block-space
*
1
)
(
$base-block-space
*
3
);
// any block default spacing
$block-padding-xy
:
(
$base-block-space
*
3
);
// top right bottom left spacing
$block-padding-x
:
(
$base-block-space
*
3
);
// left right spacing
$block-padding-y
:
(
$base-block-space
*
1
);
// top bottom spacing
$block-margin-xl-minus
:
-
(
$base-block-space
*
3
);
// minus margin 24px left
$block-margin-xr-minus
:
-
(
$base-block-space
*
3
);
// minus margin 24px right
// width heights
$base-btn-small-height
:
(
$base-block-space
*
3
);
$base-btn-normal-height
:
(
$base-block-space
*
4
);
$base-btn-big-height
:
(
$base-block-space
*
5
);
$base-btn-fluid
:
100%
;
// To clean
$text-lightDark
:
#666
;
$text-gray
:
rgb
(
180
,
171
,
171
);
$signup-btn-bg-not-active-color
:
#9b9b9b
;
$signup-thankyou-text-color
:
#4a4a4a
;
$signup-btn-bg-active-color
:
#2ca58d
;
$form-input-border-color
:
#979797
;
$form-input-border-active-color
:
#4a90e2
;
$menuitem-color
:
#212121
;
$primary-border
:
0
.5px
solid
rgba
(
216
,
216
,
216
,
0
.5
);
$primary-background
:
rgba
(
216
,
216
,
216
,
0
.5
);
$card-label-border-color
:
rgba
(
2
,
79
,
157
,
0
.5
);
$dull-color
:
#b7d8f1
;
$qr-btn
:
#edf4f9
;
This diff is collapsed.
Click to expand it.
src/app/client/src/assets/styles/component/_buttons.scss
+
144
−
0
View file @
6e5c15ca
// buttons
// Specificity overrides
input
[
type
=
"submit"
],
input
[
type
=
"reset"
],
input
[
type
=
"button"
]
{
&
.btn-block
{
width
:
100%
;
}
}
.d-flex-btns
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
// base button styles
.sb-btn
{
-webkit-tap-highlight-color
:
transparent
;
-webkit-appearance
:
button
;
user-select
:
none
;
outline
:
0
;
display
:
inline-block
;
margin-left
:
0
.25rem
;
border
:
1px
solid
;
color
:
#fff
;
cursor
:
pointer
;
margin
:
0px
0px
0px
8px
;
text
:
{
transform
:
capitalize
;
decoration
:
none
;
}
}
// button lin
.sb-btn-link
{
background
:
none
;
border
:
0
;
text-decoration
:
underline
;
&
:hover
{
font-weight
:
$font-weight-bold
;
}
}
// button sizes
.sb-btn-small
{
height
:
$base-btn-small-height
;
padding
:
(
$base-block-space
*
.5
)
(
$base-block-space
*
2
);
font-size
:
$font-size-xs
;
@include
border-radius
(
2px
);
}
.sb-btn-normal
{
height
:
$base-btn-normal-height
;
padding
:
$block-padding-y-x
;
font-size
:
$font-size-sm
;
@include
border-radius
(
4px
);
}
.sb-btn-big
{
height
:
$base-btn-big-height
;
padding
:
$block-padding-y-x
;
font-size
:
$font-size-normal
;
@include
border-radius
(
6px
);
}
// disabled button
.sb-btn-disabled
{
background-color
:
$gray-100
;
color
:
$gray-200
;
border
:
1px
solid
$gray-100
;
}
.sb-btn-outline-disabled
{
background-color
:
$white-color
;
color
:
$gray-100
;
border
:
1px
solid
$gray-100
;
}
// default outline colored btns
.sb-btn-outline-primary
{
@include
btn-theme-bgwhite
(
$primary-color
);
}
.sb-btn-outline-secondary
{
@include
btn-theme-bgwhite
(
$secondary-color
);
}
.sb-btn-outline-tertiary
{
@include
btn-theme-bgwhite
(
$tertiary-color
);
}
// status outline buttons
.sb-btn-outline-info
{
@include
btn-theme-bgwhite
(
$primary-color
);
}
.sb-btn-outline-success
{
@include
btn-theme-bgwhite
(
$secondary-color
);
}
.sb-btn-outline-warning
{
@include
btn-theme-bgwhite
(
$tertiary-color
);
}
.sb-btn-outline-error
{
@include
btn-theme-bgwhite
(
$red
);
}
.sb-btn-outline-gray
{
@include
btn-theme-bgwhite
(
$gray-800
);
}
// default colored btns
.sb-btn-primary
{
@include
btn-theme
(
$primary-color
);
}
.sb-btn-secondary
{
@include
btn-theme
(
$secondary-color
);
}
.sb-btn-tertiary
{
@include
btn-theme
(
$tertiary-color
);
}
.sb-btn-success
{
@include
btn-theme
(
$success-color
);
}
.sb-btn-info
{
@include
btn-theme
(
$info-color
);
}
.sb-btn-warning
{
@include
btn-theme
(
$warning-color
);
}
.sb-btn-error
{
@include
btn-theme
(
$danger-color
);
}
This diff is collapsed.
Click to expand it.
src/app/client/src/assets/styles/component/_modal.scss
+
57
−
29
View file @
6e5c15ca
// modal
.sb-modal
{
.sb-modal
{
.ui.modal
{
margin
:
0
auto
;
left
:
0px
;
right
:
0px
;
@include
size
(
100%
,
auto
);
//bourbon
left
:
0px
;
right
:
0px
;
@include
size
(
100%
,
auto
);
//bourbon
&
>
.sb-modal-header
{
background-color
:
$primary-color
;
color
:
$white-color
;
font-weight
:
$font-weight-bold
;
font-size
:
$h6-font-size
;
padding
:
$block-padding-
x-y
;
border-bottom
:
0px
solid
$gray-100
;
@include
size
(
auto
,
2
.5rem
);
//bourbon
padding
:
$block-padding-
y-x
;
border-bottom
:
0px
solid
$gray-100
;
@include
size
(
auto
,
2
.5rem
);
//bourbon
}
&
>
.sb-modal-content
{
min-height
:
100px
;
padding
:
$block-padding-xy
;
padding
:
$block-padding-xy
;
}
&
>
.close
{
color
:
$white-color
;
top
:
10px
;
right
:
0px
;
font-size
:
$font-size-base
;
padding
:
0
;
margin
:
0
;
top
:
8px
;
right
:
8px
;
font-size
:
$font-size-base
;
padding
:
0
;
margin
:
0
;
@include
size
((
$base-block-space
*
3
)
,
(
$base-block-space
*
3
));
//bourbon
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
&
>
.sb-modal-actions
{
padding
:
$block-padding-
x-y
;
padding
:
$block-padding-
y-x
;
background
:
$white-color
;
border-top
:
1px
solid
$gray-100
;
min-height
:
(
$base-block-space
*
7
);
}
.small
{
color
:
$text-lightDark
;
}
&
.scroll
{
margin
:
0
!
important
;
}
&
.small
{
max-width
:
300px
;
}
&
.normal
{
max-width
:
720px
;
.content
{
max-height
:
380px
;
}
}
&
.large
{
max-width
:
100%
;
top
:
0
!
important
;
.content
{
height
:
calc
(
100vh
-
100px
);
}
}
}
}
.modals.dimmer
.ui.scrolling.modal
{
position
:
absolute
!
important
;
margin
:
0
!
important
;
}
\ No newline at end of file
position
:
absolute
!
important
;
margin
:
0
!
important
;
}
@include
respond-below
(
sm
)
{
.sb-modal
{
.ui.modal
{
position
:
absolute
;
width
:
95%
;
margin
:
0
auto
!
important
;
top
:
50%
;
transform
:
translate
(
0%
,
-50%
);
height
:
inherit
;
}
.ui.modal
.scrolling.content
{
max-height
:
calc
(
100vh
-
10rem
);
overflow
:
auto
;
}
.ui.page.dimmer
{
display
:
flex
!
important
;
align-items
:
center
;
justify-content
:
center
;
}
}
}
This diff is collapsed.
Click to expand it.
src/app/client/src/assets/styles/global.scss
+
18
−
15
View file @
6e5c15ca
// global styles
*
{
transition
:
all
300ms
ease-in-out
}
html
,
body
{
height
:
100%
;
font-size
:
$font-size-base
;
// *{
// transition: all 300ms ease-in-out
// }
html
,
body
{
height
:
100%
;
// font-size:$font-size-base;
}
body
{
// background:$bg-body;
position
:
relative
;
font-family
:
$font-stack-en
;
letter-spacing
:
0
.2px
;
height
:
auto
;
}
body
{
background
:
$bg-body
;
position
:
relative
;
font-family
:
$font-stack-en
;
letter-spacing
:
0
.2px
;
height
:
auto
;
}
*[
lang
=
"en"
]
body
{
font-family
:
$font-stack-en
;
...
...
@@ -26,6 +28,7 @@ height: auto;
*[
lang
=
"ur"
]
body
{
font-family
:
$font-stack-ur
;
}
*[
lang
=
"ur"
]
{
font-size
:
(
$font-size-base
*
.525
);
}
...
...
@@ -78,7 +81,7 @@ h5,
.ui.form
input
[
type
=
url
],
.ui.menu
,
.ui.dropdown
,
.ui.category.search
>
.results
.category
>
.name
{
.ui.category.search
>
.results
.category
>
.name
{
font-family
:
inherit
;
}
...
...
@@ -108,4 +111,4 @@ input[type=number]::-webkit-outer-spin-button {
.ui.dimmer
:not
(
.inverted
)
::-webkit-scrollbar-thumb
{
background
:
rgba
(
255
,
255
,
255
,
1
);
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
src/app/client/src/assets/styles/mixins/_button.scss
0 → 100644
+
29
−
0
View file @
6e5c15ca
@mixin
btn-theme
(
$btn-color
)
{
border-color
:(
$btn-color
);
background-color
:
$btn-color
;
&
:hover
{
background-color
:
darken
(
$btn-color
,
6%
);
}
&
:active
{
background-color
:
darken
(
$btn-color
,
15%
);
}
}
@mixin
btn-theme-bgwhite
(
$btn-color
)
{
border-color
:
darken
(
$btn-color
,
2%
);
background-color
:
$white
;
color
:(
$btn-color
);
&
:hover
{
font-weight
:
bold
;
border-color
:
darken
(
$btn-color
,
2%
);
}
&
:active
{
border-color
:
darken
(
$btn-color
,
8%
);
}
}
@mixin
trans
(
$val
...
)
{
-webkit-transition
:
$val
;
-moz-transition
:
$val
;
-o-transition
:
$val
;
transition
:
$val
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/app/client/src/assets/styles/mixins/_mixins.scss
+
2
−
1
View file @
6e5c15ca
@import
"media-queries"
;
@import
"radius-shadow-gradient"
;
\ No newline at end of file
@import
"radius-shadow-gradient"
;
@import
"button"
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets