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
13273e51
Commit
13273e51
authored
Nov 02, 2013
by
Barbara Ramiro
Committed by
Andrew Nicols
Nov 06, 2013
Browse files
MDL-42564 ActionMenu: Replace actionmenu icon with new style
parent
6982618e
Changes
6
Hide whitespace changes
Inline
Side-by-side
lib/outputcomponents.php
View file @
13273e51
...
...
@@ -3252,10 +3252,10 @@ class action_menu implements renderable {
}
else
{
$title
=
new
lang_string
(
'actions'
,
'moodle'
);
$this
->
actionicon
=
new
pix_icon
(
'
i/dropdown
'
,
'
t/edit_menu
'
,
''
,
'moodle'
,
array
(
'class'
=>
'iconsmall'
,
'title'
=>
''
)
array
(
'class'
=>
'iconsmall
actionmenu
'
,
'title'
=>
''
)
);
$pixicon
=
$this
->
actionicon
;
}
...
...
pix/t/edit_menu.png
0 → 100644
View file @
13273e51
320 Bytes
pix/t/edit_menu.svg
0 → 100644
View file @
13273e51
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
]>
<svg
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:a=
"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
x=
"0px"
y=
"0px"
width=
"22px"
height=
"12px"
viewBox=
"0 0 22 12"
style=
"overflow:visible;enable-background:new 0 0 22 12;"
xml:space=
"preserve"
>
<defs>
</defs>
<path
style=
"fill:#999999;"
d=
"M11.9,7C12,6.7,12,6.3,12,6s0-0.7-0.1-1l-1.6-0.3c-0.1-0.3-0.2-0.6-0.4-0.9l0.9-1.3
C10.5,2,10,1.5,9.5,1.1L8.1,2C7.9,1.9,7.6,1.8,7.3,1.7L7,0.1C6.7,0,6.3,0,6,0C5.7,0,5.3,0,5,0.1L4.7,1.7C4.4,1.8,4.1,1.9,3.9,2
L2.5,1.1C2,1.5,1.5,2,1.1,2.5L2,3.9C1.9,4.1,1.8,4.4,1.7,4.7L0.1,5C0,5.3,0,5.7,0,6c0,0.3,0,0.7,0.1,1l1.6,0.3
C1.8,7.6,1.9,7.9,2,8.1L1.1,9.5c0.4,0.5,0.9,1,1.4,1.4L3.9,10c0.3,0.1,0.6,0.3,0.9,0.4L5,11.9C5.3,12,5.7,12,6,12c0.3,0,0.7,0,1-0.1
l0.3-1.6c0.3-0.1,0.6-0.2,0.9-0.4l1.3,0.9c0.5-0.4,1-0.9,1.4-1.4L10,8.1c0.2-0.3,0.3-0.6,0.4-0.9L11.9,7z M6,7.5
C5.2,7.5,4.5,6.8,4.5,6S5.2,4.5,6,4.5S7.5,5.2,7.5,6S6.8,7.5,6,7.5z M15,4H22l-3.5,3.5L15,4L15,4z"
/>
</svg>
theme/afterburner/style/afterburner_blocks.css
View file @
13273e51
...
...
@@ -169,6 +169,9 @@ img.iconsmall,
-moz-border-radius
:
5px
;
border-radius
:
5px
;
}
.block.block_with_controls
div
.header
div
.commands
img
.iconsmall.actionmenu
{
width
:
auto
;
}
.course-content
ul
.topics
li
.section
.right
img
.spacer
,
.course-content
ul
.topics
li
.section
.left
img
.spacer
{
height
:
1px
;
...
...
theme/base/style/blocks.css
View file @
13273e51
...
...
@@ -6,6 +6,7 @@
.block
.header
.commands
{
text-align
:
right
;
clear
:
both
;}
.block
.header
.commands
>
a
{
margin
:
0
3px
;
}
.block
.header
.commands
.icon
img
{
width
:
12px
;
height
:
12px
;}
.block
.header
.commands
img
.actionmenu
{
width
:
auto
;}
.block
.content
{
padding
:
4px
;}
.block.hidden
.content
{
display
:
none
;}
.block
.content
.userpicture
{
width
:
16px
;
height
:
16px
;
margin-right
:
6px
;}
...
...
theme/bootstrapbase/less/moodle/blocks.less
View file @
13273e51
...
...
@@ -35,6 +35,10 @@
height: 12px;
}
.block .header .commands img.actionmenu {
width:auto;
}
.block .content {
padding: 4px 14px;
}
...
...
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