mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-23 19:02:07 +03:00
Make NetSurf look a little closer to the default OS4 theme
svn path=/trunk/netsurf/; revision=6950
This commit is contained in:
parent
86ea073c40
commit
487223feb9
11
amiga/gui.c
11
amiga/gui.c
@ -123,6 +123,10 @@ BOOL locked_screen = FALSE;
|
||||
int drag_save = 0;
|
||||
void *drag_save_data = NULL;
|
||||
|
||||
extern colour css_scrollbar_fg_colour;
|
||||
extern colour css_scrollbar_bg_colour;
|
||||
extern colour css_scrollbar_arrow_colour;
|
||||
|
||||
#define AMI_GUI_POINTER_BLANK GUI_POINTER_PROGRESS+1
|
||||
#define AMI_GUI_POINTER_DRAG GUI_POINTER_PROGRESS+2
|
||||
#define AMI_LASTPOINTER AMI_GUI_POINTER_DRAG
|
||||
@ -282,9 +286,9 @@ void gui_init(int argc, char** argv)
|
||||
|
||||
CloseLocale(locale);
|
||||
|
||||
messages_load(lang); // check locale language and read appropriate file
|
||||
messages_load(lang);
|
||||
|
||||
default_stylesheet_url = "file:///PROGDIR:Resources/default.css"; //"http://www.unsatisfactorysoftware.co.uk/newlook.css"; //path_to_url(buf);
|
||||
default_stylesheet_url = "file:///PROGDIR:Resources/amiga.css";
|
||||
adblock_stylesheet_url = "file:///PROGDIR:Resources/adblock.css";
|
||||
|
||||
#ifdef WITH_HUBBUB
|
||||
@ -295,6 +299,9 @@ void gui_init(int argc, char** argv)
|
||||
#endif
|
||||
|
||||
css_screen_dpi = 72;
|
||||
css_scrollbar_fg_colour = 0x00aaaaaa;
|
||||
css_scrollbar_bg_colour = 0x00833c3c;
|
||||
css_scrollbar_arrow_colour = 0x00d6d6d6;
|
||||
|
||||
if((!option_cookie_file) || (option_cookie_file[0] == '\0'))
|
||||
option_cookie_file = (char *)strdup("PROGDIR:Resources/Cookies");
|
||||
|
7
amiga/resources/amiga.css
Normal file
7
amiga/resources/amiga.css
Normal file
@ -0,0 +1,7 @@
|
||||
@import "default.css";
|
||||
|
||||
/* Make NetSurf look a little more like the default OS4 theme */
|
||||
|
||||
input { border: medium inset #ddd; }
|
||||
textarea { border: medium inset #ddd; }
|
||||
select { background-color: #ddd; border: medium outset #ddd; }
|
BIN
amiga/resources/amiga.css.info
Normal file
BIN
amiga/resources/amiga.css.info
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user