Ignore:
Timestamp:
02/14/14 01:55:45 (10 years ago)
Author:
ngw8
Message:

Added stop button to JFX browser, changed 'go' button to be inside the URL bar, and changed back/forward buttons to use icons rather than text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/assets/style/jfx.css

    r840 r888  
    33 * Author: ngw8
    44 */
     5
    56#jfxbrowser {
    67    -light-gray: rgb(245, 245, 245);
    78    -dark-gray: rgb(10, 10, 10);
    89    -highlight: #79b3d4;
     10    -red-highlight: #d44747;
     11    -red-highlight-transparent: rgba(248,118,92.0.2);
     12   
     13    -green-highlight: #62c139;
     14    -green-highlight-transparent: rgba(135,212,101, 0.4);
     15   
    916    -fx-accent: -highlight;
    10     -fx-shadow-highlight-color: rgba(255,255, 255, 0.4);
     17    -fx-shadow-highlight-color: rgba(255, 255, 255, 0.5);
    1118    -fx-base: #eee;
    1219}
     
    5562    -fx-background-color:-light-gray;
    5663   
    57     -fx-background-radius: 2 0 0 2; 
    58 
     64    -fx-background-radius: 2;
    5965}
    6066
     
    7379}
    7480
     81.fa {
     82    -fx-font-family: FontAwesome;   
     83}
     84
     85.button.fa .text :not(.tooltip) {
     86    -fx-effect: dropshadow(one-pass-box, -fx-shadow-highlight-color, 0,0,0,1);
     87}
     88
     89.url-button {
     90    -fx-background-color: transparent;
     91    -fx-padding: 0 8 0 2;
     92    -fx-text-fill: derive(-fx-base, -30%);
     93}
     94
     95.url-button .text :not(.tooltip) {
     96    -fx-effect: dropshadow(two-pass-box, -light-gray, 6,0.8,0,0) !important;   
     97}
     98
     99.url-cancel-button {
     100    -hover-color: -red-highlight;
     101    -glow-color: -red-highlight-transparent;
     102}
     103
     104.url-go-button {
     105    -hover-color: -green-highlight;
     106    -glow-color: -green-highlight-transparent;
     107}
     108
     109.url-button:hover  {
     110    -fx-text-fill: -hover-color;
     111}
     112
     113/* Tooltip is a child of the button, so have to exclude it from the style */
     114.url-button:hover .text :not(.tooltip) {
     115     -fx-effect: dropshadow( two-pass-box , -glow-color, 6,0,0,0 );
     116}
     117
     118.url-button:active {
     119    -fx-text-fill: derive(-hover-color, -30%);
     120}
     121
    75122.scrollbars-hidden .scroll-bar {
    76123    visibility: hidden;
Note: See TracChangeset for help on using the changeset viewer.