~ubuntu-branches/ubuntu/raring/eucalyptus/raring

« back to all changes in this revision

Viewing changes to clc/modules/www/src/main/java/com/eucalyptus/webui/client/view/LogSwitch.ui.xml

  • Committer: Package Import Robot
  • Author(s): Brian Thomason
  • Date: 2011-11-29 13:17:52 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 185.
  • Revision ID: package-import@ubuntu.com-20111129131752-rq31al3ntutv2vvl
Tags: upstream-3.0.999beta1
ImportĀ upstreamĀ versionĀ 3.0.999beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
 
2
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
 
3
    xmlns:g="urn:import:com.google.gwt.user.client.ui">
 
4
    
 
5
    <ui:image field="logGray" src="image/document_stroke_12x12_gray.png"></ui:image>
 
6
    <ui:image field="logOrange" src="image/document_stroke_12x12_orange.png"></ui:image>
 
7
        
 
8
    <ui:style>
 
9
        .boundingBox {
 
10
            height:100%;                
 
11
        }
 
12
        a.button {
 
13
                height:100%;
 
14
                display:table;
 
15
                outline:none;
 
16
            cursor:pointer;
 
17
            cursor:hand;
 
18
            padding-left:6px;
 
19
            padding-right:6px;
 
20
        }
 
21
        a.button span.text {
 
22
            font-size:70%;
 
23
            font-style:italic;
 
24
            color:#666666;              
 
25
                display:table-cell;
 
26
                vertical-align:middle;
 
27
        }
 
28
        @sprite a.button span.icon {
 
29
                width:12px;
 
30
                height:12px;
 
31
                display:table-cell;
 
32
                vertical-align:middle;
 
33
            gwt-image:'logGray';
 
34
            background-repeat:no-repeat;
 
35
            background-position:center center;
 
36
        }
 
37
        @sprite a.button:active span.icon, a.button:focus span.icon, a.button:hover span.icon {
 
38
            gwt-image:'logOrange';
 
39
            background-repeat:no-repeat;
 
40
            background-position:center center;            
 
41
        }
 
42
    </ui:style>
 
43
    
 
44
    <ui:style field="switchStyle" type="com.eucalyptus.webui.client.view.LogSwitch.SwitchStyle">
 
45
        .inactive {
 
46
            background-color:transparent;               
 
47
        }
 
48
        .active {
 
49
                background-color:#DDDDDD;
 
50
        }
 
51
    </ui:style>
 
52
    
 
53
    <g:HTMLPanel styleName="{style.boundingBox}">
 
54
        <g:Anchor styleName="{style.button}" ui:field="switchButton">
 
55
            <span class="{style.icon}"/><span class="{style.text}">&nbsp;LOG</span>
 
56
        </g:Anchor>
 
57
    </g:HTMLPanel>
 
58
    
 
59
</ui:UiBinder> 
 
 
b'\\ No newline at end of file'