Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
officejs
Commits
240c60da
Commit
240c60da
authored
Jul 25, 2011
by
François Billioud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
define common css for ung buttons
parent
ce8ab5bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
23 deletions
+17
-23
UNGProject/css/ung.css
UNGProject/css/ung.css
+8
-14
UNGProject/js/theme.js
UNGProject/js/theme.js
+1
-1
UNGProject/ung.html
UNGProject/ung.html
+8
-8
No files found.
UNGProject/css/ung.css
View file @
240c60da
...
...
@@ -10,6 +10,14 @@ body {
overflow-x
:
hidden
;
}
/* buttons aspect */
.ung_button
{
background-image
:
url('../images/ung/button_background.png')
;
border
:
1px
solid
#BBBBBB
;
border-radius
:
4px
4px
4px
4px
;
color
:
#333333
;
}
/* widget fields */
fieldset
.widget
{
border
:
0
none
;
...
...
@@ -274,10 +282,6 @@ div.gadget-column {
text-decoration
:
none
;
}
.menu_create_object
li
a
#current
{
background-image
:
url('../images/ung/button_background.png')
;
border
:
1px
solid
#BBBBBB
;
border-radius
:
4px
4px
4px
4px
;
color
:
#333333
;
height
:
19px
;
padding-left
:
2px
;
padding-right
:
14px
;
...
...
@@ -326,10 +330,6 @@ div.gadget-column {
}
/* upload button */
div
.gadget-action
input
#upload
{
background-image
:
url('../images/ung/button_background.png')
;
border
:
1px
solid
#BBBBBB
;
border-radius
:
4px
4px
4px
4px
;
color
:
#333333
;
left
:
0.5em
;
position
:
relative
;
top
:
0.1em
;
...
...
@@ -399,12 +399,6 @@ a.domain_selected {
float
:
left
!important
;
font-size
:
15px
!important
;
}
div
.toolbar
button
{
background-image
:
url("../images/ung/button_background.png")
;
border
:
1px
solid
#BBBBBB
;
border-radius
:
4px
4px
4px
4px
;
color
:
#333333
;
}
button
.delete
{
margin-left
:
6px
;
margin-top
:
6px
;
...
...
UNGProject/js/theme.js
View file @
240c60da
...
...
@@ -25,7 +25,7 @@ var Page = function(page) {
this
.
editor
=
null
;
//define as current page
currentPage
=
this
;
if
(
page
!=
"
ung
"
&&
page
!=
undefined
)
{
this
.
loadXML
(
"
xml/
"
+
page
+
"
.xml
"
);}
if
(
page
!=
"
ung
"
&&
page
!=
"
mail
"
&&
page
!=
undefined
)
{
this
.
loadXML
(
"
xml/
"
+
page
+
"
.xml
"
);}
}
Page
.
prototype
=
{
setXML
:
function
(
data
)
{
...
...
UNGProject/ung.html
View file @
240c60da
...
...
@@ -189,7 +189,7 @@
<div
class=
"menu_create_object"
>
<ul><li>
<a
id=
"current"
>
<a
id=
"current"
class=
"ung_button"
>
<span>
Create New
</span>
<img
src=
"images/ung/arrow.png"
/>
</a>
...
...
@@ -216,7 +216,7 @@
</li></ul>
</div>
<input
type=
"submit"
id=
"upload"
name=
"Upload"
value=
"Upload"
/>
<input
type=
"submit"
id=
"upload"
class=
"ung_button"
name=
"Upload"
value=
"Upload"
/>
<div
class=
"file-selection"
>
<div
class=
"file-quick-search"
>
...
...
@@ -457,24 +457,24 @@
<div
class=
"input"
><div
>
<div
class=
"toolbar"
>
<button
class=
"delete"
<button
class=
"delete
ung_button
"
onclick=
"getDocumentList().deleteSelectedDocuments()"
>
Delete
</button>
<button
name=
"#"
class=
"change_state"
>
Change State
</button>
<button
name=
"#"
class=
"change_state
ung_button
"
>
Change State
</button>
<div
class=
"listbox-navigation"
>
<button
class=
"listbox_first_page your_listbox_first_page"
onclick=
"getDocumentList().changePage(event)"
>
<button
class=
"listbox_first_page your_listbox_first_page
ung_button
"
onclick=
"getDocumentList().changePage(event)"
>
<span
class=
"image"
>
</span>
</button>
<button
class=
"listbox_previous_page your_listbox_previous_page"
onclick=
"getDocumentList().changePage(event)"
>
<button
class=
"listbox_previous_page your_listbox_previous_page
ung_button
"
onclick=
"getDocumentList().changePage(event)"
>
<span
class=
"image"
>
</span>
</button>
<input
class=
"listbox_set_page your_listbox_set_page"
value=
"1"
size=
"1"
onkeypress=
"if(event.keyCode==13){getDocumentList().changePage(event)}"
/>
/
<span
class=
"listbox_last_page"
>
1
</span>
<button
class=
"listbox_next_page your_listbox_next_page"
onclick=
"getDocumentList().changePage(event)"
>
<button
class=
"listbox_next_page your_listbox_next_page
ung_button
"
onclick=
"getDocumentList().changePage(event)"
>
<span
class=
"image"
>
</span>
</button>
<button
class=
"listbox_last_page your_listbox_last_page"
onclick=
"getDocumentList().changePage(event)"
>
<button
class=
"listbox_last_page your_listbox_last_page
ung_button
"
onclick=
"getDocumentList().changePage(event)"
>
<span
class=
"image"
>
</span>
</button>
</div>
...
...
Write
Preview
Markdown
is supported
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