Ignore:
Timestamp:
02/04/14 22:59:03 (10 years ago)
Author:
ngw8
Message:

More updates to jfxbrowser appearance - added progress bar behind URL bar, + minor CSS changes. Made go button actually work.

File:
1 edited

Legend:

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

    r824 r829  
    33 * Author: ngw8
    44 */
     5#jfxbrowser {
     6    -light-gray: rgb(245, 245, 245);
     7    -dark-gray: rgb(10, 10, 10);
     8    -highlight: #79b3d4;
     9    -fx-accent: -highlight;
     10    -fx-shadow-highlight-color: rgba(255,255, 255, 0.4);
     11    -fx-base: #eee;
     12}
     13
    514
    615.browser-overlay .progress-indicator {   
     
    1928}
    2029
    21 .button, .text-field
    22 {
     30.button, .text-field {
    2331    -fx-background-radius: 2;
    2432    -fx-padding: 0.2em 1em 0.2em 1em;
    2533}
    2634
    27 .button.first, .text-field.first {
    28     -fx-background-radius: 2 0 0 2;   
     35.first {
     36    -fx-background-radius: 2 0 0 2;
    2937}
    3038
    31 .button.last, .text-field.last {
     39.last {
    3240    -fx-background-radius: 0 2 2 0;
    3341}
     
    3543.custom-toolbar {
    3644    -fx-font-size: 12px;
    37     -fx-background-color:  linear-gradient(to bottom, rgb(230,230,230), rgba(200, 200,200));       
     45    -fx-background-color:  linear-gradient(to bottom, derive(-fx-base, -2%), derive(-fx-base, -12%));       
    3846    -fx-padding: 0.4em;
    3947}
    4048
    41 .hidden {
    42     visibility: hidden;
     49.url-field {
     50    -fx-background-color: transparent;
     51    -fx-text-fill: -dark-gray;
    4352}
     53
     54.url-progress-bar .track {
     55    -fx-background-color:-light-gray;
     56   
     57    -fx-background-radius: 2 0 0 2; 
     58
     59}
     60
     61.url-progress-bar .bar {
     62    -fx-background-color:
     63        -light-gray, -light-gray,
     64        linear-gradient(to bottom, derive(-highlight,50%), derive(-highlight,30%)); /* actual color of the progess bit of the bar */
     65    -fx-background-insets: 1;
     66}
     67
     68/* Used when the page has completed loading */
     69.url-progress-bar.completed .bar {
     70    -fx-background-color:
     71        -light-gray, -light-gray,
     72        transparent; /* actual color of the progess bit of the bar */
     73}
     74
Note: See TracChangeset for help on using the changeset viewer.