Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
7f4f7081
Commit
7f4f7081
authored
Nov 04, 2013
by
Andrew Nicols
Browse files
MDL-40975 Theme: Change the actionmenu icons back to 12px
parent
21231f4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
theme/base/style/core.css
View file @
7f4f7081
...
...
@@ -1502,11 +1502,14 @@ img#persona_signin { cursor: pointer; }
.moodle-actionmenu
[
data-enhanced
]
.show
.menu
{
position
:
absolute
;
text-align
:
left
;
z-index
:
1000
;
display
:
block
;
background-color
:
#fff
;
border
:
1px
solid
#ccc
;
-webkit-border-radius
:
5px
;
-moz-border-radius
:
5px
;
border-radius
:
5px
;
-webkit-box-shadow
:
5px
5px
20px
0
#666666
;
-moz-box-shadow
:
5px
5px
20px
0
#666666
;
box-shadow
:
5px
5px
20px
0
#666666
;}
.moodle-actionmenu
[
data-enhanced
]
.show
.menu
a
{
display
:
block
;
padding
:
4px
1em
4px
2
4
px
;
padding
:
4px
1em
4px
2
8
px
;
color
:
#333333
;
}
.moodle-actionmenu
[
data-enhanced
]
.show
.menu
a
>
img
{
margin
:
4px
4px
4px
-20px
;
margin
:
4px
4px
4px
-24px
;
padding
:
4px
;
width
:
12px
;
height
:
12px
;
}
.moodle-actionmenu
[
data-enhanced
]
.show
.menu
a
:hover
,
.moodle-actionmenu
[
data-enhanced
]
.show
.menu
a
:focus
{
color
:
#ffffff
;
background-color
:
#0088cc
;}
...
...
theme/bootstrapbase/less/moodle/core.less
View file @
7f4f7081
...
...
@@ -2077,7 +2077,7 @@ img#persona_signin {
a {
display: block;
color: @dropdownLinkColor;
padding:2px 1em 2px 2
4
px;
padding:2px 1em 2px 2
8
px;
&:hover,
&:focus {
color: @dropdownLinkColorHover;
...
...
@@ -2097,7 +2097,7 @@ img#persona_signin {
vertical-align: middle;
}
.iconsmall {
margin: 4px 4px 4px -2
0
px;
margin: 4px 4px 4px -2
4
px;
}
> li {
display:block;
...
...
theme/bootstrapbase/less/moodle/course.less
View file @
7f4f7081
...
...
@@ -726,18 +726,9 @@ span.editinstructions {
margin: 10px 0 20px;
}
.section .activity .moodle-actionmenu .iconsmall {
max-width: none !important; /** reset sets 100% !important which breaks on IE8 without this !important */
width:16px;
height:16px;
padding:0.3em;
vertical-align: text-bottom;
}
.section {
.activity {
.iconsmall {
margin: 4px;
width: 16px;
height: 16px;
}
...
...
@@ -751,6 +742,23 @@ span.editinstructions {
vertical-align: text-bottom;
}
}
.moodle-actionmenu {
.iconsmall {
max-width: none !important; /** reset sets 100% !important which breaks on IE8 without this !important */
width:16px;
height:16px;
padding: 4px;
vertical-align: text-bottom;
}
}
.moodle-actionmenu[data-enhanced] {
.menu {
img {
width: 12px;
height: 12px;
}
}
}
}
/**
...
...
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!
Cancel
Please
register
or
sign in
to comment