diff --git a/Makefile.in b/Makefile.in index a287990..b8ff0a8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -5,10 +5,9 @@ VERSION=@VERSION@ all: # background - convert images/wallpaper.png -fill '#c62530' -font /usr/share/fonts/ttf/droid/DroidSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "@STATUS@"' wallpaper.png + convert images/wallpaper.png -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "@STATUS@"' wallpaper.png cp -al wallpaper.png graphics/backgrounds/default.png cp -al wallpaper.png graphics/backgrounds/xdm.png include components.mk -install: browser-qt ahttpd indexhtml -x86: boot +install: browser-qt ahttpd boot-images boot-splash @X86@ indexhtml diff --git a/branding.spec b/branding.spec index 22ac8df..41d84bc 100644 --- a/branding.spec +++ b/branding.spec @@ -1,15 +1,16 @@ %define theme junior %define Name School Junior -%define codename none -%define status %nil -%define variants altlinux-office-desktop altlinux-office-server altlinux-desktop +%define codename Parus major +%define variants altlinux-backup-server altlinux-desktop altlinux-gnome-desktop altlinux-kdesktop altlinux-lite altlinux-lxdesktop altlinux-office-desktop altlinux-office-server altlinux-school-server altlinux-sisyphus altlinux-spt altlinux-tablet altlinux-workbench informika-schoolmaster ivk-chainmail lxde-desktop lxde-school-lite Platform6-server-light school-teacher school-lite school-master school-server school-terminal altlinux-centaurus sisyphus-server-light simply-linux %define brand school -%define distro_name Informika 6.0 School Junior -%define distro_name_ru Информика 6.0 Школьный Юниор +%define status альфа +%define status_en alpha +%define distro_name Informika 6.9.9 School Junior (alpha) +%define distro_name_ru Информика 6.9.9 Школьный Юниор (альфа) Name: branding-%brand-%theme -Version: 6.0.0 -Release: alt5 +Version: 6.9.9 +Release: alt1 BuildArch: noarch BuildRequires: cpio gfxboot >= 4 fonts-ttf-dejavu fonts-ttf-droid @@ -25,7 +26,7 @@ Source: branding.tar Group: Graphics Summary: System/Base -License: GPL +License: GPLv2+ %description Distro-specific packages with design and texts for %distro_name. @@ -37,7 +38,7 @@ Distro-specific packages with design and texts for %distro_name. Group: System/Configuration/Boot and Init Summary: Graphical boot logo for grub2, lilo and syslinux Summary(ru_RU.UTF-8): Тема для экрана выбора вариантов загрузки (lilo и syslinux) -License: GPL +License: GPLv2+ PreReq: coreutils Provides: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader @@ -45,8 +46,8 @@ Provides: design-bootloader-system-%theme design-bootloader-livecd-%theme design Obsoletes: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader Conflicts: %(for n in %variants ; do [ "$n" = %theme ] || echo -n "branding-$n-bootloader ";done ) -%define grub_normal dark-gray/white -%define grub_high black/white +%define grub_normal white/light-blue +%define grub_high black/light-gray %description bootloader Here you find the graphical boot logo for %distro_name. @@ -84,7 +85,10 @@ Provides: design-alterator-browser-%theme branding-alt-%theme-browser-qt brandi Provides: alterator-icons design-alterator design-alterator-%theme Obsoletes: branding-alt-%theme-browser-qt branding-altlinux-%theme-browser-qt -Conflicts: %(for n in %variants ; do [ "$n" = %theme ] || echo -n "branding-$n-browser-qt ";done ) +# lexicographically first of the village +Conflicts: branding-sisyphus-server-light-alterator + +Conflicts: %(for n in %variants ; do [ "$n" = %theme ] || echo -n "branding-$n-alterator ";done ) Obsoletes: design-alterator-server design-alterator-desktop design-altertor-browser-desktop design-altertor-browser-server branding-altlinux-backup-server-alterator PreReq(post,preun): alternatives >= 0.2 alterator @@ -159,9 +163,9 @@ Summary: default settings for Xfce 4.6 for %distro_name License: Distributable Group: Graphical desktop/XFce Requires: PolicyKit-gnome -Requires: etcskel gtk2-theme-simplicity -Requires: gnome-icon-theme icon-theme-simple -Requires: branding-simply-linux-graphics +Requires: etcskel gtk3-theme-clearlooks-phenix +Requires: gnome-icon-theme icon-theme-simple-sl +Requires: branding-%brand-%theme-graphics Obsoletes: xfce-settings-lite xfce-settings-school-lite Conflicts: %(for n in %variants ; do [ "$n" = %theme ] || echo -n "branding-$n-xfce-settings ";done ) Conflicts: xfce-settings-simply-linux @@ -213,7 +217,6 @@ Requires(post): indexhtml-common %distro_name_ru. %package menu - Summary: Menu for %distro_name License: Distributable Group: Graphical desktop/Other @@ -223,20 +226,32 @@ Requires: altlinux-freedesktop-menu-common %description menu Menu for %distro_name +%package system-settings +Summary: Some system settings for Simply Linux +License: GPLv2+ +Group: System/Base +# Really we need lightdm only, but it can pull another greeter. +Requires: lightdm-gtk-greeter + +%description system-settings +Some system settings for Simply Linux. %prep %setup -n branding +%ifnarch %arm +%define x86 boot +%else +%define x86 %nil +%endif %build autoconf -THEME=%theme NAME='%Name' STATUS=%status VERSION=%version ./configure +THEME=%theme NAME='%Name' BRAND_FNAME='%brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version PRODUCT_NAME_RU='%distro_name_ru' PRODUCT_NAME='%distro_name' CODENAME='%codename' X86='%x86' ./configure make %install %makeinstall -make x86 DESTDIR=%buildroot datadir=%buildroot%_datadir sysconfdir=%buildroot%_sysconfdir - #graphics mkdir -p %buildroot/%_datadir/design/{%theme,backgrounds} @@ -261,36 +276,40 @@ __EOF__ #release install -pD -m644 /dev/null %buildroot%_sysconfdir/buildreqs/packages/ignore.d/%name-release -echo "%Name %version %status (%codename)" >%buildroot%_sysconfdir/altlinux-release +echo "%Name %version %status_en (%codename)" >%buildroot%_sysconfdir/altlinux-release for n in fedora redhat system; do ln -s altlinux-release %buildroot%_sysconfdir/$n-release done +install -pD -m644 components/systemd/os-release %buildroot%_sysconfdir/os-release #notes pushd notes %makeinstall popd +ln -s license.ru.html %buildroot%_datadir/alt-notes/license.uk.html -mkdir -p %buildroot/etc/skel/Документы/ +mkdir -p %buildroot/etc/skel/XDG-Templates.skel/ cp -r xfce-settings/etcskel/* %buildroot/etc/skel/ cp -r xfce-settings/etcskel/.config %buildroot/etc/skel/ +cp -r xfce-settings/etcskel/.local %buildroot/etc/skel/ cp -r xfce-settings/etcskel/.gconf %buildroot/etc/skel/ +cp -r xfce-settings/etcskel/.vimrc %buildroot/etc/skel/ install -m 644 xfce-settings/etcskel/.wm-select %buildroot/etc/skel/ -install -m 644 xfce-settings/etcskel/.fonts.conf %buildroot/etc/skel/ -mkdir -p %buildroot/usr/share/xfce4/backdrops/vladstudio.com/1600x1200 -mkdir -p %buildroot/usr/share/xfce4/backdrops/vladstudio.com/1680x1050 -cp -P xfce-settings/backgrounds/*.png %buildroot/usr/share/xfce4/backdrops/ -#popd +mkdir -p %buildroot/usr/share/backgrounds/xfce/ +cp -P xfce-settings/backgrounds/*.{jpg,png} %buildroot/usr/share/backgrounds/xfce/ +install -pDm0755 xfce-settings/scripts/zdg-move-templates.sh %buildroot%_sysconfdir/X11/profile.d/zdg-move-templates.sh #slideshow mkdir -p %buildroot/usr/share/install2/slideshow mkdir -p %buildroot/etc/alterator -install slideshow/slides/* %buildroot/usr/share/install2/slideshow/ +cp -a slideshow/* %buildroot/usr/share/install2/slideshow/ install slideshow/slideshow.conf %buildroot/etc/alterator/ +# Set English slideshow as default +#ln -s slides-en %buildroot/usr/share/install2/slideshow/slides #indexhtml %define _altdocsdir %_defaultdocdir/alt-docs @@ -303,13 +322,16 @@ install components/indexhtml/images/* %buildroot%_defaultdocdir/indexhtml/images #menu mkdir -p %buildroot/usr/share/slinux-style/applications install menu/applications/* %buildroot/usr/share/slinux-style/applications/ -mkdir -p %buildroot/etc/xdg/menus/applications-merged -cp menu/50-slinux-menu-style.menu %buildroot/etc/xdg/menus/applications-merged/ mkdir -p %buildroot/etc/xdg/menus/xfce-applications-merged cp menu/50-xfce-applications.menu %buildroot/etc/xdg/menus/xfce-applications-merged/ mkdir -p %buildroot/usr/share/desktop-directories cp menu/altlinux-wine.directory %buildroot/usr/share/desktop-directories/ +# system-settings +mkdir -p %buildroot/%_sysconfdir/polkit-1/rules.d/ +cp -a system-settings/polkit-rules/*.rules %buildroot/%_sysconfdir/polkit-1/rules.d/ +install -Dm644 system-settings/ldm_pam_environment %buildroot%_localstatedir/ldm/.pam_environment + #bootloader %pre bootloader [ -s /usr/share/gfxboot/%theme ] && rm -fr /usr/share/gfxboot/%theme ||: @@ -336,6 +358,13 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high %post indexhtml %_sbindir/indexhtml-update +%post system-settings +chown _ldm:_ldm %_localstatedir/ldm/.pam_environment +sed -i '/pam_env\.so/ { + /user_readenv/ b + s/pam_env\.so/pam_env.so user_readenv=1/ } +' %_sysconfdir/pam.d/lightdm-greeter + %files bootloader %_datadir/gfxboot/%theme /boot/splash/%theme @@ -361,21 +390,24 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf %files bootsplash %_datadir/plymouth/themes/%theme/* +%exclude %_datadir/plymouth/themes/%theme/*.in %files release -%_sysconfdir/*-* +%_sysconfdir/*-release %_sysconfdir/buildreqs/packages/ignore.d/* %files notes %_datadir/alt-notes/* %files xfce-settings -/etc/skel/Документы +%_sysconfdir/X11/profile.d/zdg-move-templates.sh +/etc/skel/XDG-Templates.skel/ /etc/skel/.wm-select -/etc/skel/.fonts.conf /etc/skel/.config +/etc/skel/.local /etc/skel/.gconf -/usr/share/xfce4/backdrops +/etc/skel/.vimrc +/usr/share/backgrounds/xfce/* %files slideshow /etc/alterator/slideshow.conf @@ -396,11 +428,17 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf %files menu /usr/share/slinux-style -/etc/xdg/menus/applications-merged/50-slinux-menu-style.menu /etc/xdg/menus/xfce-applications-merged/50-xfce-applications.menu /usr/share/desktop-directories/altlinux-wine.directory +%files system-settings +%config %_sysconfdir/polkit-1/rules.d/*.rules +%config %_localstatedir/ldm/.pam_environment + %changelog +* Tue Sep 03 2013 Andrey Cherepanov 6.9.9-alt1 +- Update branding for Seven platform + * Wed Aug 29 2012 Andrey Cherepanov 6.0.0-alt5 - Set correct distribution name @@ -412,7 +450,7 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf - Fix grub background color and font * Fri Jul 13 2012 Anton V. Boyarshinov 6.0.0-alt2 -- autoboot from usb hacked +- autoboot from usb * Tue Nov 22 2011 Anton V. Boyarshinov 6.0.0-alt1 - school variant diff --git a/components.mk b/components.mk index d192c45..9c4384d 100644 --- a/components.mk +++ b/components.mk @@ -1,25 +1,30 @@ # browser-qt components/browser-qt/design/bg.png: images/installer.png - convert $< -resize '800x600!' -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' $@ + convert $< -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' $@ browser-qt:components/browser-qt/design/bg.png install -d $(datadir)/alterator-browser-qt/design - cd components/browser-qt; rcc-qt4 -binary theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc; cd - + rcc-qt4 -binary components/browser-qt/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc + #cp -f components/browser-qt/design/design-live.qss components/browser-qt/design/design.qss + rcc-qt4 -binary components/browser-qt/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME)-live.rcc install -d $(sysconfdir)/alternatives/packages.d printf '/etc/alterator/design-browser-qt\t/usr/share/alterator-browser-qt/design/$(THEME).rcc\t50\n'>$(sysconfdir)/alternatives/packages.d/$(THEME).rcc # ahttpd ahttpd: + for i in components/ahttpd/images/*.svg; do \ + image=$${i%.svg}; \ + convert -background none $$image.svg $$image.png ; \ + done install -d $(datadir)/alterator/design/styles cp -a components/ahttpd/images $(datadir)/alterator/design - install -Dpm644 images/product-logo.png $(datadir)/alterator/design/images/product-logo.png cp -a components/ahttpd/styles/*.css $(datadir)/alterator/design/styles # bootloader and bootsplash -boot: +boot-images: cp -a /usr/src/design-bootloader-source ./ cp -a components/bootloader/config design-bootloader-source/ cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-install/ @@ -30,13 +35,14 @@ boot: cp -al boot-800x600.jpg design-bootloader-source/data-boot/back.jpg convert images/boot.png -resize "800x600!" -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' design-bootloader-source/data-install/back.jpg #bootsplash +boot-splash: boot-images mkdir -p $(datadir)/plymouth/themes/$(THEME) - convert -size 800x600 xc:#306ac4 $(datadir)/plymouth/themes/$(THEME)/grub.jpg + #cp -al boot-800x600.jpg $(datadir)/plymouth/themes/$(THEME)/grub.jpg cp -al images/background*x*.png $(datadir)/plymouth/themes/$(THEME)/ cp -a components/bootsplash/* $(datadir)/plymouth/themes/$(THEME) mv $(datadir)/plymouth/themes/$(THEME)/theme.plymouth $(datadir)/plymouth/themes/$(THEME)/$(THEME).plymouth #bootloader - subst 's/label:ALT/label:School/g' design-bootloader-source/src/dia_install.inc +boot: boot-images DEFAULT_LANG='--lang-to-subst--' PATH=$(PATH):/usr/sbin make -C design-bootloader-source install -d -m 755 $(sysconfdir)/../boot/splash/$(THEME) install -d -m 755 $(datadir)/gfxboot/$(THEME) @@ -45,15 +51,21 @@ boot: #grub2 install -d -m 755 $(sysconfdir)/../boot/grub/themes/$(THEME) cp -a components/grub2/* $(sysconfdir)/../boot/grub/themes/$(THEME)/ - install -m 644 images/grub.png $(sysconfdir)/../boot/grub/themes/$(THEME)/boot.png + install -m 644 images/grub.png $(sysconfdir)/../boot/grub/themes/$(THEME)/boot.png + install -m 644 boot-800x600.jpg $(sysconfdir)/../boot/grub/themes/$(THEME)/grub.jpg # index html page, start page for all local browsers +components/indexhtml/index.css: + sed 's|/design/|file:///usr/share/alterator/design/|g' components/ahttpd/styles/alterator.css > components/indexhtml/index.css + INDEXHTML_DIR=$(datadir)/doc/indexhtml -indexhtml: - for i in notes/index*.html components/indexhtml/*.css;do \ +indexhtml: components/indexhtml/index.css + for i in components/indexhtml/*.html components/indexhtml/*.css;do \ install -Dpm644 $$i $(INDEXHTML_DIR)/`basename $$i`; \ done install -Dpm644 /dev/null $(INDEXHTML_DIR)/index.html cp -a components/indexhtml/images $(INDEXHTML_DIR) - install -Dpm644 images/product-logo.png $(INDEXHTML_DIR)/images/product-logo.png + for i in alt-docs documentation;do \ + ln -s /usr/share/doc/$$i $(INDEXHTML_DIR)/$$i; \ + done install -Dpm644 components/indexhtml/indexhtml.desktop $(datadir)/applications/indexhtml.desktop diff --git a/components/ahttpd/images/asc-desc.gif b/components/ahttpd/images/asc-desc.gif new file mode 100644 index 0000000..fac668f Binary files /dev/null and b/components/ahttpd/images/asc-desc.gif differ diff --git a/components/ahttpd/images/asc.gif b/components/ahttpd/images/asc.gif new file mode 100644 index 0000000..7415786 Binary files /dev/null and b/components/ahttpd/images/asc.gif differ diff --git a/components/ahttpd/images/attention.gif b/components/ahttpd/images/attention.gif new file mode 100644 index 0000000..f654e86 Binary files /dev/null and b/components/ahttpd/images/attention.gif differ diff --git a/components/ahttpd/images/bottom.gif b/components/ahttpd/images/bottom.gif new file mode 100644 index 0000000..62560b6 Binary files /dev/null and b/components/ahttpd/images/bottom.gif differ diff --git a/components/ahttpd/images/button-active.png b/components/ahttpd/images/button-active.png new file mode 100644 index 0000000..480b9eb Binary files /dev/null and b/components/ahttpd/images/button-active.png differ diff --git a/components/ahttpd/images/button-dark-left.png b/components/ahttpd/images/button-dark-left.png new file mode 100644 index 0000000..1d9ccd0 Binary files /dev/null and b/components/ahttpd/images/button-dark-left.png differ diff --git a/components/ahttpd/images/button-dark-right.png b/components/ahttpd/images/button-dark-right.png new file mode 100644 index 0000000..67bcc37 Binary files /dev/null and b/components/ahttpd/images/button-dark-right.png differ diff --git a/components/ahttpd/images/button-help.png b/components/ahttpd/images/button-help.png new file mode 100644 index 0000000..b06e82d Binary files /dev/null and b/components/ahttpd/images/button-help.png differ diff --git a/components/ahttpd/images/button-light-left.png b/components/ahttpd/images/button-light-left.png new file mode 100644 index 0000000..d1d3c0f Binary files /dev/null and b/components/ahttpd/images/button-light-left.png differ diff --git a/components/ahttpd/images/button-light-right.png b/components/ahttpd/images/button-light-right.png new file mode 100644 index 0000000..cf55367 Binary files /dev/null and b/components/ahttpd/images/button-light-right.png differ diff --git a/components/ahttpd/images/button-passive.png b/components/ahttpd/images/button-passive.png new file mode 100644 index 0000000..4c9d8dc Binary files /dev/null and b/components/ahttpd/images/button-passive.png differ diff --git a/components/ahttpd/images/checkbox-checked.png b/components/ahttpd/images/checkbox-checked.png new file mode 100644 index 0000000..ee93b72 Binary files /dev/null and b/components/ahttpd/images/checkbox-checked.png differ diff --git a/components/ahttpd/images/checkbox-empty.png b/components/ahttpd/images/checkbox-empty.png new file mode 100644 index 0000000..f1720aa Binary files /dev/null and b/components/ahttpd/images/checkbox-empty.png differ diff --git a/components/ahttpd/images/clock-face.png b/components/ahttpd/images/clock-face.png new file mode 100644 index 0000000..0b69c63 Binary files /dev/null and b/components/ahttpd/images/clock-face.png differ diff --git a/components/ahttpd/images/close-dialog-button.svg b/components/ahttpd/images/close-dialog-button.svg new file mode 100644 index 0000000..c09d6b1 --- /dev/null +++ b/components/ahttpd/images/close-dialog-button.svg @@ -0,0 +1,472 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/components/ahttpd/images/desc.gif b/components/ahttpd/images/desc.gif new file mode 100644 index 0000000..3b30b3c Binary files /dev/null and b/components/ahttpd/images/desc.gif differ diff --git a/components/ahttpd/images/first-page-button.svg b/components/ahttpd/images/first-page-button.svg new file mode 100644 index 0000000..5e1d715 --- /dev/null +++ b/components/ahttpd/images/first-page-button.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/components/ahttpd/images/gradient-menu.png b/components/ahttpd/images/gradient-menu.png index 1b5d18f..3ba0669 100644 Binary files a/components/ahttpd/images/gradient-menu.png and b/components/ahttpd/images/gradient-menu.png differ diff --git a/components/ahttpd/images/gradient-top.png b/components/ahttpd/images/gradient-top.png index c433406..c54ee08 100644 Binary files a/components/ahttpd/images/gradient-top.png and b/components/ahttpd/images/gradient-top.png differ diff --git a/components/ahttpd/images/gradient.png b/components/ahttpd/images/gradient.png index 1fb505f..b6c4996 100644 Binary files a/components/ahttpd/images/gradient.png and b/components/ahttpd/images/gradient.png differ diff --git a/components/ahttpd/images/groups/firewall.png b/components/ahttpd/images/groups/firewall.png new file mode 100644 index 0000000..f6a5cee Binary files /dev/null and b/components/ahttpd/images/groups/firewall.png differ diff --git a/components/ahttpd/images/groups/mail.png b/components/ahttpd/images/groups/mail.png old mode 100755 new mode 100644 diff --git a/components/ahttpd/images/groups/pkg-groups.png b/components/ahttpd/images/groups/pkg-groups.png old mode 100755 new mode 100644 diff --git a/components/ahttpd/images/groups/pkg.png b/components/ahttpd/images/groups/pkg.png old mode 100755 new mode 100644 diff --git a/components/ahttpd/images/groups/servers.png b/components/ahttpd/images/groups/servers.png old mode 100755 new mode 100644 diff --git a/components/ahttpd/images/groups/system.png b/components/ahttpd/images/groups/system.png index e41016d..d5cbd5f 100644 Binary files a/components/ahttpd/images/groups/system.png and b/components/ahttpd/images/groups/system.png differ diff --git a/components/ahttpd/images/header-gradient.png b/components/ahttpd/images/header-gradient.png new file mode 100644 index 0000000..33b9358 Binary files /dev/null and b/components/ahttpd/images/header-gradient.png differ diff --git a/components/ahttpd/images/header.png b/components/ahttpd/images/header.png new file mode 100644 index 0000000..d89efaa Binary files /dev/null and b/components/ahttpd/images/header.png differ diff --git a/components/ahttpd/images/help.png b/components/ahttpd/images/help.png old mode 100755 new mode 100644 index aa7139b..28a0f9e Binary files a/components/ahttpd/images/help.png and b/components/ahttpd/images/help.png differ diff --git a/components/ahttpd/images/hgrabber.gif b/components/ahttpd/images/hgrabber.gif new file mode 100644 index 0000000..6a59bf8 Binary files /dev/null and b/components/ahttpd/images/hgrabber.gif differ diff --git a/components/ahttpd/images/information.gif b/components/ahttpd/images/information.gif new file mode 100644 index 0000000..16e81cb Binary files /dev/null and b/components/ahttpd/images/information.gif differ diff --git a/components/ahttpd/images/last-page-button.svg b/components/ahttpd/images/last-page-button.svg new file mode 100644 index 0000000..2811650 --- /dev/null +++ b/components/ahttpd/images/last-page-button.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/components/ahttpd/images/menu-header.png b/components/ahttpd/images/menu-header.png new file mode 100644 index 0000000..79be4f8 Binary files /dev/null and b/components/ahttpd/images/menu-header.png differ diff --git a/components/ahttpd/images/menu-selected.png b/components/ahttpd/images/menu-selected.png new file mode 100644 index 0000000..8ef3ec7 Binary files /dev/null and b/components/ahttpd/images/menu-selected.png differ diff --git a/components/ahttpd/images/next-page-button.svg b/components/ahttpd/images/next-page-button.svg new file mode 100644 index 0000000..d21655b --- /dev/null +++ b/components/ahttpd/images/next-page-button.svg @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/components/ahttpd/images/off.png b/components/ahttpd/images/off.png old mode 100755 new mode 100644 index deba6ca..14f6dc9 Binary files a/components/ahttpd/images/off.png and b/components/ahttpd/images/off.png differ diff --git a/components/ahttpd/images/on.png b/components/ahttpd/images/on.png old mode 100755 new mode 100644 index 07cc5a6..6168132 Binary files a/components/ahttpd/images/on.png and b/components/ahttpd/images/on.png differ diff --git a/components/ahttpd/images/prev-page-button.svg b/components/ahttpd/images/prev-page-button.svg new file mode 100644 index 0000000..d3d7b92 --- /dev/null +++ b/components/ahttpd/images/prev-page-button.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/components/ahttpd/images/product-logo.png b/components/ahttpd/images/product-logo.png new file mode 100644 index 0000000..56e4f01 Binary files /dev/null and b/components/ahttpd/images/product-logo.png differ diff --git a/components/ahttpd/images/product.png b/components/ahttpd/images/product.png new file mode 100644 index 0000000..511d127 Binary files /dev/null and b/components/ahttpd/images/product.png differ diff --git a/components/ahttpd/images/right.gif b/components/ahttpd/images/right.gif new file mode 100644 index 0000000..6e28960 Binary files /dev/null and b/components/ahttpd/images/right.gif differ diff --git a/components/ahttpd/images/section.png b/components/ahttpd/images/section.png new file mode 100644 index 0000000..f1442f5 Binary files /dev/null and b/components/ahttpd/images/section.png differ diff --git a/components/ahttpd/images/table-header.png b/components/ahttpd/images/table-header.png new file mode 100644 index 0000000..18fb26a Binary files /dev/null and b/components/ahttpd/images/table-header.png differ diff --git a/components/ahttpd/images/up-down.png b/components/ahttpd/images/up-down.png new file mode 100644 index 0000000..5f20461 Binary files /dev/null and b/components/ahttpd/images/up-down.png differ diff --git a/components/ahttpd/styles/alterator.css b/components/ahttpd/styles/alterator.css deleted file mode 100644 index b186fef..0000000 --- a/components/ahttpd/styles/alterator.css +++ /dev/null @@ -1,173 +0,0 @@ -body { - background-color: #cdcdcd;/*#92b2b8;/*#67999a;/*#c0dbdb;*/ - color: #178093; - margin: 0px; - padding: 10px; - font-family : Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif; - font-size: 9pt; -} - -a { - color: #178093; - font-weight: bold; -} - -table { - font-size: 9pt; - border-color: #178093; - border-collapse: collapse; -} - -th { - padding: 0px 7px 3px 0px; -} - -tr { - vertical-align: top; -} - -hr { - border: none; - border-top: 1px solid #5ac; -} - -h1 { - text-align: center; - margin: 0px; -} - -textarea, select, input.text { - border: 1px solid #178093; - font-size: 8pt; - margin: 1px 3px 1px 0px; - padding: 1px 3px; -} - -.btn { - background-color: #cdcdcd; - color: #178093; - border: 1px solid #178093; - cursor: pointer; - font-size: 9pt; - padding: 0px 3px; -} - -.btn:hover { - background-color: #94c4cd; -} - -.error-message { - background-color: #FFCACA; - border: 1px solid #FF6060; - padding-left:10px; - padding-right:10px; - margin-bottom:10px; -} - -.info-name { - font-size: 18pt; - border-bottom: 2px solid #178093; -} - -.info-description { - font-size: 12pt; - font-weight: bold; - padding-top: 10px; -} - - -.frame-table { - border-style:solid; - border-width:1px; - margin: 3px; -} - -.frame-table td, .frame-table th { - border-style:solid; - border-width:1px; - padding: 1px 1px 3px 3px; -} - -.disabled { - color: #6e6e6e; -} - -.alterator-progress { - border: 1px solid #178093; - height: 20px; - width: 200px; - padding: 2px; - background-color: #FFFFFF; -} - -.alterator-progress div { - background-color: #178093; - height: 20px; -} - -.year { - font-weight: bold; - background-color: #baeaea; -} - -.week { - border-style:solid; - border-width:1px; - background-color: white; -} - -.today { - border-style:solid; - border-width:1px; - background-color: pink; - cursor: pointer; -} - -.day { - border-style:solid; - border-width:1px; - background-color: #baeaea; - cursor: pointer; -} - -.day:hover { - background-color: #178093; -} - -.alterator-dateedit-calendar table { - width: 100%; - text-align: center; - background-color: #baeaea; - border-style: solid; - border-width: 1px; -} - -.alterator-dateedit-calendar td { - padding: 3px; -} - -.alterator-dateedit-button { - vertical-align:middle; - cursor:pointer; - background: url(/design/images/dateedit.png) no-repeat; - width: 15px; - height: 16px; -} - -table.alterator-listbox { - border: solid 1px; -} - -table.alterator-listbox th { - background-color: #cdcdcd; - font-weight: bold; - border: solid 1px; - padding: 3px; -} - -table.alterator-listbox td { - background: #ffffff; - border-left: solid 1px; - border-right: solid 1px; - padding: 3px; -} diff --git a/components/ahttpd/styles/alterator.css.in b/components/ahttpd/styles/alterator.css.in new file mode 100644 index 0000000..9d87f3f --- /dev/null +++ b/components/ahttpd/styles/alterator.css.in @@ -0,0 +1,826 @@ +/* basic elements and widgets */ + +body { + background-color: white; + margin: 5px; + padding: 10px; + font-family : "Liberation Sans", Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif; + font-size: 9pt; + width: 85%; +} + +a { + color: #0088bf; + font-weight: bold; +} + +#acl a { + color: #888; + font-weight: normal; +} + +table { + font-size: 9pt; + border-color: #306ac4; + border-spacing: 0px; + border-collapse: collapse; +} + +#main table { + margin: 0; + margin-bottom: 0; +} + +th { + padding: 0px 7px 3px 0px; +} + +/*tr:nth-child(even) {background: #eaecf2} +tr:nth-child(odd) {background: #FFF}*/ + +tr { + vertical-align: top; +} + +hr { + border: none; + border-top: 1px solid #415E6F;; +} + +h1 { + text-align: center; + margin: 0px; + color: black; +} + +h2 { + color: black; +} + +h3 { + color: black; +} + + +textarea, select, input.text { + + /*border: 1px solid #e2e6eb; #MIDDLE_LABELS_HEX@;*/ /*FIX NEEDED!!!!!*/ + + font-size: 9pt; + margin: 0px 5px 1px 5px; + padding: 2px 4px; + border: 1px solid #c4c4c4; + background-color: white; + vertical-align: middle; +} + +select { + background-color: #e6e6e6; +} + +fieldset { + border: 1px solid #c4c4c4; + margin-bottom: 6px; +} + +input.text[disabled], select[disabled]{ + background-color: #e2e6eb; +} + +.disabled{ + color:#666666; +} + +small { + margin-left: 5px; + margin-bottom: 3px; +} + +.btn, button { + color: black; + background-color: #dbeef6; + border: 1px solid #36a1cc; + + cursor: pointer; + font-size: 9pt; + font-weight: bold; + padding: 2.5px 10px; + vertical-align: middle; +} + +.btn:hover, button:hover, #main .btn, .box .btn { + font-weight: bold; + color: #FFFFFF; + background-color: #455a85; + border: 1px solid #1b2575; +} + +#main .btn:hover, .box .btn:hover { + background-color: #5b76af; +} + +div#top .btn { + width: 7em; +} + +.box { + position: relative; + width: 780px; + margin-top: 10px; + + padding: 10px 20px; + padding-top: 10px; + background-color: #dbeef6; + border: 1px solid #36a1cc; + -moz-border-radius: 0; + -webkit-border-radius: 0; +} + +.next-page-button,.prev-page-button,.first-page-button,.last-page-button { + width: 31px; + height: 25px; + vertical-align:middle; + cursor: pointer; +} + +.next-page-button { + background: url(/design/images/next-page-button.png) no-repeat; +} + +.prev-page-button { + background: url(/design/images/prev-page-button.png) no-repeat; +} + +.first-page-button { + background: url(/design/images/first-page-button.png) no-repeat; +} + +.last-page-button { + background: url(/design/images/last-page-button.png) no-repeat; +} + +.close-dialog-button { + width: 27px; + height: 27px; + border: 0px; + cursor: pointer; + background: url(/design/images/close-dialog-button.png) no-repeat; +} + +/* messages */ + +.alterator-information-message { + font-style:italic; + font-size: 9pt; + padding-top:3px; + padding-bottom:3px; +} + +.alterator-information-message img { + vertical-align:middle; +} + +.alterator-attention-message { + color: darkred; + border-color: #cf7878; + border-width: 5px; + border-style: solid; + background-color: #e8cfcf; + padding: 14px; + margin: 4px; + margin-bottom: 10px; + + min-width:10px; + + -moz-border-radius: 7px; + -webkit-border-radius: 7px; + -khtml-border-radius: 7px; + border-radius: 7px; +} + +.alterator-attention-message a { + color: darkred; +} + +.alterator-attention-message img { + vertical-align:middle; +} + +/* clock and timeedit */ + +canvas.alterator-clock { + background: url(/design/images/clock-face.png) no-repeat; +} + +/* calendar and dateedit */ + +.year { + font-weight: bold; + color: black; + font-size: 10pt; + vertical-align: middle; +} + +.month { + font-weight:bold; + color: black; + font-size: 10pt; + vertical-align: middle; +} + +.week { + border-style:solid; + border-width:1px; + background-color: white; +} + +.today { + border: 1px solid #242a60; + cursor: pointer; + + background-image: url(/design/images/button-passive.png); + background-repeat:repeat-x; + color: #FFFFFF; + +} + +.day { + border-style:solid; + border-width:1px; + background-color: #FFFFFF; + cursor: pointer; +} + +.day:hover { + background-color: #306ac4; +} + +.alterator-dateedit-calendar table { + width: 100%; + text-align: center; + background-color: #ebebeb; + margin-top: 10px; +/* background-image: url(/design/images/table-header.png); + background-repeat:repeat-x;*/ + +/* -webkit-border-top-left-radius: 0.7em; + -webkit-border-top-right-radius: 0.7em; + -moz-border-radius-topleft: 0.7em; + -moz-border-radius-topright: 0.7em; + border-top-left-radius: 0.7em; + border-top-right-radius: 0.7em;*/ + /*border: 2px solid #242a60;*/ + border: 2px solid #c4c4c4; + border-collapse: collapse; + +/* + -moz-border-radius-topright: 0.7em; + -webkit-border-top-right-radius: 0.7em; + -khtml-border-radius-topright: 0.7em; + border-top-right-radius: 0.7em; + -webkit-border-top-right-radius: 4px; +*/ + +/* -moz-box-shadow: 0 0 8px 0.2em #a6a6a6; + -webkit-box-shadow: 0 0 8px 0.2em #a6a6a6; + box-shadow: 0 0 8px 0.2em #a6a6a6;*/ +} + +.alterator-dateedit-calendar td { + padding: 3px; +} + +.alterator-dateedit-button { + vertical-align:middle; + cursor:pointer; + width: 15px; + height: 16px; + +} + +/* main menu */ + +#main, #box { + margin-top: 14px; + padding: 10px 20px; + padding-top: 10px; + + background-color: #dbeef6; + border: 1px solid #36a1cc; + -moz-border-radius: 0; + -webkit-border-radius: 0; +} + +#main-td { + width: 100%; + padding-top: 10px; +} + +#menu-td { + padding-top: 10px; +} + +#menu { + padding: 0; + margin-right: 10px; +} + +.menu-item-normal a { + font-weight: normal; + text-decoration: none; + color: black; +} + +.menu-item-selected a { + font-weight: bold; + text-decoration: none; + color: #0088bf; + padding-top: 10px; + margin-top: 10px; +} + +.menu-item-normal { + padding-left: 10px; + width: 100%; + padding-right: 4px; + margin-top: 3px; + margin-bottom: 2px; +} + +.menu-item-selected { + color: #0088bf; + background-color: #dbeef6; + padding-left: 10px; + padding-top: 3px; + padding-bottom: 3px; + padding-right: 3px; + margin-top: 3px; + margin-bottom: 2px; + margin-right: 10px; + +} +.menu-item-normal a:hover { + color: #0088bf; +} + +.menu-group-name { + width: 224px; + color: #0088bf; + height: 16px; + background: url(/design/images/section.png) no-repeat 0px 23px; + font-size: 10pt; + + padding-top: 3px; + padding-bottom: 10px; + padding-right: 4px; + padding-left: 10px; + margin-top: 10px; + margin-bottom: 8px; + margin-right: 10px; + font-weight: bold; +} + +/* tables */ + +table.alterator-listbox { + font-family:arial; + /*margin:10px 0pt 15px;*/ + font-size: 8pt; + width: 100%; + text-align: left; + border: 1px solid #808080; + border-spacing: 0; +} + +table.alterator-listbox thead tr th, table.alterator-listbox tfoot tr th { + + /*border-collapse: separate; + border: solid 1px; + border-right-color:#242a60; + border-right: 1px solid #242a60;*/ + font-size: 8pt; + margin: 0px; + padding: 4px; + color: black; + background-color: #e6e6e6; + border: 1px solid #808080; + vertical-align: middle; +} + +table.alterator-listbox thead tr th:hover, table.alterator-listbox tfoot tr th:hover { + background-color: #d6d6d6; +} + +table.alterator-listbox thead tr .header { + background-image: url(/design/images/asc-desc.gif); + background-repeat: no-repeat; + background-position: center right; + cursor: pointer; + padding-right: 24px; +} + +table.alterator-listbox tbody td { + color: #001056; + padding: 4px; + background-color: #FFFFFF; + vertical-align: top; + /*border-left: solid 1px; + border-right: solid 1px; + border:none;*/ + border-right: 1px solid #808080; +} + +table.alterator-listbox tbody tr.odd td { + background-color:#f0f0f0; + /*border:none;*/ +} + +table.alterator-listbox tbody tr.selected td, table.alterator-listbox tbody tr.odd.selected td { + background-color: #D0E1FF; + /*border-top: #ffffff solid 1px; WTF??*/ +} + +table.alterator-listbox tbody tr.error td { + background-color: #e6999b; + font-weight: bold; +} + +table.alterator-listbox tbody tr.odd.error td { + background-color: #e68b8d; + font-weight: bold; +} + +table.alterator-listbox tbody tr.working td { + background-color: #f2ecbd; +} + +table.alterator-listbox tbody tr.odd.working td { + background-color: #f2e88f; +} + +table.alterator-listbox thead tr .headerSortUp { + background-image: url(/design/images/asc.gif); +} + +table.alterator-listbox thead tr .headerSortDown { + background-image: url(/design/images/desc.gif); +} + +table.alterator-listbox thead tr .headerSortDown, table.alterator-listbox thead tr .headerSortUp { + background-color: #d6d6d6; +} + +/* states */ + +.ui-state-disabled { + cursor: default !important; + color: #c3c7cb; + /*background-color: #e2e6eb;*/ +} + +.btn.ui-state-disabled { + color: #415E6F; + background-color: #E2E6EB; +} + +.btn.ui-state-disabled:hover { + background-color: #E2E6EB; +} + +/* progressbar */ + +.ui-progressbar { + height:20px; + text-align: left; +} +.ui-progressbar .ui-progressbar-value { + height:100%; +} + +/* states */ + +.ui-state-disabled { + cursor: default !important; + color: #c3c7cb; +/* background-color: #F5F5F5;*/ +} + +#main .btn.ui-state-disabled, #main .btn.ui-state-disabled:hover { + cursor: default !important; + color: #c3c7cb; + background-color: #E2E6EB; + border: 1px solid #c0c0c0; +} + +/* progressbar */ + +.ui-progressbar { + height:20px; + text-align: left; +} +.ui-progressbar .ui-progressbar-value { + height:100%; +} + +/* accordion */ + +div.alterator-accordion h3 { + background-color: #DBEEF6; + font-size: 9pt; + + padding-top: 3px; + padding-bottom: 3px; + padding-left: 24px; + + margin: 0px; + border-top: 1px solid #36A1CC; + border-left: 1px solid #36A1CC; + border-right: 1px solid #36A1CC; + + background-image: url(/design/images/right.gif); + background-repeat: no-repeat; + background-position: center left; + cursor: pointer; + outline: none; +} + +div.alterator-accordion h3.ui-state-active { + color: #0088bf; + background-image: url(/design/images/bottom.gif); + background-repeat: no-repeat; + background-position: center left; + cursor: pointer; +} + +/* TODO: don't work */ +div.alterator-accordion .btn { + font-weight: bold; + color: black; + background-color: #dbeef6; + border: 1px solid #36a1cc; +} + +div.alterator-accordion div { + padding: 10px 10px 5px 15px; + border-top: 1px solid #36A1CC; + border-left: 1px solid #36A1CC; + border-right: 1px solid #36A1CC; +} + +div.alterator-accordion td { + white-space: nowrap; +} + +div.alterator-accordion { + border-bottom: 1px solid #36A1CC; +} + +/* resizeable */ + +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: 0px; + left: 0px; + background:#E2E6EB url(/design/images/hgrabber.gif) no-repeat scroll 45%; +} + +.ui-resizable-s:hover { + background-color: #1B3664; +} + + +/* corner radius */ + +.ui-corner-tl { + -moz-border-radius-topleft: 0px; + -webkit-border-top-left-radius: 0px; +} + +.ui-corner-tr { + -moz-border-radius-topright: 0px; + -webkit-border-top-right-radius: 0px; +} + +.ui-corner-bl { + -moz-border-radius-bottomleft: 0px; + -webkit-border-bottom-left-radius: 0px; +} + +.ui-corner-br { + -moz-border-radius-bottomright: 0px; + -webkit-border-bottom-right-radius: 0px; +} + +.ui-corner-top { + -moz-border-radius-topleft: 0px; + -webkit-border-top-left-radius: 0px; + -moz-border-radius-topright: 0px; + -webkit-border-top-right-radius: 0px; +} + +.ui-corner-bottom { + -moz-border-radius-bottomleft: 0px; + -webkit-border-bottom-left-radius: 0px; + -moz-border-radius-bottomright: 0px; + -webkit-border-bottom-right-radius: 0px; +} + +.ui-corner-right { + -moz-border-radius-topright: 0px; + -webkit-border-top-right-radius: 0px; + -moz-border-radius-bottomright: 0px; + -webkit-border-bottom-right-radius: 0px; +} + +.ui-corner-left { + -moz-border-radius-topleft: 0px; + -webkit-border-top-left-radius: 0px; + -moz-border-radius-bottomleft: 0px; + -webkit-border-bottom-left-radius: 0px; +} + +.ui-corner-all { + /*-moz-border-radius: 0.8em; + -webkit-border-radius: 0.8em;*/ +} + +/* overlays */ + +.ui-widget-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: #aaaaaa; + opacity: .3; + filter:Alpha(Opacity=30); +} + +/* dialog */ + +.ui-widget-content { + background-color: #FFFFFF; +} + +.ui-widget-header { + color: #EAEDEF; + background-color: #306ac4; + font-weight: bold; +} + +.ui-dialog { + border: 2px solid #c4c4c4; +} + +.ui-dialog .ui-dialog-title { + float: left; + margin: .1em 0 .2em; +} + +.ui-dialog .ui-dialog-titlebar { + padding: .5em .3em .3em 1em; +} + + +.ui-dialog .ui-dialog-titlebar-close { + float:right; +} + +.ui-dialog .ui-dialog-titlebar-close span { + display: block; + margin: 1px; +} + +.ui-dialog .ui-dialog-content { + border: 0; + padding: .5em 1em; + background: none; + overflow: auto; +} + +.ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + margin: .5em 0 0 0; + padding: .3em 1em .5em .4em; +} + +.ui-dialog .ui-dialog-buttonpane button { + float: right; + margin: .5em .4em .5em 0; + width:auto; + overflow:visible; + font-weight: bold; + color: #FFFFFF; + background-color: #455a85; + border: 1px solid #1b2575; +} + +.ui-icon-closethick { + width: 27px; + height: 27px; + text-indent: -99999px; + overflow: hidden; + background: url(/design/images/close-dialog-button.png) no-repeat; +} + +/* layout helpers */ + +.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } +.ui-helper-clearfix { display: inline-block; } +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { height:1%; } +.ui-helper-clearfix { display:block; } +/* end clearfix */ + +/* help button */ + +.ui-help-button { + background-color: #FFFFFF; + margin-bottom: 10px; + padding-top: 7px; + + border: 1px solid #c1c3cb; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; +} + +.ui-help-button-content { + padding-left: 10px; + padding-right: 30px; +} + +/* top line */ + +#top { + text-align:left; + padding: 0em; + margin-bottom: 0px; + border-bottom: 1px solid #ebebeb; +} + +#product-logo { + background: url(/design/images/product-logo.png) no-repeat; + width: 348px; + height: 52px; + border: 0px; + padding: 0px; + margin: 0px; +} + +#title { + padding-left: 1em; + padding-right: 1em; + text-align: left; + + color: black; + font-family: "DejaVu Sans",Verdana,Tahoma,Helvetica; + font-weight: bold; + text-decoration: none; + font-size:large; + text-transform: uppercase; +} + +.top-button { + padding-left: 10px; +} + + +/* deprecated */ + +.error-message { + background-color: #efc9d3; + border: 1px solid #f81751; + padding-left:10px; + padding-right:10px; + margin-bottom:10px; +} + +#help-popup { + padding-left: 10px; + padding-right: -30px; + background-color: #FFFFFF; + + border: 1px solid #c1c3cb; + -moz-border-radius: 0.5em; + -webkit-border-radius: 0.5em; + -khtml-border-radius: 0.5em; + border-radius: 0.5em; +} + +.hresizeable { + width: 100%; + height: 7px; + background:#001056 url(/design/images/hgrabber.gif) no-repeat scroll 45%; + cursor: s-resize; +} + +.hresizeable:hover { + background-color: #306ac4; +} diff --git a/components/ahttpd/styles/card-index.css b/components/ahttpd/styles/card-index.css deleted file mode 100644 index 2cc3861..0000000 --- a/components/ahttpd/styles/card-index.css +++ /dev/null @@ -1,8 +0,0 @@ -.selector-actions { - position: absolute; - right: 30px; -} - -.selector-chooser { - width: 100%; -} diff --git a/components/ahttpd/styles/menu.css b/components/ahttpd/styles/menu.css deleted file mode 100644 index bad01a3..0000000 --- a/components/ahttpd/styles/menu.css +++ /dev/null @@ -1,188 +0,0 @@ -/* c0dbdb */ - -#logo-td { - border-left: none; - padding-left: 10px; - padding-right: 10px; - text-align:left; -/* background: #fff;*/ - padding-top: 10px; - background: url(/design/images/gradient-top.png) 0% 0% repeat-x; - width: 275px; - -moz-border-radius-topleft: 1em; - -webkit-border-radius-topleft: 1em; - -khtml-border-radius-topleft: 1em; - border-radius-topleft: 1em; - -moz-border-radius-bottomleft: 1em; - -webkit-border-radius-bottomleft: 1em; - -khtml-border-radius-bottomleft: 1em; - border-radius-bottomleft: 1em; -} - -#logo-td img { - background: url(/design/images/logo.png) no-repeat; - width: 275px; /*325*/ - height: 30px; -} - -#help-td { - /*border-left: none;*/ - padding-left: 10px; - padding-right: 10px; - padding-top: 10px; - width: 20px; - text-align:left; - color: #fff; -/* border-bottom: 1px solid #056560;;*/ - background: url(/design/images/gradient-top.png) 0% 0% repeat-x; -/* -moz-border-radius-topleft: 1em; - -moz-border-radius-topright: 1em; - -webkit-border-radius-topleft: 1em; - -khtml-border-radius-topleft: 1em; - border-radius-topleft: 1em; */ -} - -#locale-td { -/* border-left: none; */ - padding-left: 10px; - padding-top: 10px; - color: #fff; - padding-right: 10px; - text-align:center; - width: 100px; - background: url(/design/images/gradient-top.png) 0% 0% repeat-x; -/* border-left: 1px solid #056560;; - border-right: 1px solid #056560;; - border-bottom: 1px solid #056560;; */ - -moz-border-radius-topright: 1em; - -webkit-border-radius-topright: 1em; - -khtml-border-radius-topright: 1em; - border-radius-topright: 1em; -} - -#hostinfo-td { -/* border-left: 1px solid #056560;; - border-top: 1px solid #056560;; - border-right: 1px solid #056560;; */ - background: url(/design/images/gradient-top.png) 0% 0% repeat-x; -/* -moz-border-radius-topleft: 1em; - -webkit-border-radius-topleft: 1em; - -khtml-border-radius-topleft: 1em; - border-radius-topleft: 1em; - */ - - padding-left: 10px; - padding-right: 10px; - padding-top: 10px; - text-align: left; - - color: #fff; /*#0574B2;*/ - font-weight: bold; - text-decoration: none; - font-size:large; -} - -.expanded { -/* padding-left: 40px;*/ - width: 100%; -} - - - -/* main menu */ - -#menu-td { - padding-right: 12px; -} - -#main { - padding: 10px 20px; -} - - -#main-td { -/* padding: 10px 20px;*/ -/* background-color: #baeaea;*/ - background-color: #fff; - width: 100%; - /*border: 1px solid #056560;;*/ - -moz-border-radius-bottomright: 1em; - -webkit-border-radius-bottomright: 1em; - -khtml-border-radius-bottomright: 1em; - border-radius-bottomright: 1em; - -moz-border-radius-bottomleft: 1em; - -webkit-border-radius-bottomleft: 1em; - -khtml-border-radius-bottomleft: 1em; - border-radius-bottomleft: 1em; -} - -.menu-item-normal a { - font-weight: normal; - padding-left: 5px; - padding-right: 5px; - text-decoration: none; -} - -.menu-item-selected a { - font-weight: bold; - padding-left: 5px; - padding-right: 5px; -} - -.menu-group-name { - padding-left: 5px; - padding-right: 5px; - color: #fff; - text-decoration: none; - /*background-color:#baeaea;*/ - padding-top: 3px; - background: url(/design/images/gradient.png) 0% 0% repeat-x; - font-weight: bold; - -moz-border-radius-topright: 1em; - -webkit-border-radius-topright: 1em; - -khtml-border-radius-topright: 1em; - border-radius-topright: 1em; - -moz-border-radius-topleft: 1em; - -webkit-border-radius-topleft: 1em; - -khtml-border-radius-topleft: 1em; - border-radius-topleft: 1em; -} - -.menu-group { - padding-bottom: 5px; - /*width:250px;*/ -/* padding-right: 5px;*/ - padding-top: 5px; - border-collapse: collapse; - background: url(/design/images/gradient-menu.png) 0% 0% repeat-x; -/* border-bottom: 1px solid #056560;; - border-left: 1px solid #056560;; - border-right: 1px solid #056560;; */ - -moz-border-radius-bottomright: 1em; /* mozilla 1.5 */ - -webkit-border-radius-bottomright: 1em; /* safari 3 */ - -khtml-border-radius-bottomright: 1em; /* Konqueror */ - border-radius-bottomright: 1em; /* CSS3 */ - -moz-border-radius-bottomleft: 1em; /* mozilla 1.5 */ - -webkit-border-radius-bottomleft: 1em; /* safari 3 */ - -khtml-border-radius-bottomleft: 1em; /* Konqueror */ - border-radius-bottomleft: 1em; /* CSS3 */ -} - -#help-popup { - padding-left: 10px; - width: 95%; - background-color: #EEF2F5; -/* padding-right: 5px; - padding-top: 10px;*/ -} - -.hresizeable { - width: 100%; - height: 7px; - background:#cdcdcd url(/design/images/hgrabber.gif) no-repeat scroll 45%; - cursor: s-resize; -} - -.hresizeable:hover { - background-color: #178093; -} diff --git a/components/bootloader/config.in b/components/bootloader/config.in index f6d7fba..5e1b54a 100644 --- a/components/bootloader/config.in +++ b/components/bootloader/config.in @@ -1,2 +1,2 @@ -product=@NAME@ @VERSION@ @STATUS@ +product=@NAME@ @VERSION@@STATUS@ based_on=ALT Linux Sisyphus diff --git a/components/bootloader/gfxboot.cfg.in b/components/bootloader/gfxboot.cfg.in index 122dd48..813e21f 100644 --- a/components/bootloader/gfxboot.cfg.in +++ b/components/bootloader/gfxboot.cfg.in @@ -35,16 +35,16 @@ background=back.jpg ; max. visible main menu items mainmenu.entries=8 ; minimal main menu selection bar width -mainmenu.bar.minwidth=294 +mainmenu.bar.minwidth=280 ; main menu selection bar transparency (0..255) mainmenu.bar.transparency=0 ; main menu colors -mainmenu.bar.color=0xffffff +mainmenu.bar.color=0x77b5f2 mainmenu.normal.fg=0x787878 -mainmenu.selected.fg=0x118bca +mainmenu.selected.fg=0xe4ecf2 ; boot option colors -bootopt.label.fg=0x787878 -bootopt.text.fg=0x787878 +bootopt.label.fg=0x000000 +bootopt.text.fg=0x000000 ; progress bar color progress.bar.color=0xd4ecfa ; menu colors @@ -65,9 +65,9 @@ help.link.selected.bg=0x@DARK_COLOR_HEX@ help.highlight.fg=0x@DARK_COLOR_HEX@ ; panel colors panel.fg=0x000000 -panel.title.fg=0x787878 -panel.normal.fg=0x787878 -panel.f-key.fg=0x787878 +panel.title.fg=0x000000 +panel.normal.fg=0x000000 +panel.f-key.fg=0x000080 ; default keymap (e.g. de_DE, czech) keymap= @@ -75,7 +75,7 @@ keymap= ; screen size screen.size=800,600 ; upper left corner -mainmenu.pos=253,210 +mainmenu.pos=260,200 ; boot option input field position bootopt.pos=200,480 diff --git a/components/bootsplash/progress_bar.png b/components/bootsplash/progress_bar.png index cb0e6aa..dd1e747 100644 Binary files a/components/bootsplash/progress_bar.png and b/components/bootsplash/progress_bar.png differ diff --git a/components/bootsplash/progress_box.png b/components/bootsplash/progress_box.png index 8df8be2..57a0c30 100644 Binary files a/components/bootsplash/progress_box.png and b/components/bootsplash/progress_box.png differ diff --git a/components/bootsplash/segment_cornerL.png b/components/bootsplash/segment_cornerL.png index 2fa8d81..f12b9ac 100644 Binary files a/components/bootsplash/segment_cornerL.png and b/components/bootsplash/segment_cornerL.png differ diff --git a/components/bootsplash/segment_cornerR.png b/components/bootsplash/segment_cornerR.png index bd872bc..6e3db91 100644 Binary files a/components/bootsplash/segment_cornerR.png and b/components/bootsplash/segment_cornerR.png differ diff --git a/components/bootsplash/segment_middle.png b/components/bootsplash/segment_middle.png new file mode 100644 index 0000000..6093db1 Binary files /dev/null and b/components/bootsplash/segment_middle.png differ diff --git a/components/bootsplash/segment_status.png b/components/bootsplash/segment_status.png new file mode 100644 index 0000000..5f12464 Binary files /dev/null and b/components/bootsplash/segment_status.png differ diff --git a/components/bootsplash/theme.script b/components/bootsplash/theme.script index f7881dd..08304d9 100644 --- a/components/bootsplash/theme.script +++ b/components/bootsplash/theme.script @@ -13,11 +13,11 @@ fun imgscale2( image, scaleX, scaleY ) # background if( Window.GetWidth()/Window.GetHeight() > 1.5 ) { - logo.raw = Image("background16x9.png"); + logo.raw = Image("background16x9.png"); } else { - logo.raw = Image("background4x3.png"); + logo.raw = Image("background4x3.png"); } logo.image = imgscale2( logo.raw, @@ -123,34 +123,48 @@ progress_box.x = Window.GetX() + Window.GetWidth() / 2 - progress_box.image.GetW progress_box.y = Window.GetY() + Window.GetHeight() / 2 - progress_box.image.GetHeight() / 2; progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0); -progress_bar.original_image = imgscale(Image("progress_bar.png"), scale_factor); -progress_bar.sprite = Sprite(); +progress_bar.status.raw = Image("segment_status.png"); +progress_bar.runner = Sprite(); +progress_bar.runner.SetImage ( imgscale(progress_bar.status.raw, scale_factor)); -progress_bar.x = progress_box.x ; -progress_bar.y = Window.GetY() + Window.GetHeight() / 2 - progress_box.image.GetHeight() / 2 + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2; +progress_bar.x = Window.GetX() + Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2; +progress_bar.y = Window.GetY() + Window.GetHeight() / 2 - progress_box.image.GetHeight() / 2 + + (progress_box.image.GetHeight() - progress_box.image.GetHeight()) / 2; + +#Total steps +steps=33; #left corner progress_bar.l = imgscale( Image("segment_cornerL.png") , scale_factor ); progress_bar.spriteL = Sprite(); progress_bar.spriteL.SetImage (progress_bar.l); progress_bar.spriteL.SetPosition(progress_bar.x,progress_bar.y, 2) ; -progress_bar.x += progress_bar.l.GetWidth(); -progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1); +progress_bar.x += progress_bar.l.GetWidth()-1; +#middle +progress_bar.image = imgscale(Image("segment_middle.png"), scale_factor); +step = progress_bar.image.GetWidth()-1; +for( i=0; i 0.99 ) + progress_bar.sprites[i+1].SetZ(2); + if( progress < 0.96 ) + progress_bar.runner.SetPosition(progress_bar.x+progress*step*steps, progress_bar.y, 1); } Plymouth.SetBootProgressFunction(progress_callback); diff --git a/components/browser-qt/design/design.qss.in b/components/browser-qt/design/design.qss.in index ca2eb56..0f65f39 100644 --- a/components/browser-qt/design/design.qss.in +++ b/components/browser-qt/design/design.qss.in @@ -2,30 +2,28 @@ .AWizardFace { border-style: none; background-image: url(:/design/bg.png); - background-color: rgb(0,139,209); - background-position: center; - background-repeat: no-repeat + background-color: rgb(167,228,255); + background-position: top left; + background-repeat: no-repeat; } .AWizardFace #wizardface_title_text { color: white; } - .ACenterFace { border-style: none; - } +} .ACenterFace #modules_view { background-color: white; } /* Nice WindowsXP-style password character for password line edits. */ -QLineEdit[echoMode="2"] { +QLineEdit { lineedit-password-character: 9679; } - /* Customize tooltips. */ QToolTip { background-color: rgb(200,200,255); @@ -38,3 +36,14 @@ QToolTip { opacity: 200; } +QProgressBar { + background: white; + border: 1px solid #B8B2AD; +} + +QProgressBar::chunk { + background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #648fb6, + stop: 1 #6f9fca) url(:/design/progress-cleanlooks.png); + border: 1px solid #46647f; +} diff --git a/components/browser-qt/design/progress-cleanlooks.png b/components/browser-qt/design/progress-cleanlooks.png new file mode 100644 index 0000000..fa4f87b Binary files /dev/null and b/components/browser-qt/design/progress-cleanlooks.png differ diff --git a/components/browser-qt/theme.qrc b/components/browser-qt/theme.qrc index 4e3e1cf..f52c1d8 100644 --- a/components/browser-qt/theme.qrc +++ b/components/browser-qt/theme.qrc @@ -5,5 +5,6 @@ design/design.ini design/forward.png design/backward.png + design/progress-cleanlooks.png diff --git a/components/grub2/f/misc_fixed_13.pf2 b/components/grub2/f/misc_fixed_13.pf2 new file mode 100644 index 0000000..68d8847 Binary files /dev/null and b/components/grub2/f/misc_fixed_13.pf2 differ diff --git a/components/grub2/theme.txt b/components/grub2/theme.txt index be43daf..8eb16aa 100644 --- a/components/grub2/theme.txt +++ b/components/grub2/theme.txt @@ -21,45 +21,57 @@ # THE SOFTWARE. #general settings -message-font: "Misc Fixed Bold 13" +essage-font: "DejaVu Sans Regular 12" title-text: "" message-color: "#000000" -message-bg-color: "#ffffff" +message-bg-color: "#77b5f2" desktop-image: "boot.png" terminal-font: "Misc Fixed Regular 13" #help bar at the bottom + label { - top = 100%-25 - left = 0 - width = 100% - height = 20 - text = "To boot the selected operating system using default settings, press return. For additional settings, press E" + top = 100%-60 + left = 20% + width = 60% + height = 25 + text = "Для запуска системы выберите пункт меню и нажмите Enter." align = "center" - font = "DejaVu Sans Regular 10" - color = "#000000" + font = "Droid Sans Bold 14" + color = "#008" +} + ++ label { + top = 100%-40 + left = 20% + width = 60% + height = 25 + text = "Для редактирования меню нажмите E. Для выхода - Esc." + align = "center" + font = "Droid Sans Bold 14" + color = "#008" } #menu + boot_menu { - left = 30% - width = 40% - top = 32% + left = 20% + width = 60% + top = 30% height = 40% - item_font = "Misc Fixed Bold 13" - selected_item_font = "Misc Fixed Bold 13" + item_font = "DejaVu Sans Bold 14" + selected_item_font = "DejaVu Sans Bold 14" icon_height = 24 icon_width = 24 item_height = 26 item_padding = 0 item_icon_space = 0 item_spacing = 1 + selected_item_pixmap_style = "selected_blob_*.png" scrollbar = true scrollbar_width = 20 scrollbar_thumb = "scrollbar_slider_*.png" scrollbar_frame = "scrollbar_border_*.png" - item_color = "#676769" - selected_item_color = "#4f88c7" + item_color = "#000080" + selected_item_color = "#ffffff" } + circular_progress diff --git a/components/indexhtml/index-en.html.in b/components/indexhtml/index-en.html.in index 8451d63..7c550e0 100644 --- a/components/indexhtml/index-en.html.in +++ b/components/indexhtml/index-en.html.in @@ -2,7 +2,7 @@ -Informika 6.0 School Junior +@PRODUCT_NAME@ @@ -16,7 +16,7 @@ -
Informika 6.0 School Junior
+
@PRODUCT_NAME@
@@ -87,7 +87,7 @@