Updated DialogBox css
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@128593 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8a4dfa7acf
commit
b83a0a83b3
|
@ -42,10 +42,11 @@ public class DialogConfirm extends DialogBox implements ClickHandler {
|
||||||
* @param text the text
|
* @param text the text
|
||||||
*/
|
*/
|
||||||
public DialogConfirm(Image img, String caption, String text) {
|
public DialogConfirm(Image img, String caption, String text) {
|
||||||
|
getElement().setClassName("gwt-DialogBoxNew");
|
||||||
dock.setSpacing(4);
|
dock.setSpacing(4);
|
||||||
dock.setWidth("100%");
|
dock.setWidth("100%");
|
||||||
setText(caption);
|
setText(caption);
|
||||||
|
// setHeading(caption);
|
||||||
|
|
||||||
yesButton = new Button("Yes");
|
yesButton = new Button("Yes");
|
||||||
noButton = new Button("No", this);
|
noButton = new Button("No", this);
|
||||||
|
@ -77,6 +78,7 @@ public class DialogConfirm extends DialogBox implements ClickHandler {
|
||||||
|
|
||||||
dock.add(vpContainer, DockPanel.CENTER);
|
dock.add(vpContainer, DockPanel.CENTER);
|
||||||
setWidget(dock);
|
setWidget(dock);
|
||||||
|
// add(dock);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,5 +1,94 @@
|
||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew{
|
||||||
|
border: 8px solid #dfe8f6;
|
||||||
|
border-radius: 6px 6px 6px 6px;
|
||||||
|
box-shadow: none;
|
||||||
|
line-height: 7px;
|
||||||
|
opacity: 1;
|
||||||
|
z-index: 1000;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .Caption {
|
||||||
|
background: none repeat scroll 0 0 #dfe8f6;
|
||||||
|
border: medium none #D4D4D4;
|
||||||
|
cursor: default;
|
||||||
|
font-family: Arial Unicode MS, Arial, sans-serif !important;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 27px;
|
||||||
|
padding: 2px 0px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .dialogContent {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .dialogMiddleCenter {
|
||||||
|
padding: 3px;
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .dialogBottomCenter {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .dialogMiddleLeft {
|
||||||
|
/* background: url(images/vborder.png) repeat-y -31px 0px; */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .dialogMiddleRight {
|
||||||
|
/* background: url(images/vborder.png) repeat-y -32px 0px;*/
|
||||||
|
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
.gwt-DialogBoxNew .dialogTopLeftInner {
|
||||||
|
width: 10px;
|
||||||
|
height: 8px;
|
||||||
|
zoom: 1;
|
||||||
|
background: none repeat scroll 0 0 #E4E4E4;
|
||||||
|
}
|
||||||
|
.gwt-DialogBoxNew .dialogTopRightInner {
|
||||||
|
width: 12px;
|
||||||
|
zoom: 1;
|
||||||
|
background: none repeat scroll 0 0 #E4E4E4;
|
||||||
|
}
|
||||||
|
.gwt-DialogBoxNew .dialogBottomLeftInner {
|
||||||
|
width: 10px;
|
||||||
|
height: 12px;
|
||||||
|
zoom: 1;
|
||||||
|
}
|
||||||
|
.gwt-DialogBoxNew .dialogBottomRightInner {
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
zoom: 1;
|
||||||
|
}*/
|
||||||
|
.gwt-DialogBoxNew .dialogTopLeft {
|
||||||
|
/* background: url(images/circles.png) no-repeat -20px 0px;
|
||||||
|
-background: url(images/circles_ie6.png) no-repeat -20px 0px; */
|
||||||
|
background: none repeat scroll 0 0 #E4E4E4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .dialogTopRight {
|
||||||
|
/* background: url(images/circles.png) no-repeat -28px 0px;
|
||||||
|
-background: url(images/circles_ie6.png) no-repeat -28px 0px; */
|
||||||
|
background: none repeat scroll 0 0 #E4E4E4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .dialogBottomLeft {
|
||||||
|
/* background: url(images/circles.png) no-repeat 0px -36px;
|
||||||
|
-background: url(images/circles_ie6.png) no-repeat 0px -36px; */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.gwt-DialogBoxNew .dialogBottomRight {
|
||||||
|
/* background: url(images/circles.png) no-repeat -8px -36px;
|
||||||
|
-background: url(images/circles_ie6.png) no-repeat -8px -36px; */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/*Used from suggestbox*/
|
/*Used from suggestbox*/
|
||||||
ul.multivalue-panel-suggest {
|
ul.multivalue-panel-suggest {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
@ -20,7 +109,6 @@ ul.multivalue-panel-suggest {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ul.multivalue-panel-suggest li input {
|
ul.multivalue-panel-suggest li input {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 3px 8px;
|
padding: 3px 8px;
|
||||||
|
@ -29,7 +117,6 @@ ul.multivalue-panel-suggest li input {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
li.multivalue-panel-token-ws {
|
li.multivalue-panel-token-ws {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
|
@ -80,6 +167,7 @@ li.multivalue-panel-token-ws span {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.margin-right-flex {
|
.margin-right-flex {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
@ -87,7 +175,6 @@ li.multivalue-panel-token-ws span {
|
||||||
.margint-top-flex {
|
.margint-top-flex {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.wizardButton {
|
.wizardButton {
|
||||||
|
@ -108,8 +195,8 @@ li.multivalue-panel-token-ws span {
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wizardButton[disabled]:hover,.wizardButton[disabled]:active,.wizardButton[disabled]
|
.wizardButton[disabled]:hover, .wizardButton[disabled]:active,
|
||||||
{
|
.wizardButton[disabled] {
|
||||||
color: #CCC;
|
color: #CCC;
|
||||||
border-color: #BBB;
|
border-color: #BBB;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
@ -127,8 +214,6 @@ li.multivalue-panel-token-ws span {
|
||||||
background: #e3e8f3 url(images/white-grad.png) repeat-x scroll left top;
|
background: #e3e8f3 url(images/white-grad.png) repeat-x scroll left top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
table.userssuggest {
|
table.userssuggest {
|
||||||
/*background-color: #DFE8F6 !important;*/
|
/*background-color: #DFE8F6 !important;*/
|
||||||
font-family: verdana, arial, sans-serif;
|
font-family: verdana, arial, sans-serif;
|
||||||
|
@ -146,7 +231,6 @@ table.userssuggest {
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
table.userssuggest td {
|
table.userssuggest td {
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
|
Loading…
Reference in New Issue