Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
488a4855
Commit
488a4855
authored
Mar 24, 2020
by
Robert Lyon
Committed by
Gerrit Code Review
Mar 24, 2020
Browse files
Merge "Bug 1867707 Add comments and details block header active state"
parents
41186929
01cab2e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/plugintype/artefact/file/templates/folder_render_in_modal.tpl
View file @
488a4855
...
...
@@ -74,8 +74,8 @@
</div>
<script>
jQuery
(
'
.modal_link
'
).
off
(
'
click
'
);
jQuery
(
'
.modal_link
'
).
on
(
'
click
'
,
function
(
e
)
{
jQuery
(
'
#configureblock
.modal_link
'
).
off
(
'
click
'
);
jQuery
(
'
#configureblock
.modal_link
'
).
on
(
'
click
'
,
function
(
e
)
{
open_modal
(
e
);
toggleDetailsBtn
();
});
...
...
htdocs/theme/raw/sass/layout/_block-comments-details-header.scss
View file @
488a4855
...
...
@@ -13,11 +13,11 @@
background-color
:
$theme-block-header-hover-bg-color
;
color
:
$theme-block-header-hover-color
;
}
}
&
.active-block
{
background-color
:
$theme-block-header-active-bg-color
;
color
:
$theme-block-header-active-color
;
}
&
.active-block
a
{
background-color
:
$theme-block-header-active-bg-color
;
color
:
$theme-block-header-active-color
;
}
}
...
...
@@ -42,7 +42,7 @@
border
:
0
;
}
&
.active-block
{
&
.active-block
.btn-secondary
{
background-color
:
$theme-block-header-active-bg-color
;
color
:
$theme-block-header-active-color
;
}
...
...
@@ -139,11 +139,14 @@
border
:
0
;
}
&
:not
(
:disabled
)
:not
(
.disabled
)
:active
,
&
.active-block
{
&
:not
(
:disabled
)
:not
(
.disabled
)
:active
{
background-color
:
$theme-block-header-active-bg-color
;
color
:
$theme-block-header-active-color
;
}
}
&
.active-block
.btn-secondary
{
background-color
:
$theme-block-header-active-bg-color
;
color
:
$theme-block-header-active-color
;
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment