Advertisement
mitrakov

CSS for GWT app

Oct 14th, 2019
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.08 KB | None | 0 0
  1. /** CSS rules (override standard GWT rules) */
  2.  
  3. /** Common tags */
  4. body {
  5.   background-color: #fdfdfd;
  6. }
  7.  
  8. /** GWT overrides */
  9. .gwt-DialogBox .Caption {
  10.   color: aliceblue;
  11.   background: #262626;
  12.   font-size: 1.5rem;
  13.   text-align: left;
  14.   cursor: default;
  15.   border-bottom: 0;
  16.   padding: .33rem;
  17.   padding-left: 1rem;
  18.   border-top: none;
  19. }
  20.  
  21. .gwt-DialogBox .dialogTopLeft, .gwt-DialogBox .dialogTopCenter, .gwt-DialogBox .dialogTopRight, .gwt-DialogBox .dialogMiddleLeft, .gwt-DialogBox .dialogMiddleRight, .gwt-DialogBox .dialogBottomLeft, .gwt-DialogBox .dialogBottomCenter, .gwt-DialogBox .dialogBottomRight {
  22.   background: none;
  23. }
  24.  
  25. .gwt-DialogBox .dialogMiddleCenter {
  26.   border: 1px solid #262626;
  27. }
  28.  
  29. .gwt-TextBox, .gwt-PasswordTextBox {
  30.   width: 80%;
  31.   font-size: 1rem;
  32.   color: #495057;
  33.   border: 1px solid #ced4da;
  34.   padding: .66rem;
  35.   border-radius: 2rem;
  36.   margin-bottom: 4px;
  37. }
  38.  
  39. .gwt-TextArea {
  40.   width: 80%;
  41.   height: 7rem;
  42.   padding: 5px;
  43.   margin-bottom: 4px;
  44. }
  45.  
  46. .gwt-Button {
  47.   font-size: 85%;
  48.   border-radius: 5rem;
  49.   letter-spacing: .1rem;
  50.   font-weight: bold;
  51.   padding: .8rem;
  52.   transition: all .2s;
  53.   cursor: pointer;
  54.   text-transform: uppercase;
  55.   min-width: 8.7rem;
  56.   background: #fff;
  57.   border-color: gray;
  58.   margin: 6px;
  59. }
  60.  
  61. .gwt-Button[disabled], .gwt-Button[disabled]:hover {
  62.   background: #eee;
  63.   border: 1px solid rgba(0,0,0,.1);;
  64.   font-size: 80%;
  65.   cursor: default;
  66.   color: #999;
  67. }
  68.  
  69. .gwt-RadioButton input[type="radio"] {
  70.   width: 1.7rem;
  71.   height: 1.7rem;
  72. }
  73.  
  74. .gwt-RadioButton label {
  75.   position: relative;
  76.   bottom: .45rem;
  77. }
  78.  
  79. /** Artem Mitrakov styles */
  80. .am-CloseButton, .am-CloseButton:visited, .am-CloseButton:hover {
  81.   color: aliceblue;
  82.   float: right;
  83.   margin-top: -52px;
  84.   font-size: 2.5rem;
  85.   padding-right: .3rem;
  86.   text-decoration: none;
  87. }
  88.  
  89. .am-Error {
  90.   color: #FF1010;
  91.   letter-spacing: 0.7px;
  92.   text-transform: uppercase;
  93.   font-size: .6rem;
  94.   width: 80%;
  95.   text-align: left;
  96. }
  97.  
  98. .am-Hr {
  99.   border: 0;
  100.   border-top: 1px solid rgba(0,0,0,.1);
  101.   margin-top: 1.5rem;
  102. }
  103.  
  104. .am-Hyperlink a {
  105.   color: #4f525f;
  106.   text-decoration: none;
  107. }
  108.  
  109. .am-Hyperlink a:hover {
  110.   color: #177ee3;
  111.   text-decoration: underline;
  112. }
  113.  
  114. .am-Label {
  115.   color: #555;
  116.   text-align: left;
  117.   width: 80%;
  118.   font-size: .9rem;
  119.   margin-top: 1rem;
  120.   margin-bottom: .5rem;
  121. }
  122.  
  123. .am-Button {
  124.   font-size: 85%;
  125.   border-radius: 5rem;
  126.   letter-spacing: .1rem;
  127.   font-weight: bold;
  128.   padding: .8rem;
  129.   transition: all .2s;
  130.   cursor: pointer;
  131.   text-transform: uppercase;
  132.   min-width: 140px;
  133.   background: #262626;
  134.   border-color: #555;
  135.   color: aliceblue;
  136.   margin: 6px;
  137. }
  138.  
  139. .am-RadioButton {
  140.   width: 80%;
  141.   display: block;
  142.   text-align: left;
  143. }
  144.  
  145. .am-RadioButton input[type="radio"] {
  146.   width: 1.7rem;
  147.   height: 1.7rem;
  148. }
  149.  
  150. .am-RadioButton label {
  151.   position: relative;
  152.   bottom: .4rem;
  153.   left: 3px;
  154.   color: #444;
  155.   font-size: .9rem;
  156. }
  157.  
  158. .am-DoubleBox {
  159.   width: 6rem;
  160.   font-size: 1rem;
  161.   color: #495057;
  162.   border: 1px solid #ced4da;
  163.   padding: .66rem;
  164.   border-radius: 2rem;
  165.   margin-bottom: 4px;
  166. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement