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-sb-themes
Commits
6d962a30
Commit
6d962a30
authored
2 years ago
by
Vinod Kumar
Browse files
Options
Download
Patches
Plain Diff
Issue #ED-420 CSS cleanup and themes cleanup & SASS migration
parent
1a199fd9
master
release-5.1.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
themes/portal/_layout-joy.scss
+14
-47
themes/portal/_layout-joy.scss
with
14 additions
and
47 deletions
+14
-47
themes/portal/_layout-joy.scss
+
14
−
47
View file @
6d962a30
...
...
@@ -10,8 +10,7 @@ html[data-theme='default'][layout='joy'] {
--primary-300
:
#74B9EB
;
--primary-200
:
#AFCCE1
;
--primary-800
:
hsl
(
var
(
--
primary-hs
)
,
40%
);
--primary-100
:
#f1f1e7
;
--primary-300
:
#ececde
;
--primary-100
:
#edf4f9
;
--sbt-filter-bar-bg
:
#E9E8D9
;
--sb-search-btn-bg
:
#333333
;
--sb-search-btn-text
:
#ffffff
;
...
...
@@ -20,7 +19,7 @@ html[data-theme='default'][layout='joy'] {
app-signup
{
.sb-checkbox.sb-checkbox-primary
label
:before
{
border-color
:
#004E8A
;
border-color
:
var
(
--
primary-color
)
;
}
}
}
...
...
@@ -33,10 +32,10 @@ html[layout='joy'] {
--sbt-primary-bg
:
var
(
--
primary-theme
);
--sbt-border-chapter
:
#E4E8EE
;
--sbt-language-dropdown-bg
:
var
(
--
white
);
--sbt-language-dropdown-item
:
#008840
;
--sbt-language-selectbox
:
#008840
;
--sbt-language-dropdown-item
:
var
(
--
green
)
;
--sbt-language-selectbox
:
var
(
--
green
)
;
--sbt-language-dropdown-item-hover-bg
:
rgba
(
0
,
0
,
0
,
.05
);
--sbt-language-dropdown-item-hover-text
:
#008840
;
--sbt-language-dropdown-item-hover-text
:
var
(
--
green
)
;
--sb-profile-bg-c-4
:
var
(
--
sbt-body-bg
);
//Modal
...
...
@@ -45,7 +44,7 @@ html[layout='joy'] {
--sb-modal-actions-bg
:
var
(
--
sbt-compt-bg
);
--sb-sidebar-menu-bg-active
:
var
(
--
sbt-body-bg
);
--sb-sidebar-menu-border-bg
:
#024f9d
;
--sb-sidebar-menu-border-bg
:
var
(
--
primary-color
)
;
--sb-sidebar-menu-text
:
#333
;
--sb-graph-section-bg
:
var
(
--
sbt-body-bg2
);
...
...
@@ -117,13 +116,6 @@ html[layout='joy'] {
background
:
var
(
--
sbt-body-bg2
);
}
.sb-btn-link-primary
{
&
:hover
{
color
:
var
(
--
primary-800
);
background-color
:
var
(
--
primary-100
);
}
}
.sbhelp_container__left
{
border-radius
:
1
.5rem
;
}
...
...
@@ -288,7 +280,7 @@ html[layout='joy'] {
&
::before
{
content
:
"\2715"
;
font-size
:
calculateRem
(
18px
);
color
:
#e82520
;
color
:
var
(
--
red
)
;
}
}
...
...
@@ -533,12 +525,6 @@ html[layout='joy'] {
width
:
100%
;
}
.header-info
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
.sb-single-resource
{
.content-video__player
{
box-shadow
:
var
(
--
sbt-box-shadow-6px
);
...
...
@@ -617,10 +603,6 @@ html[layout='joy'] {
border-radius
:
var
(
--
sbt-bradius-24
);
}
.accordion-item-header-expanded
.sbaccordion__panel-header
{
border-radius
:
var
(
--
sbt-bradius-24
)
var
(
--
sbt-bradius-24
)
0px
0px
;
}
.sbaccordion__panel-content
{
border-bottom-left-radius
:
var
(
--
sbt-bradius-24
);
border-bottom-right-radius
:
var
(
--
sbt-bradius-24
);
...
...
@@ -667,12 +649,15 @@ html[layout='joy'] {
}
.accordion-item-header-expanded
.sbaccordion__panel-header
{
border
:
0px
;
border
-radius
:
var
(
--
sbt-bradius-24
)
var
(
--
sbt-bradius-24
)
0px
0px
;
}
.sbaccordion__panel-header
{
border
:
0px
;
border-radius
:
var
(
--
sbt-bradius-24
);
background
:
var
(
--
sbt-compt-bg
);
padding
:
calculateRem
(
16px
);
height
:
calculateRem
(
48px
);
}
.ui.styled.accordion
.accordion
.content
,
...
...
@@ -740,28 +725,10 @@ html[layout='joy'] {
}
}
.sbaccordion
{
&
__panel-header
{
border-top-left-radius
:
var
(
--
sbt-bradius-24
);
border-top-right-radius
:
var
(
--
sbt-bradius-24
);
background
:
var
(
--
sbt-compt-bg
);
border
:
none
;
padding
:
calculateRem
(
16px
);
height
:
calculateRem
(
48px
);
}
}
.sb-toc-credits
.sb-bg-color-gray-0
.sbaccordion__panel-header
{
height
:
calculateRem
(
56px
)
!
important
;
}
sb-accordion-header
[
aria-expanded
=
"false"
]
{
.sbaccordion__panel-header
{
border-bottom-left-radius
:
var
(
--
sbt-bradius-24
);
border-bottom-right-radius
:
var
(
--
sbt-bradius-24
);
}
}
.sb-toc-child-item
{
background
:
var
(
--
white
);
}
...
...
@@ -1018,10 +985,10 @@ html[layout='joy'] {
.sb-browse-btn
{
height
:
2
.1rem
;
border
:
calculateRem
(
2px
)
solid
#7ab4ee
;
color
:
#7ab4ee
;
border
:
calculateRem
(
2px
)
solid
var
(
--
primary-300
)
;
color
:
var
(
--
primary-300
)
;
font-weight
:
bold
;
background
:
#edf4f9
;
background
:
var
(
--
primary-100
)
;
}
.sb-btn-nolayer
{
...
...
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