-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25ef5c8
commit 1c296a3
Showing
8 changed files
with
91 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/main/java/com/bradley/gwt/user/client/resource/EditorPanelCssResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.bradley.gwt.user.client.resource; | ||
|
||
import com.google.gwt.resources.client.CssResource; | ||
|
||
public interface EditorPanelCssResource extends CssResource { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
src/main/resources/com/bradley/gwt/user/client/resource/css/editor-panel.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
@external .label-field, .label, .required, .empty; | ||
|
||
input[type=text], | ||
input[type=password], | ||
textarea { | ||
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s; | ||
-moz-transition: border linear 0.2s, box-shadow linear 0.2s; | ||
-ms-transition: border linear 0.2s, box-shadow linear 0.2s; | ||
-o-transition: border linear 0.2s, box-shadow linear 0.2s; | ||
transition: border linear 0.2s, box-shadow linear 0.2s; | ||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); | ||
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); | ||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); | ||
outline: none; | ||
} | ||
|
||
input[type=text], | ||
input[type=password], | ||
textarea, | ||
select { | ||
border: 1px solid #CCC; | ||
-webkit-border-radius: 3px; | ||
-moz-border-radius: 3px; | ||
border-radius: 3px; | ||
padding: 4px; | ||
color: gray; | ||
font-size: 13px; | ||
} | ||
|
||
.label-field { | ||
margin-bottom: 5px; | ||
} | ||
|
||
.label-field input[type=text], | ||
.label-field input[type=password], | ||
.label-field textarea { | ||
width: 230px; | ||
} | ||
|
||
.label-field textarea { | ||
height: 100px; | ||
} | ||
|
||
.label-field div { | ||
display: inline-block; | ||
} | ||
|
||
.label-field .label, | ||
.label-field label { | ||
padding-top: 6px; | ||
text-align: right; | ||
vertical-align: top; | ||
color: #404040; | ||
} | ||
|
||
.label-field.required .label, | ||
.label-field.required label { | ||
font-weight: bold; | ||
} | ||
|
||
.label-field .empty { | ||
color: #999; | ||
font-style: italic; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters