Compare commits
13 Commits
Author | SHA1 | Date |
---|---|---|
|
dbd4386fb9 | |
|
5e9786786d | |
|
ca73dae896 | |
|
03003d8056 | |
|
89f905268f | |
|
ca2dd9bc5d | |
|
b1168d4552 | |
|
3b545c0f7e | |
|
da6b90b78d | |
|
fbdfcc7efa | |
|
e52e4c06b5 | |
|
59d2cc5b49 | |
|
d49ea58107 |
28
bin/cavactl
28
bin/cavactl
|
@ -67,11 +67,27 @@ sd ".*bar_spacing .*" "bar_spacing = ${1}" ${CFGFILE}
|
|||
reload_config
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
info () {
|
||||
case "$LANG" in
|
||||
pl*)
|
||||
INFO_HEAD="Porady dla Cava"
|
||||
INFO_TXT="\nCava jest uruchomiona w przezroczystym oknie...\n\
|
||||
Możesz je więc <b>przesuwać</b> lub <b>zmieniać rozmiar</b> tak jak każde inne okno\n\
|
||||
<i>Przesuwanie</i>: przytrzymaj <b>Alt</b> i przeciągnij\n\
|
||||
<i>Zmiana rozmiaru</i>: przytrzymaj <b>Alt</b> i przeciągnij prawym przyciskiem myszy\n\n \
|
||||
Użyj strzałek <b> </b>, aby zmienić szerokość słupków"
|
||||
;;
|
||||
*)
|
||||
INFO_HEAD="Cava tips & tricks"
|
||||
INFO_TXT="\nCava runs inside transparent window...\n\
|
||||
So you can <b>move</b> or <b>resize</b> it like any other window\n\
|
||||
<i>Move</i>: hold <b>Alt</b> and drag\n\
|
||||
<i>Resize</i>: hold <b>Alt</b> and drag with right mouse button\n\n \
|
||||
Use arrows <b> </b> to change bar width"
|
||||
;;
|
||||
esac
|
||||
notify-send.sh -i amarok_playcount -u critical "$INFO_HEAD" "$INFO_TXT"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
mode) mode "$2";;
|
||||
|
@ -85,6 +101,6 @@ case "$1" in
|
|||
reload_colors)reload_colors;;
|
||||
bar_width)bar_width "$2";;
|
||||
bar_spacing)bar_spacing "$2";;
|
||||
|
||||
info) info;;
|
||||
*):;;
|
||||
esac
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
CNF_DIR="$HOME/.config/colorizer/conky"
|
||||
CNF_FILE="$CNF_DIR/conky.cfg"
|
||||
source <(grep = $CNF_FILE)
|
||||
PKGS=$(checkupdates | wc -l)
|
||||
mb-setvar updates=${PKGS}
|
||||
|
||||
case "$LANG" in
|
||||
pl*)
|
||||
|
@ -49,7 +51,7 @@ esac
|
|||
|
||||
|
||||
if [ -f /tmp/"$CONKYPID" ]; then
|
||||
PKGS=$(pamac checkupdates --no-aur -q| wc -l)
|
||||
PKGS=$(checkupdates | wc -l)
|
||||
if [ "$PKGS" != "0" ]; then
|
||||
if [[ "$update_notifications" == "true" ]];then
|
||||
notify-send.sh -u critical -i mbcc "$AVAIL_UPDATES" "$PKGS_TO_UPDATE $PKGS" -o "$YAY_UPD:terminator -T '$YAY_UPD' -e yay" \
|
||||
|
|
|
@ -181,7 +181,7 @@ fi
|
|||
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
|
@ -214,7 +214,7 @@ out+=("<big></big> $FONTS,colorizer-fonts -s")
|
|||
out+=("^sep()")
|
||||
out+=("$OBTHEME,colorizer-ob -s")
|
||||
|
||||
#out+=("TINT2,^pipe(colorizer-tint2)")
|
||||
#out+=("TINT2,colorizer-tint2 -s")
|
||||
out+=("$MENUPANELS,colorizer-menus -s")
|
||||
out+=("$COLORIZER_CONKY,colorizer-conky -s")
|
||||
out+=("^sep()")
|
||||
|
|
|
@ -25,7 +25,7 @@ CFGFILE=~/.config/cava/config
|
|||
# get wallpaper color palette
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
|
@ -44,12 +44,6 @@ fi
|
|||
case "$LANG" in
|
||||
pl*)
|
||||
INFO="Cava porady"
|
||||
INFO_HEAD="Porady dla Cava"
|
||||
INFO_TXT="\n1. Cava jest uruchomiona w przezroczystym oknie...\n \
|
||||
Możesz je więc <b>przesuwać</b> lub <b>zmieniać rozmiar</b> tak jak każde inne okno\n \
|
||||
<i>Przesuwanie</i>: przytrzymaj <b>Alt</b> i przeciągnij\n \
|
||||
<i>Zmiana rozmiaru</i>: przytrzymaj <b>Alt</b> i przeciągnij prawym przyciskiem myszy\n\n \
|
||||
2. Użyj strzałek <b> </b>, aby zmienić szerokość słupków"
|
||||
COLORIZE_CAVA="Pokoloruj Cava"
|
||||
COLOR="Jednolity kolor"
|
||||
REVERSE_GRADIENT="Odwróć kolory gradientu"
|
||||
|
@ -74,12 +68,6 @@ Możesz je więc <b>przesuwać</b> lub <b>zmieniać rozmiar</b> tak jak każde i
|
|||
;;
|
||||
*)
|
||||
INFO="CaVa tips & tricks"
|
||||
INFO_HEAD="Cava tips & tricks"
|
||||
INFO_TXT="\n1. Cava runs inside transparent window...\n \
|
||||
So you can <b>move</b> or <b>resize</b> it like any other window\n \
|
||||
<i>Move</i>: hold <b>Alt</b> and drag\n \
|
||||
<i>Resize</i>: hold <b>Alt</b> and drag with right mouse button\n\n \
|
||||
2. Use arrows <b> </b> to change bar width"
|
||||
COLORIZE_CAVA="Colorize Cava"
|
||||
COLOR="Solid Color"
|
||||
REVERSE_GRADIENT="Reverse gradient's colors"
|
||||
|
@ -157,7 +145,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
|||
out+=(" $RELOAD,cavactl reload;$me")
|
||||
out+=(" $RELOAD_COLORS,cavactl reload_colors;$me")
|
||||
out+=("^sep()")
|
||||
out+=(" $INFO,notify-send.sh -i music -u critical '$INFO_HEAD' '$INFO_TXT'")
|
||||
out+=(" $INFO,cavactl info")
|
||||
|
||||
|
||||
### RUN
|
||||
|
@ -193,7 +181,7 @@ if [[ "$1" == "-s" ]]; then
|
|||
MENU_PADDING_TOP=$((jgtools_padding + 150))
|
||||
|
||||
#WALLPAPER
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
THUMBDIR="$HOME/.cache/colorizer/thumbs"
|
||||
mkdir -p ${THUMBDIR}
|
||||
NAME=${WALLPATH////_}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# colorizer - set of tools for Mabox (auto)theming
|
||||
# Copyright (C) 2022-2023 Daniel Napora <napcok@gmail.com>
|
||||
# Copyright (C) 2022-2024 Daniel Napora <napcok@gmail.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -53,7 +53,7 @@ fi
|
|||
### Wallpaper colors
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
n=${#HOME}
|
||||
|
@ -85,6 +85,8 @@ case "$LANG" in
|
|||
APPLY_SCHEME="Zastosuj"
|
||||
DELETE="Usuń"
|
||||
DELETE_SCHEME="Usuń schemat kolorów"
|
||||
MONOCHROMATIC="Monochromatyczny"
|
||||
CHOOSE_AND_PICK="Wybierz wariant i pobierz kolor..."
|
||||
GENERATEFROMWP="Generuj z kolorów tapety"
|
||||
LIGHTBG="Jasne tło"
|
||||
DARKBG="Ciemne tło"
|
||||
|
@ -140,6 +142,8 @@ case "$LANG" in
|
|||
APPLY_SCHEME="Apply colorscheme"
|
||||
DELETE="Delete"
|
||||
DELETE_SCHEME="Delete colorscheme"
|
||||
MONOCHROMATIC="Monochromatic"
|
||||
CHOOSE_AND_PICK="Choose variant and pick color..."
|
||||
GENERATEFROMWP="Generate from wallpaper colors"
|
||||
LIGHTBG="Light Background"
|
||||
DARKBG="Dark Background"
|
||||
|
@ -319,6 +323,15 @@ if pgrep -u $USER -af "conky.*mbcolor" >/dev/null; then
|
|||
out+=("<big><span bgcolor='$WINCLR' bgalpha='${bga}%'> <span fgcolor='$CLR'></span> <span fgcolor='$CLR0'></span> <span fgcolor='$CLR1'></span> <span fgcolor='$CLR2'></span> </span></big> $REGENERATE,^checkout(regenconky)")
|
||||
out2+=("^tag(regenconky)")
|
||||
out2+=("^sep($REGENERATE)")
|
||||
out2+=("^sep($MONOCHROMATIC)")
|
||||
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
|
||||
out2+=("<big></big> $DARKBG...,conkyctl mono pick dark")
|
||||
out2+=("<big></big> $LIGHTBG...,conkyctl mono pick light")
|
||||
|
||||
out2+=("^sep($GENERATEFROMWP)")
|
||||
out2+=("<big><span bgcolor='${w[-1]}' fgcolor='${w[0]}'> $LIGHTBG <span fgcolor='${w[4]}'></span> <span fgcolor='${w[5]}'></span> </span></big>,w2theme conky light;$me")
|
||||
out2+=("<big><span bgcolor='${w[0]}' fgcolor='${w[-1]}'> $DARKBG <span fgcolor='${w[-4]}'></span> <span fgcolor='${w[-5]}'></span> </span></big>,w2theme conky dark;$me")
|
||||
|
||||
out2+=("^sep($SYSTEM_SCHEMES)")
|
||||
n=1
|
||||
while IFS="|" read -r winclr clr clr0 clr1 clr2 wintrans outline shades bord stip scheme_name
|
||||
|
@ -348,9 +361,7 @@ if pgrep -u $USER -af "conky.*mbcolor" >/dev/null; then
|
|||
done < <(tail -n +2 "$USERSCHEMES")
|
||||
|
||||
|
||||
out2+=("^sep($GENERATEFROMWP)")
|
||||
out2+=("<big><span bgcolor='${w[-1]}' fgcolor='${w[0]}'> $LIGHTBG <span fgcolor='${w[4]}'></span> <span fgcolor='${w[5]}'></span> </span></big>,w2theme conky light;$me")
|
||||
out2+=("<big><span bgcolor='${w[0]}' fgcolor='${w[-1]}'> $DARKBG <span fgcolor='${w[-4]}'></span> <span fgcolor='${w[-5]}'></span> </span></big>,w2theme conky dark;$me")
|
||||
|
||||
|
||||
out+=("^sep()")
|
||||
|
||||
|
@ -487,7 +498,7 @@ if [[ "$1" == "-s" ]]; then
|
|||
MENU_PADDING_TOP=$((jgtools_padding + 150))
|
||||
|
||||
#WALLPAPER
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
THUMBDIR="$HOME/.cache/colorizer/thumbs"
|
||||
mkdir -p ${THUMBDIR}
|
||||
NAME=${WALLPATH////_}
|
||||
|
|
|
@ -25,7 +25,7 @@ USERSCHEMES="$HOME/.config/colorizer/menus/userschemes.csv"
|
|||
### Wallpaper colors
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
n=${#HOME}
|
||||
|
@ -89,6 +89,8 @@ case "$LANG" in
|
|||
WIDE="szerokie"
|
||||
NORMAL="normalne"
|
||||
TIGHT="wąskie"
|
||||
MONOCHROMATIC="Monochromatyczny"
|
||||
CHOOSE_AND_PICK="Wybierz wariant i pobierz kolor..."
|
||||
GENERATEFROMWP="<i>Generuj z kolorów tapety...</i>"
|
||||
LIGHTBG="Jasne tło"
|
||||
DARKBG="Ciemne tło"
|
||||
|
@ -171,6 +173,8 @@ case "$LANG" in
|
|||
WIDE="wide"
|
||||
NORMAL="normal"
|
||||
TIGHT="tight"
|
||||
MONOCHROMATIC="Monochromatic"
|
||||
CHOOSE_AND_PICK="Choose variant and pick color..."
|
||||
GENERATEFROMWP="<i>Generate from wallpaper colors...</i>"
|
||||
LIGHTBG="Light Background"
|
||||
DARKBG="Dark Background"
|
||||
|
@ -281,11 +285,11 @@ out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
|
|||
|
||||
out3+=("^tag(mborder)")
|
||||
out3+=("^sep($BORDER)")
|
||||
for i in 0 1 2 3 4 5 6 8 10 12; do [[ "$jgtools_border" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%3s</tt></b>,%s" "$i" "mb-setvar jgtools_border=${i};$me")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "mb-setvar jgtools_border=${i};$me")");done
|
||||
for i in 0 1 2 3 4 5 6 8 10 12; do [[ "$jgtools_border" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%3s</tt></b>,%s" "$i" "jgctl border ${i}")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "jgctl border ${i}")");done
|
||||
|
||||
out3+=("^tag(mpadding)")
|
||||
out3+=("^sep($PADDING)")
|
||||
for i in 0 2 4 6 8 10 12 14 16 18 20 22 24 28 32 40; do [[ "$jgtools_padding" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%3s</tt></b>,%s" "$i" "mb-setvar jgtools_padding=${i};$me")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "mb-setvar jgtools_padding=${i};$me")");done
|
||||
for i in 0 2 4 6 8 10 12 14 16 18 20 22 24 28 32 40; do [[ "$jgtools_padding" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%3s</tt></b>,%s" "$i" "jgctl padding ${i}")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "jgctl padding ${i}")");done
|
||||
|
||||
out3+=("^tag(subspacing)")
|
||||
out3+=("^sep($SUBSPACING)")
|
||||
|
@ -334,6 +338,13 @@ out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
|
|||
out+=("<big><span bgcolor='${MBG}'> <span fgcolor='${TBG}'></span> <span fgcolor='${SFG}'></span> <span fgcolor='${SBG}'></span> </span></big> $SCHEMES,^checkout(schemes)")
|
||||
out2+=("^tag(schemes)")
|
||||
out2+=("^sep($SCHEMES)")
|
||||
out2+=("^sep($MONOCHROMATIC)")
|
||||
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
|
||||
out2+=("<big></big> $LIGHTBG...,jgctl mono pick light")
|
||||
out2+=("<big></big> $DARKBG...,jgctl mono pick dark")
|
||||
out2+=("^sep($GENERATEFROMWP)")
|
||||
out2+=("<big><span bgcolor='${w[-3]}'> <span bgcolor='${w[-5]}'> <span bgcolor='${w[-1]}' fgcolor='${w[1]}'> $LIGHTBG </span> </span> </span></big>,w2theme menu light;$me")
|
||||
out2+=("<big><span bgcolor='${w[1]}'> <span bgcolor='${w[4]}'> <span bgcolor='${w[2]}' fgcolor='${w[-2]}'> $DARKBG </span> </span> </span></big>,w2theme menu dark;$me")
|
||||
out2+=("^sep($SYSTEM_SCHEMES)")
|
||||
|
||||
n=1
|
||||
|
@ -382,11 +393,6 @@ out+=("<big><span bgcolor='${MBG}'> <span fgcolor='${TBG}'></span> <span fgco
|
|||
done < <(tail -n +2 "$USERSCHEMES")
|
||||
|
||||
|
||||
|
||||
out2+=("^sep($GENERATEFROMWP)")
|
||||
out2+=("<big><span bgcolor='${w[-3]}'> <span bgcolor='${w[-5]}'> <span bgcolor='${w[-1]}' fgcolor='${w[1]}'> $LIGHTBG </span> </span> </span></big>,w2theme menu light;$me")
|
||||
out2+=("<big><span bgcolor='${w[1]}'> <span bgcolor='${w[4]}'> <span bgcolor='${w[2]}' fgcolor='${w[-2]}'> $DARKBG </span> </span> </span></big>,w2theme menu dark;$me")
|
||||
|
||||
out+=("^sep($FONTS)")
|
||||
out+=("<big></big> $TITLE [ <b>$menu_sep_font_family $menu_sep_font_size</b> ],^checkout(mtitlefont)")
|
||||
out+=("<big></big> $ITEM [ <b>$menu_font_family $menu_font_size</b> ],^checkout(mitemfont)")
|
||||
|
@ -589,7 +595,7 @@ if [[ "$1" == "-s" ]]; then
|
|||
JGWIDTH=$((jgtools_padding + 270 + jgtools_padding))
|
||||
MENU_PADDING_TOP=$((jgtools_padding + 150))
|
||||
#WALLPAPER
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
THUMBDIR="$HOME/.cache/colorizer/thumbs"
|
||||
mkdir -p ${THUMBDIR}
|
||||
NAME=${WALLPATH////_}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# colorizer - set of tools for Mabox (auto)theming
|
||||
# Copyright (C) 2022-2023 Daniel Napora <napcok@gmail.com>
|
||||
# Copyright (C) 2022-2024 Daniel Napora <napcok@gmail.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -26,7 +26,7 @@ USERTHEMES="$HOME/.config/colorizer/openbox/userthemes.csv"
|
|||
### Wallpaper colors
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
n=${#HOME}
|
||||
|
@ -71,6 +71,8 @@ case "$LANG" in
|
|||
DELETE="Usuń"
|
||||
DELETE_THEME="Usuń motyw"
|
||||
OBTHEME_LBL="Motyw OpenBox"
|
||||
MONOCHROMATIC="Monochromatyczny"
|
||||
CHOOSE_AND_PICK="Wybierz wariant i pobierz kolor..."
|
||||
GENERATEFROMWP="Generuj z kolorów tapety..."
|
||||
LIGHTBG=" Jasne tło"
|
||||
DARKBG="Ciemne tło"
|
||||
|
@ -154,6 +156,8 @@ case "$LANG" in
|
|||
DELETE="Delete"
|
||||
DELETE_THEME="Delete theme"
|
||||
OBTHEME_LBL="OpenBox theme"
|
||||
MONOCHROMATIC="Monochromatic"
|
||||
CHOOSE_AND_PICK="Choose variant and pick color..."
|
||||
GENERATEFROMWP="Generate from wallpaper colors..."
|
||||
LIGHTBG="Light Background"
|
||||
DARKBG="Dark Background"
|
||||
|
@ -208,7 +212,7 @@ case "$LANG" in
|
|||
BORDER="Window Border"
|
||||
BORDER_PX="Border (px)"
|
||||
ACTIVE_BORDER="Active Border"
|
||||
INACTIVE_BORDER="Inactiva Border"
|
||||
INACTIVE_BORDER="Inactive Border"
|
||||
HANDLEWIDTH="Handle Width"
|
||||
ACTIVEHANDLE="Active Handle"
|
||||
YES="Yes"
|
||||
|
@ -276,7 +280,9 @@ getvaluesrc() {
|
|||
FNAME=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:name' "$cfg")
|
||||
NDSLIMC=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:titleLayout' "$cfg")
|
||||
WEIGHT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:weight' "$cfg")
|
||||
WEIGHT_INACT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:weight' "$cfg")
|
||||
SLANT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:slant' "$cfg")
|
||||
SLANT_INACT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:slant' "$cfg")
|
||||
}
|
||||
|
||||
|
||||
|
@ -356,6 +362,16 @@ out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
|
|||
out+=("<big><span fgcolor='${ABGTO}'></span> <span fgcolor='${ABG}'></span> <span fgcolor='${ABGTO}'></span></big> $THEMES,^checkout(schemes)")
|
||||
out2+=("^tag(schemes)")
|
||||
out2+=("^sep($THEMES)")
|
||||
out2+=("^sep($MONOCHROMATIC)")
|
||||
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
|
||||
out2+=("<big></big> $LIGHTBG...,obtctl mono pick light")
|
||||
out2+=("<big></big> $DARKBG...,obtctl mono pick dark")
|
||||
out2+=("^sep(<i>$GENERATEFROMWP</i>)")
|
||||
out2+=("<big><span bgcolor='${w[-2]}' fgcolor='#222222'> <span bgcolor='${w[-4]}'> </span> $LIGHTBG <span bgcolor='${w[-4]}'> </span> </span></big>,w2theme ob light;$me")
|
||||
out2+=("<big><span bgcolor='${w[2]}' fgcolor='#E5E5E5'> <span bgcolor='${w[4]}'> </span> $DARKBG <span bgcolor='${w[4]}'> </span> </span></big>,w2theme ob dark;$me")
|
||||
out2+=("^sep()")
|
||||
out2+=("<big></big> $RANDOMIZE,obtctl randomizer;$me")
|
||||
|
||||
out2+=("^sep($SYSTEM_THEMES)")
|
||||
n=1
|
||||
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel buttons fsize fname ndslimc weight slant scheme_name
|
||||
|
@ -371,7 +387,7 @@ out+=("<big><span fgcolor='${ABGTO}'></span> <span fgcolor='${ABG}'></span
|
|||
done < <(tail -n +2 "$SYSTHEMES")
|
||||
out2+=("^sep($YOUR_THEMES)")
|
||||
out2+=("<big></big> $SAVE_CURRTHEME,obtctl savetheme '${currvalues}';$me")
|
||||
out2+=("<big></big> $OPEN_THEMEFILE,xdg-open $USERSCHEMES")
|
||||
out2+=("<big></big> $OPEN_THEMEFILE,xdg-open $USERTHEMES")
|
||||
out2+=("^sep()")
|
||||
n=1
|
||||
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel buttons fsize fname ndslimc weight slant scheme_name
|
||||
|
@ -388,11 +404,7 @@ out+=("<big><span fgcolor='${ABGTO}'></span> <span fgcolor='${ABG}'></span
|
|||
out3+=("<big></big> $DELETE_THEME: <i>${scheme_name}</i>,obtctl delscheme ${n};$me")
|
||||
done < <(tail -n +2 "$USERTHEMES")
|
||||
|
||||
out2+=("^sep(<i>$GENERATEFROMWP</i>)")
|
||||
out2+=("<big><span bgcolor='${w[-2]}' fgcolor='#222222'> <span bgcolor='${w[-4]}'> </span> $LIGHTBG <span bgcolor='${w[-4]}'> </span> </span></big>,w2theme ob light;$me")
|
||||
out2+=("<big><span bgcolor='${w[2]}' fgcolor='#E5E5E5'> <span bgcolor='${w[4]}'> </span> $DARKBG <span bgcolor='${w[4]}'> </span> </span></big>,w2theme ob dark;$me")
|
||||
out2+=("^sep()")
|
||||
out2+=("<big></big> $RANDOMIZE,obtctl randomizer;$me")
|
||||
|
||||
|
||||
out+=("^sep($TITLEBAR)")
|
||||
out+=("<big></big> $TITLEBAR_FONT [ <b> ${FNAME} ${FSIZE} </b> ],^checkout(titletext)")
|
||||
|
@ -406,6 +418,9 @@ out+=("^sep($INACTIVE_WINDOW)")
|
|||
out+=("<tt><span bgcolor='$NBG'> </span></tt> $INACTIVE_BG,^pipe(mbclr '$NBG' obtctl clrnormalbg '${INACTIVE_BG}' '$me')")
|
||||
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$NBG'> </span><span bgcolor='$NBGTO'> </span></tt> $INACTIVE_BG_TO,^pipe(mbclr '$NBGTO' obtctl clrnormalbgto '${INACTIVE_BG_TO}' '$me')")
|
||||
out+=("<tt><span bgcolor='$NBG' fgcolor='$NFG'> <b>title</b> </span></tt> $TEXT_COLOR,^pipe(mbclr '$NFG' obtctl inactivetextcolor '${TEXT} ${INACTIVE_FG}' '$me')")
|
||||
out+=("^sep()")
|
||||
[[ "$WEIGHT_INACT" =~ .*"old" ]] && out+=("<big></big> <b>$BOLD</b>,obtctl fontweight_inactive Normal;$me") || out+=("<big></big> <b>$BOLD</b>,obtctl fontweight_inactive Bold;$me")
|
||||
[[ "$SLANT_INACT" =~ .*"talic" ]] && out+=("<big></big> <i>$ITALIC</i>,obtctl fontslant_inactive Normal;$me") || out+=("<big></big> <i>$ITALIC</i>,obtctl fontslant_inactive Italic;$me")
|
||||
|
||||
out+=("^sep(Gradient)")
|
||||
out+=("<big></big> $GRADIENT_TYPE [ <b>${GRAD}</b> ],^checkout(gradient)")
|
||||
|
@ -413,8 +428,8 @@ out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span
|
|||
out+=("<big></big> $GRADIENT_REVERSE,obtctl activegradient '${ABGTO}' '${ABG}';$me")
|
||||
|
||||
out+=("^sep($BORDER)")
|
||||
out+=("<tt><span bgcolor='$ALINE'> </span></tt> $ACTIVE_BORDER,^pipe(mbclr '$ALINE' obtctl activeborderColor '${ACTIVE_BORDER_COLOR}' '$me')")
|
||||
out+=("<tt><span bgcolor='$NLINE'> </span></tt> $INACTIVE_BORDER,^pipe(mbclr '$NLINE' obtctl inactiveborderColor '${INACTIVE_BORDER_COLOR}' '$me')")
|
||||
out+=("<tt><span bgcolor='$ALINE'> </span></tt> $ACTIVE_BORDER,^pipe(mbclr '$ALINE' obtctl activeborderColor '${ACTIVE_BORDER}' '$me')")
|
||||
out+=("<tt><span bgcolor='$NLINE'> </span></tt> $INACTIVE_BORDER,^pipe(mbclr '$NLINE' obtctl inactiveborderColor '${INACTIVE_BORDER}' '$me')")
|
||||
out+=("<big></big> $BORDER [ <b>$BORD</b> ],^checkout(border)")
|
||||
out+=("$HANDLEWIDTH [ <b>$HANDLE</b> ],^checkout(handlewidth)")
|
||||
#out+=("$ACTIVEHANDLE? [ <b>$AHANDLE</b> ],^checkout(handle)")
|
||||
|
@ -428,7 +443,7 @@ out+=("^sep($RESET)")
|
|||
out+=(" $RESET_THEME,^checkout(resettheme)")
|
||||
out2+=("^tag(resettheme)")
|
||||
out2+=("^sep($AREYOUSURE)")
|
||||
out2+=("$YES,obtctl reset;$me")
|
||||
out2+=("$YES,obtctl resetMBcolors;$me")
|
||||
fi
|
||||
#out+=("Edit...,xdg-open ${THEMERC}")
|
||||
|
||||
|
@ -449,8 +464,14 @@ out2+=("Dots,obtctl buttons dots;$me")
|
|||
out2+=("^sep()")
|
||||
out2+=("Big 12px,obtctl buttons big-12;$me")
|
||||
out2+=("Big 14px,obtctl buttons big-14;$me")
|
||||
out2+=("^sep($TEXTALIGN)")
|
||||
[[ "$TXTJUST" = left ]] && out2+=("<big>綠 </big> $LEFT,obtctl textjustify left;$me")||out2+=("<big>祿 </big> $LEFT,obtctl textjustify left;$me")
|
||||
[[ "$TXTJUST" = center ]] && out2+=("<big>綠 </big> $CENTER,obtctl textjustify center;$me")||out2+=("<big>祿 </big> $CENTER,obtctl textjustify center;$me")
|
||||
[[ "$TXTJUST" = right ]] && out2+=("<big>綠 </big> $RIGHT,obtctl textjustify right;$me")||out2+=("<big>祿 </big> $RIGHT,obtctl textjustify right;$me")
|
||||
|
||||
out2+=("^sep($BUTTONS_LAYOUT)")
|
||||
[[ "$NDSLIMC" == NDSLIMC ]] && out2+=("<big>綠</big> <tt>full </tt> <b>NDSLIMC</b> (default),obtctl ndslimc NDSLIMC;$me") || out2+=("<big>祿</big> <tt>full </tt> <b>NDSLIMC</b> (default),obtctl ndslimc NDSLIMC;$me")
|
||||
[[ "$NDSLIMC" == DSLIMC ]] && out2+=("<big>綠</big> <tt>full (no icon)</tt> <b>DSLIMC</b>,obtctl ndslimc DSLIMC;$me") || out2+=("<big>祿</big> <tt>full (no icon)</tt> <b>DSLIMC</b>,obtctl ndslimc DSLIMC;$me")
|
||||
[[ "$NDSLIMC" == NLIMC ]] && out2+=("<big>綠</big> <tt>mini </tt> <b>NLIMC</b>,obtctl ndslimc NLIMC;$me") || out2+=("<big>祿</big> <tt>mini </tt> <b>NLIMC</b>,obtctl ndslimc NLIMC;$me")
|
||||
[[ "$NDSLIMC" == LIMC ]] && out2+=("<big>綠</big> <tt>mini (no icon)</tt> <b>LIMC</b>,obtctl ndslimc LIMC;$me") || out2+=("<big>祿</big> <tt>mini (no icon)</tt> <b>LIMC</b>,obtctl ndslimc LIMC;$me")
|
||||
[[ "$NDSLIMC" == CMIL ]] && out2+=("<big>綠</big> <tt>crazy </tt> <b>CMIL</b>,obtctl ndslimc CMIL;$me") || out2+=("<big>祿</big> <tt>crazy </tt> <b>CMIL</b>,obtctl ndslimc CMIL;$me")
|
||||
|
@ -462,10 +483,6 @@ out2+=("^sep(M:<small> Maximize</small>)")
|
|||
out2+=("^sep(C:<small> Close</small>)")
|
||||
out2+=("^sep(S:<small> Shade (Roll up)</small>)")
|
||||
out2+=("^sep(D:<small> Omnipresent (On all desktops)</small>)")
|
||||
out2+=("^sep($TEXTALIGN)")
|
||||
[[ "$TXTJUST" = left ]] && out2+=("<big>綠 </big> $LEFT,obtctl textjustify left;$me")||out2+=("<big>祿 </big> $LEFT,obtctl textjustify left;$me")
|
||||
[[ "$TXTJUST" = center ]] && out2+=("<big>綠 </big> $CENTER,obtctl textjustify center;$me")||out2+=("<big>祿 </big> $CENTER,obtctl textjustify center;$me")
|
||||
[[ "$TXTJUST" = right ]] && out2+=("<big>綠 </big> $RIGHT,obtctl textjustify right;$me")||out2+=("<big>祿 </big> $RIGHT,obtctl textjustify right;$me")
|
||||
|
||||
#TEXT
|
||||
out2+=("^tag(titletext)")
|
||||
|
@ -674,7 +691,7 @@ JGWIDTH=$((jgtools_padding + 270 + jgtools_padding))
|
|||
MENU_PADDING_TOP=$((jgtools_padding + 150))
|
||||
|
||||
# WALLPAPER IMAGE
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
THUMBDIR="$HOME/.cache/colorizer/thumbs"
|
||||
mkdir -p ${THUMBDIR}
|
||||
NAME=${WALLPATH////_}
|
||||
|
|
|
@ -33,7 +33,7 @@ THEMERC=~/.config/pyradio/themes/mbcolors.pyradio-theme
|
|||
# get wallpaper color palette
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
|
@ -210,7 +210,7 @@ if [[ "$1" == "-s" ]]; then
|
|||
MENU_PADDING_TOP=$((jgtools_padding + 150))
|
||||
|
||||
#WALLPAPER
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
THUMBDIR="$HOME/.cache/colorizer/thumbs"
|
||||
mkdir -p ${THUMBDIR}
|
||||
NAME=${WALLPATH////_}
|
||||
|
|
131
bin/conkyctl
131
bin/conkyctl
|
@ -282,6 +282,19 @@ restartone () {
|
|||
kill ${1}
|
||||
startone ${1}
|
||||
}
|
||||
toggleone () {
|
||||
if pgrep -u $USER -af "conky .*${1}" >/dev/null; then
|
||||
kill "${1}"
|
||||
else
|
||||
CCFG=$(ls ~/.config/conky/${1}*.conkyrc)
|
||||
#notify-send.sh "Conky" "$CCFG"
|
||||
if test -f "$CCFG";
|
||||
then
|
||||
startone "$CCFG"
|
||||
fi
|
||||
#conky -c "${i}" &
|
||||
fi
|
||||
}
|
||||
makemoveableall () {
|
||||
wmctrl -k on
|
||||
sd "own_window_type.*$" "own_window_type = 'normal'," ${CONKYDIR}/*mbcolor.conkyrc
|
||||
|
@ -406,6 +419,8 @@ languages () {
|
|||
NEWTHEME="Nowy motyw kolorów..."
|
||||
SAVENEWTHEME="utwórz nowy motyw..."
|
||||
SAVE_CURRSCHEME="Zapisz aktualną kolorystykę jako..."
|
||||
MONOCHROMATIC="Monochromatyczny"
|
||||
CHOOSE_AND_PICK="Wybierz wariant i pobierz kolor..."
|
||||
LIGHTBG="Jasne tło"
|
||||
DARKBG="Ciemne tło"
|
||||
RESETCOLORS="Przywróć domyślne kolory"
|
||||
|
@ -472,6 +487,8 @@ languages () {
|
|||
NEWTHEME="New Color scheme..."
|
||||
SAVENEWTHEME="from current colors..."
|
||||
SAVE_CURRSCHEME="Save current colors as..."
|
||||
MONOCHROMATIC="Monochromatic"
|
||||
CHOOSE_AND_PICK="Choose variant and pick color..."
|
||||
LIGHTBG="Light Background"
|
||||
DARKBG="Dark Background"
|
||||
RESETCOLORS="Restore default colors"
|
||||
|
@ -538,6 +555,8 @@ languages () {
|
|||
NEWTHEME="New Color scheme..."
|
||||
SAVENEWTHEME="from current colors..."
|
||||
SAVE_CURRSCHEME="Save current colors as..."
|
||||
MONOCHROMATIC="Monochromatic"
|
||||
CHOOSE_AND_PICK="Choose variant and pick color..."
|
||||
LIGHTBG="Light Background"
|
||||
DARKBG="Dark Background"
|
||||
RESETCOLORS="Restore default colors"
|
||||
|
@ -584,7 +603,7 @@ single () {
|
|||
### Wallpaper colors
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
n=${#HOME}
|
||||
|
@ -741,7 +760,13 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
|
|||
#if [ "$WINTRANS" == false ];then
|
||||
out+=("<span bgcolor='#282828'> <span fgcolor='#ebdbb2'></span> <span fgcolor='#98971a'></span> <span fgcolor='#d79921'></span> <span fgcolor='#cc241d'></span> </span> $COLORSCHEME,^checkout(regensingle)")
|
||||
out2+=("^tag(regensingle)")
|
||||
|
||||
out2+=("^sep($MONOCHROMATIC)")
|
||||
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
|
||||
out2+=("<big></big> $DARKBG...,conkyctl monoone pick dark ${1}")
|
||||
out2+=("<big></big> $LIGHTBG...,conkyctl monoone pick light ${1}")
|
||||
out2+=("^sep($GENFROMWP)")
|
||||
out2+=("<big><span bgcolor='${w[-1]}' fgcolor='${w[0]}'> $LIGHTBG <span fgcolor='${w[4]}'></span> <span fgcolor='${w[5]}'></span> </span></big>,w2theme conkyone light ${1}")
|
||||
out2+=("<big><span bgcolor='${w[0]}' fgcolor='${w[-1]}'> $DARKBG <span fgcolor='${w[-4]}'></span> <span fgcolor='${w[-5]}'></span> </span></big>,w2theme conkyone dark ${1}")
|
||||
out2+=("^sep($APPLY_THEME)")
|
||||
out2+=("^sep($SYSTEM_SCHEMES)")
|
||||
n=1
|
||||
|
@ -767,9 +792,7 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
|
|||
|
||||
done < <(tail -n +2 "$USERSCHEMES")
|
||||
|
||||
out2+=("^sep($GENFROMWP)")
|
||||
out2+=("<big><span bgcolor='${w[-1]}' fgcolor='${w[0]}'> $LIGHTBG <span fgcolor='${w[4]}'></span> <span fgcolor='${w[5]}'></span> </span></big>,w2theme conkyone light ${1}")
|
||||
out2+=("<big><span bgcolor='${w[0]}' fgcolor='${w[-1]}'> $DARKBG <span fgcolor='${w[-4]}'></span> <span fgcolor='${w[-5]}'></span> </span></big>,w2theme conkyone dark ${1}")
|
||||
|
||||
|
||||
out+=("^sep()")
|
||||
#fi
|
||||
|
@ -976,16 +999,18 @@ cmdmenu () {
|
|||
title=${name//_/ }
|
||||
#notify-send.sh "${X} ${Y}" "${WIDTH} ${HEIGHT}"
|
||||
# if script exist run it and exit
|
||||
if [ -f "${CONKYDIR}/menuscripts/${name}" ];then
|
||||
bash "${CONKYDIR}/menuscripts/${name}"
|
||||
if [ "$1" != "" ];then
|
||||
if [ -x "${CONKYDIR}/menuscripts/${name}" ];then
|
||||
bash -c "${CONKYDIR}/menuscripts/${name} ${1}"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
# if CSV for menu exist show it
|
||||
if [ -f ${CONKYDIR}/menuscripts/${name}.csv ]; then
|
||||
LINES=$(grep -Ev "^#|^$" ${CONKYDIR}/menuscripts/${name}.csv|wc -l)
|
||||
#notify-send.sh "$LINES"
|
||||
if [ ${LINES} == 0 ]; then
|
||||
contextmenu
|
||||
: # do nothing, was contextmenu
|
||||
fi
|
||||
if [ ${LINES} == 1 ]; then
|
||||
# 1 line - execute command (one line menu make no sense)
|
||||
|
@ -1001,7 +1026,7 @@ cmdmenu () {
|
|||
CUSTOMCOMMANDS=". ${CONKYDIR}/menuscripts/${name}.csv"
|
||||
fi
|
||||
else
|
||||
contextmenu
|
||||
: # do nothing
|
||||
fi
|
||||
|
||||
# otherwise build and show standalone menu with custom commands
|
||||
|
@ -1023,7 +1048,7 @@ cmdmenu () {
|
|||
CONFIG_FILE=$(mktemp)
|
||||
MENU_ITEMS=$(mktemp)
|
||||
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
|
||||
POSITION_MODE=${1:-pointer}
|
||||
POSITION_MODE=pointer
|
||||
#POSITION_MODE=fixed
|
||||
HIDE_BACK_ITEMS=1
|
||||
menu_gradient_pos=none
|
||||
|
@ -1229,6 +1254,89 @@ baseconky_info() {
|
|||
esac
|
||||
colorizer-conky -s
|
||||
}
|
||||
mono () {
|
||||
lighten=(0.92 0.8 0.65 0.45 0.28)
|
||||
darken=(0.9 0.74 0.54 0.38 0.18)
|
||||
|
||||
if [ "${1}" == pick ];then
|
||||
color=$(gpick -pso 2>/dev/null)
|
||||
else
|
||||
color="${1}"
|
||||
fi
|
||||
|
||||
if [ "${#color}" == 7 ];then
|
||||
for i in "${lighten[@]}"
|
||||
do
|
||||
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
|
||||
done
|
||||
pal+=("$color")
|
||||
|
||||
for i in "${darken[@]}"
|
||||
do
|
||||
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
|
||||
done
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#colorize Conky
|
||||
if [ "$2" == "dark" ];then
|
||||
win_bgcolor_all "${pal[10]}"
|
||||
default_color_all "${pal[0]}"
|
||||
color0_all "${pal[3]}"
|
||||
color1_all "${pal[4]}"
|
||||
color2_all "${pal[5]}"
|
||||
else # light
|
||||
win_bgcolor_all "${pal[4]}"
|
||||
default_color_all "${pal[9]}"
|
||||
color0_all "${pal[7]}"
|
||||
color1_all "${pal[8]}"
|
||||
color2_all "${pal[1]}"
|
||||
fi
|
||||
colorizer-conky -s 2>/dev/null
|
||||
}
|
||||
monoone () {
|
||||
lighten=(0.92 0.8 0.65 0.45 0.28)
|
||||
darken=(0.9 0.74 0.54 0.38 0.18)
|
||||
|
||||
if [ "${1}" == pick ];then
|
||||
color=$(gpick -pso 2>/dev/null)
|
||||
else
|
||||
color="${1}"
|
||||
fi
|
||||
|
||||
if [ "${#color}" == 7 ];then
|
||||
for i in "${lighten[@]}"
|
||||
do
|
||||
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
|
||||
done
|
||||
pal+=("$color")
|
||||
|
||||
for i in "${darken[@]}"
|
||||
do
|
||||
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
|
||||
done
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# colorize one Conky
|
||||
if [ "$2" == "dark" ];then
|
||||
win_bgcolor "${pal[10]}" "${3}"
|
||||
default_color "${pal[0]}" "${3}"
|
||||
color0 "${pal[3]}" "${3}"
|
||||
color1 "${pal[4]}" "${3}"
|
||||
color2 "${pal[5]}" "${3}"
|
||||
else # light
|
||||
win_bgcolor "${pal[4]}" "${3}"
|
||||
default_color "${pal[9]}" "${3}"
|
||||
color0 "${pal[7]}" "${3}"
|
||||
color1 "${pal[8]}" "${3}"
|
||||
color2 "${pal[1]}" "${3}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
transparent_all) transparent_all "$2";;
|
||||
transparent) transparent "$2" "$3";;
|
||||
|
@ -1267,6 +1375,7 @@ case "$1" in
|
|||
startone) startone "$2";;
|
||||
startall) startall;;
|
||||
kill) kill "$2";;
|
||||
toggleone) toggleone "$2";;
|
||||
restartone) restartone "$2";;
|
||||
contextmenu) contextmenu;;
|
||||
cmdmenu) cmdmenu;;
|
||||
|
@ -1282,5 +1391,7 @@ case "$1" in
|
|||
netdevice) netdevice ;;
|
||||
convert_from_old) convert_from_old "$2";;
|
||||
baseconky_info) baseconky_info;;
|
||||
mono) mono "$2" "$3";;
|
||||
monoone) monoone "$2" "$3" "$4";;
|
||||
*) : ;;
|
||||
esac
|
||||
|
|
|
@ -0,0 +1,70 @@
|
|||
#!/bin/bash
|
||||
|
||||
# gtkctl - GTK widget (theme), Icons settings for Mabox
|
||||
|
||||
GTK2RC="$HOME"/.gtkrc-2.0
|
||||
GTK3RC="$HOME"/.config/gtk-3.0/settings.ini
|
||||
|
||||
|
||||
get_theme(){
|
||||
GTK_THEME=( $(grep "gtk-theme-name" ${GTK2RC} | cut -d'"' -f2) )
|
||||
echo ${GTK_THEME}
|
||||
}
|
||||
|
||||
get_icons(){
|
||||
GTK_ICON=( $(grep "gtk-icon-theme-name" ${GTK2RC} | cut -d'"' -f2) )
|
||||
echo ${GTK_ICON}
|
||||
}
|
||||
|
||||
|
||||
|
||||
theme(){
|
||||
# set GTK theme
|
||||
:
|
||||
}
|
||||
|
||||
icons(){
|
||||
# set icon theme
|
||||
sd "^gtk-icon-theme-name=.*" "gtk-icon-theme-name=\"${1}\"" ${GTK2RC}
|
||||
sd "^gtk-icon-theme-name=.*" "gtk-icon-theme-name=${1}" ${GTK3RC}
|
||||
reload-gtk
|
||||
}
|
||||
|
||||
papcolor(){
|
||||
ICON_DIR="$HOME/.local/share/icons"
|
||||
case "$1" in
|
||||
adwaita|black|blue|bluegrey|breeze|brown|carmine|cyan|darkcyan|deeporange|green|grey|indigo|magenta|nordic|orange|palebrown|paleorange|pink|red|teal|violet|white|yaru|yellow)
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
esac
|
||||
|
||||
if [ -f "${ICON_DIR}/Papirus-Mabox-$1/index.theme" ];then
|
||||
TITLE="Icons theme changed!"
|
||||
TEXT="Papirus folders color: <b>${1^}</b>"
|
||||
icons Papirus-Mabox-$1
|
||||
notify-send.sh -u normal -i "${ICON_DIR}/Papirus-Mabox-$1/64x64/places/folder-linux.svg" "$TITLE" "$TEXT"
|
||||
|
||||
else
|
||||
TITLE="Please wait..."
|
||||
TEXT="Preparing ${1} folder color icons"
|
||||
TITLE2="Success!"
|
||||
TEXT2="${1^} icons color variant generated successfully"
|
||||
notify-send.sh -u critical -i /usr/share/icons/Papirus/64x64/places/folder-${1}.svg -R /tmp/papicon "$TITLE" "$TEXT"
|
||||
papirus-folder-color.sh -c ${1}
|
||||
notify-send.sh -u normal -i "${ICON_DIR}/Papirus-Mabox-$1/64x64/places/folder-linux.svg" -R /tmp/papicon "$TITLE2" "$TEXT2"
|
||||
icons Papirus-Mabox-$1
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
get_theme)get_theme;;
|
||||
get_icons)get_icons "$2";;
|
||||
theme)theme "$2";;
|
||||
icons)icons "$2";;
|
||||
papcolor)papcolor "$2";;
|
||||
*):;;
|
||||
esac
|
102
bin/jgctl
102
bin/jgctl
|
@ -24,6 +24,7 @@ reset () {
|
|||
}
|
||||
resetMBcolors() {
|
||||
mb-setvar jgmenu_theme=MBcolors
|
||||
mb-setvar item_height_factor=200
|
||||
reset
|
||||
case "$1" in
|
||||
show)
|
||||
|
@ -265,25 +266,53 @@ tweak () {
|
|||
sizing)
|
||||
case "$2" in
|
||||
tight)
|
||||
mb-setvar jgtools_padding=0
|
||||
mb-setvar jgtools_padding=4
|
||||
mb-setvar jgtools_border=0
|
||||
mb-setvar submenu_spacing=1
|
||||
mb-setvar submenu_spacing=2
|
||||
mb-setvar arrow_string=
|
||||
;;
|
||||
normal)
|
||||
mb-setvar jgtools_padding=8
|
||||
mb-setvar jgtools_border=0
|
||||
mb-setvar submenu_spacing=2
|
||||
mb-setvar jgtools_border=3
|
||||
mb-setvar submenu_spacing=3
|
||||
mb-setvar arrow_string=
|
||||
;;
|
||||
wide)
|
||||
mb-setvar jgtools_padding=20
|
||||
mb-setvar jgtools_border=4
|
||||
mb-setvar submenu_spacing=4
|
||||
mb-setvar jgtools_border=6
|
||||
mb-setvar submenu_spacing=6
|
||||
mb-setvar arrow_string=
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*):;;
|
||||
esac
|
||||
[[ "$3" == "menu" ]] && colorizer-menus -s 2>/dev/null
|
||||
}
|
||||
|
||||
t_search_field () {
|
||||
[[ $search_field == "false" ]] && mb-setvar search_field=true || mb-setvar search_field=false
|
||||
mb-jgtools main ipc
|
||||
}
|
||||
t_apps_in_submenu () {
|
||||
[[ $apps_in_submenu == "true" ]] && mb-setvar apps_in_submenu=false || mb-setvar apps_in_submenu=true
|
||||
mb-jgtools main ipc
|
||||
}
|
||||
t_icons () {
|
||||
[[ $jgmenu_use_icons == "true" ]] && mb-setvar jgmenu_use_icons=false || mb-setvar jgmenu_use_icons=true
|
||||
mb-jgtools main ipc
|
||||
}
|
||||
border () {
|
||||
[[ "$jgtools_padding" -lt "${1}" ]] && mb-setvar jgtools_padding=${1}
|
||||
mb-setvar jgtools_border=${1}
|
||||
colorizer-menus -s
|
||||
}
|
||||
padding () {
|
||||
[[ "$jgtools_border" -gt "${1}" ]] && mb-setvar jgtools_border=${1}
|
||||
mb-setvar jgtools_padding=${1}
|
||||
colorizer-menus -s
|
||||
}
|
||||
|
||||
opacity () {
|
||||
# jgctl opacity element value
|
||||
read FUNC B COLOR OPACITY REST<<< "$(grep ${1} ${THEMERC})"
|
||||
|
@ -347,6 +376,59 @@ done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
|||
delscheme() {
|
||||
sed -i ${1}d "$HOME/.config/colorizer/menus/userschemes.csv"
|
||||
}
|
||||
mono () {
|
||||
lighten=(0.92 0.8 0.65 0.45 0.28)
|
||||
darken=(0.9 0.74 0.54 0.38 0.18)
|
||||
|
||||
if [ "${1}" == pick ];then
|
||||
color=$(gpick -pso 2>/dev/null)
|
||||
else
|
||||
color="${1}"
|
||||
fi
|
||||
|
||||
if [ "${#color}" == 7 ];then
|
||||
for i in "${lighten[@]}"
|
||||
do
|
||||
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
|
||||
done
|
||||
pal+=("$color")
|
||||
|
||||
for i in "${darken[@]}"
|
||||
do
|
||||
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
|
||||
done
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# colorize menu
|
||||
if [ "$2" == "dark" ];then
|
||||
#notify-send.sh "$1" "gen_menu"
|
||||
color_menu_bg "${pal[8]}"
|
||||
color_menu_bg_to "${pal[7]}"
|
||||
color_menu_border "${pal[10]}"
|
||||
color_title_bg "${pal[9]}"
|
||||
color_title_border "${pal[9]}"
|
||||
color_title_fg "${pal[2]}"
|
||||
color_norm_fg "${pal[3]}"
|
||||
color_sel_bg "${pal[6]}"
|
||||
color_sel_fg "${pal[1]}"
|
||||
color_sep_fg "${pal[6]}"
|
||||
else #light
|
||||
color_menu_bg "${pal[2]}"
|
||||
color_menu_bg_to "${pal[3]}"
|
||||
color_menu_border "${pal[1]}"
|
||||
color_title_bg "${pal[3]}"
|
||||
color_title_border "${pal[4]}"
|
||||
color_title_fg "${pal[10]}"
|
||||
color_norm_fg "${pal[8]}"
|
||||
color_sel_bg "${pal[4]}"
|
||||
color_sel_fg "${pal[10]}"
|
||||
color_sep_fg "${pal[3]}"
|
||||
fi
|
||||
colorizer-menus -s 2>/dev/null
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
theme) theme "$2";;
|
||||
reset) reset ;;
|
||||
|
@ -369,8 +451,14 @@ case "$1" in
|
|||
color_sel_fg) color_sel_fg "$2";;
|
||||
color_sel_border) color_sel_border "$2";;
|
||||
accent) accent "$2" "$3";;
|
||||
tweak) tweak "$2" "$3";;
|
||||
tweak) tweak "$2" "$3" "$4";;
|
||||
opacity) opacity "$2" "$3";;
|
||||
t_search_field)t_search_field;;
|
||||
t_apps_in_submenu) t_apps_in_submenu;;
|
||||
t_icons)t_icons;;
|
||||
border)border "$2";;
|
||||
padding)padding "$2";;
|
||||
mono) mono "$2" "$3";;
|
||||
savescheme) savescheme "$2";;
|
||||
applyscheme) applyscheme "$2" "$3";;
|
||||
delscheme) delscheme "$2";;
|
||||
|
|
11
bin/mbclr
11
bin/mbclr
|
@ -61,7 +61,7 @@ main () {
|
|||
#read WALLPAPER<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
|
@ -84,6 +84,12 @@ grays=("#000000" "#0d0d0d" "#1b1b1b" "#282828" "#363636" "#434343" "#515151" "#5
|
|||
accents=("#e93d57" "#c7162b" "#e9633a" "#e95620" "#f4a300" "#e8cc2d" "#3cd425" "#0e8420" "#00d3b7" "#18b0b0" "#3dade9" "#686b6f" "#3584e4" "#916ee4" "#b875dc" "#77216e" "#c748ba" "#e93a9a")
|
||||
|
||||
out+=("^sep($4)")
|
||||
#TU
|
||||
out+=("<big></big> $PICK_FROM_SCREEN,mbclr pixelcolor $2 $3 ${5} ${6}")
|
||||
out+=("<big></big> $SELECT_OR_PICK,mbclr pick $2 $3 ${5} ${6}")
|
||||
|
||||
|
||||
|
||||
if [[ "$2" == "jgctl" ]]; then
|
||||
. $HOME/.config/mabox/mabox.conf
|
||||
case "$jgmenu_theme" in
|
||||
|
@ -144,9 +150,6 @@ out+=("<big></big> $ROTATE_HSL_HUE,^checkout(rotate_hsl)")
|
|||
#out+=("$SHADES_OF_CURRENT <tt><span bgcolor='$1'> </span></tt> (<small>$1</small>),^checkout(curshades)")
|
||||
out+=("^sep($CHANGE_COLOR)")
|
||||
#Current
|
||||
out+=("<big></big> $PICK_FROM_SCREEN,mbclr pixelcolor $2 $3 ${5} ${6}")
|
||||
out+=("<big></big> $SELECT_OR_PICK,mbclr pick $2 $3 ${5} ${6}")
|
||||
out+=("^sep()")
|
||||
out+=("<big><span bgcolor='#e93d57'> </span> <span bgcolor='#f4a300'> </span> <span bgcolor='#3cd425'> </span> <span bgcolor='#3584e4'> </span> <span bgcolor='#e93a9a'> </span></big> $ACCENT_COLORS,^checkout(accents)")
|
||||
out2+=("^tag(accents)")
|
||||
out2+=("^sep($ACCENT_COLORS)")
|
||||
|
|
141
bin/obtctl
141
bin/obtctl
|
@ -57,6 +57,7 @@ resetMBcolors() {
|
|||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:size' -v "9" "$cfg"
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:weight' -v "Bold" "$cfg"
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:slant' -v "Normal" "$cfg"
|
||||
rm ${THEMERC}.bak
|
||||
}
|
||||
|
||||
borderWidth () {
|
||||
|
@ -80,9 +81,13 @@ borderWidth () {
|
|||
}
|
||||
activeborderColor () {
|
||||
sd "\.active.border.color:.*$" ".active.border.color: $1" ${THEMERC}
|
||||
read BORD <<< "$(grep border.width ${THEMERC} | cut -d':' -f2)"
|
||||
[[ "$BORD" == 0 ]] && borderWidth 1
|
||||
}
|
||||
inactiveborderColor () {
|
||||
sd "\.inactive.border.color:.*$" ".inactive.border.color: $1" ${THEMERC}
|
||||
read BORD <<< "$(grep border.width ${THEMERC} | cut -d':' -f2)"
|
||||
[[ "$BORD" == 0 ]] && borderWidth 1
|
||||
}
|
||||
paddingHeight () {
|
||||
case "$1" in
|
||||
|
@ -100,7 +105,7 @@ paddingHeight () {
|
|||
sd "^padding.width:.*$" "padding.width: ${PHEIGHT}" ${THEMERC}
|
||||
fi
|
||||
;;
|
||||
0|1|2|3|4|6|8|10|12|16|20)
|
||||
0|1|2|3|4|5|6|8|10|12|16|20)
|
||||
sd "^padding.height:.*$" "padding.height: $1" ${THEMERC}
|
||||
sd "^padding.width:.*$" "padding.width: $1" ${THEMERC}
|
||||
;;
|
||||
|
@ -200,6 +205,18 @@ activegradient () {
|
|||
#sd "\.active.handle.bg.color:.*$" ".active.handle.bg.color: ${1}" ${THEMERC}
|
||||
sd "^window.active.title.bg.color:.*$" "window.active.title.bg.color: ${1}" ${THEMERC}
|
||||
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${2}" ${THEMERC}
|
||||
|
||||
## split.To - only used if gradient = splitvertical
|
||||
splitTo=$(pastel lighten 0.275 "${1}"|pastel format hex)
|
||||
## 1 color (top one)
|
||||
sd "window.active.title.bg.color.splitTo:.*$" "window.active.title.bg.color.splitTo: ${splitTo}" ${THEMERC}
|
||||
|
||||
splitTo2=$(pastel lighten 0.12 "${2}"|pastel format hex)
|
||||
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
|
||||
## 4 color (bottom one)
|
||||
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
|
||||
|
||||
|
||||
# Border color = active.title.bg.color (gradient start color)
|
||||
sd "\.active.border.color:.*$" ".active.border.color: $1" ${THEMERC}
|
||||
|
||||
|
@ -256,6 +273,17 @@ activegradient () {
|
|||
gradient () {
|
||||
sd "^window.active.title.bg.color:.*$" "window.active.title.bg.color: ${1}" ${THEMERC}
|
||||
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${2}" ${THEMERC}
|
||||
|
||||
## split.To - only used if gradient = splitvertical
|
||||
splitTo=$(pastel lighten 0.275 "${1}"|pastel format hex)
|
||||
## 1 color (top one)
|
||||
sd "window.active.title.bg.color.splitTo:.*$" "window.active.title.bg.color.splitTo: ${splitTo}" ${THEMERC}
|
||||
|
||||
splitTo2=$(pastel lighten 0.12 "${2}"|pastel format hex)
|
||||
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
|
||||
## 4 color (bottom one)
|
||||
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
|
||||
|
||||
# Border color = active.title.bg.color (gradient start color)
|
||||
sd "\.active.border.color:.*$" ".active.border.color: $1" ${THEMERC}
|
||||
|
||||
|
@ -346,7 +374,7 @@ clractivebg_only () {
|
|||
activebuttonscolors "${TITLE_FG}"
|
||||
}
|
||||
clractivebg () {
|
||||
colorTo=$(pastel darken 0.1 "${1}"|pastel format hex)
|
||||
colorTo=$(pastel darken 0.14 "${1}"|pastel format hex)
|
||||
#activehandle?
|
||||
read ABG <<< "$(grep .active.title.bg.color: ${THEMERC} | cut -d':' -f2)"
|
||||
read AHBG <<< "$(grep .active.handle.bg.color: ${THEMERC} | cut -d':' -f2)"
|
||||
|
@ -360,6 +388,17 @@ clractivebg () {
|
|||
sd "\.active.border.color:.*$" ".active.border.color: ${1}" ${THEMERC}
|
||||
|
||||
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${colorTo}" ${THEMERC}
|
||||
|
||||
## split.To - only used if gradient = splitvertical
|
||||
splitTo=$(pastel lighten 0.275 "${1}"|pastel format hex)
|
||||
## 1 color (top one)
|
||||
sd "window.active.title.bg.color.splitTo:.*$" "window.active.title.bg.color.splitTo: ${splitTo}" ${THEMERC}
|
||||
|
||||
splitTo2=$(pastel lighten 0.12 "${colorTo}"|pastel format hex)
|
||||
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
|
||||
## 4 color (bottom one)
|
||||
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
|
||||
|
||||
#menu (Openbox menu - not really used in Mabox)
|
||||
sd "menu.title.bg.color:.*$" "menu.title.bg.color: ${1}" ${THEMERC}
|
||||
sd "menu.title.bg.colorTo:.*$" "menu.title.bg.colorTo: ${colorTo}" ${THEMERC}
|
||||
|
@ -397,11 +436,30 @@ clrnormalbg () {
|
|||
sd "\.inactive.grip.bg.colorTo:.*$" ".inactive.grip.bg.colorTo: ${colorTo}" ${THEMERC}
|
||||
sd "^window.inactive.title.bg.color:.*$" "window.inactive.title.bg.color: ${1}" ${THEMERC}
|
||||
sd "^window.inactive.title.bg.colorTo:.*$" "window.inactive.title.bg.colorTo: ${colorTo}" ${THEMERC}
|
||||
|
||||
## split.To - only used if gradient = splitvertical
|
||||
splitTo=$(pastel lighten 0.275 "${1}"|pastel format hex)
|
||||
## 1 color (top one)
|
||||
sd "window.inactive.title.bg.color.splitTo:.*$" "window.inactive.title.bg.color.splitTo: ${splitTo}" ${THEMERC}
|
||||
|
||||
splitTo2=$(pastel lighten 0.12 "${colorTo}"|pastel format hex)
|
||||
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
|
||||
## 4 color (bottom one)
|
||||
sd "window.inactive.title.bg.colorTo.splitTo:.*$" "window.inactive.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
|
||||
|
||||
|
||||
|
||||
sd "\.inactive.border.color:.*$" ".inactive.border.color: ${1}" ${THEMERC}
|
||||
}
|
||||
|
||||
clractivebgto () {
|
||||
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${1}" ${THEMERC}
|
||||
|
||||
splitTo2=$(pastel lighten 0.12 "${1}"|pastel format hex)
|
||||
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
|
||||
## 4 color (bottom one)
|
||||
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
|
||||
|
||||
#activehandle?
|
||||
###read ABG <<< "$(grep .active.title.bg.color: ${THEMERC} | cut -d':' -f2)"
|
||||
###read AHBG <<< "$(grep .active.handle.bg.color: ${THEMERC} | cut -d':' -f2)"
|
||||
|
@ -413,6 +471,11 @@ clractivebgto () {
|
|||
|
||||
clrnormalbgto () {
|
||||
sd "^window.inactive.title.bg.colorTo:.*$" "window.inactive.title.bg.colorTo: ${1}" ${THEMERC}
|
||||
splitTo2=$(pastel lighten 0.12 "${1}"|pastel format hex)
|
||||
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
|
||||
## 4 color (bottom one)
|
||||
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
|
||||
|
||||
sd "\.inactive.handle.bg.colorTo:.*$" ".inactive.handle.bg.colorTo: ${1}" ${THEMERC}
|
||||
sd "\.inactive.grip.bg.colorTo:.*$" ".inactive.grip.bg.colorTo: ${1}" ${THEMERC}
|
||||
}
|
||||
|
@ -505,11 +568,15 @@ fontsize () {
|
|||
fontweight () {
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:weight' -v "${1}" "$cfg"
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:weight' -v "${1}" "$cfg"
|
||||
|
||||
}
|
||||
fontweight_inactive () {
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:weight' -v "${1}" "$cfg"
|
||||
}
|
||||
fontweighttoggle (){
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
|
@ -523,10 +590,15 @@ fontweighttoggle (){
|
|||
fontslant (){
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:slant' -v "${1}" "$cfg"
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:slant' -v "${1}" "$cfg"
|
||||
}
|
||||
fontslant_inactive (){
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:slant' -v "${1}" "$cfg"
|
||||
}
|
||||
|
||||
fontslanttoggle (){
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
|
@ -569,8 +641,8 @@ randomizer () {
|
|||
#rand
|
||||
|
||||
### Random border
|
||||
BORDERS=(0 0 1 2 4)
|
||||
rand=$((RANDOM%4))
|
||||
BORDERS=(0 0 1 2 4 6)
|
||||
rand=$((RANDOM%5))
|
||||
BORDER="${BORDERS[$rand]}"
|
||||
|
||||
borderWidth "${BORDER}"
|
||||
|
@ -673,21 +745,21 @@ tweak() {
|
|||
fontsize 14
|
||||
paddingHeight 8
|
||||
buttons big-14
|
||||
borderWidth 4
|
||||
borderWidth 6
|
||||
handlewidth 6
|
||||
;;
|
||||
big)
|
||||
fontsize 12
|
||||
paddingHeight 6
|
||||
buttons big-12
|
||||
borderWidth 1
|
||||
borderWidth 4
|
||||
handlewidth 4
|
||||
;;
|
||||
normal)
|
||||
fontsize 11
|
||||
paddingHeight 4
|
||||
buttons tiny
|
||||
borderWidth 0
|
||||
borderWidth 1
|
||||
handlewidth 3
|
||||
;;
|
||||
small)
|
||||
|
@ -767,6 +839,54 @@ applytheme() {
|
|||
delscheme() {
|
||||
sed -i ${1}d "$HOME/.config/colorizer/openbox/userthemes.csv"
|
||||
}
|
||||
mono() {
|
||||
lighten=(0.92 0.8 0.65 0.45 0.28)
|
||||
darken=(0.9 0.74 0.54 0.38 0.18)
|
||||
|
||||
if [ "${1}" == pick ];then
|
||||
color=$(gpick -pso 2>/dev/null)
|
||||
else
|
||||
color="${1}"
|
||||
fi
|
||||
|
||||
if [ "${#color}" == 7 ];then
|
||||
for i in "${lighten[@]}"
|
||||
do
|
||||
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
|
||||
done
|
||||
pal+=("$color")
|
||||
|
||||
for i in "${darken[@]}"
|
||||
do
|
||||
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
|
||||
done
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#colorize OB
|
||||
if [ "$2" == "dark" ];then
|
||||
clractivebg "${pal[5]}"
|
||||
#clractivebgto "${pal[6]}"
|
||||
activeborderColor "${pal[2]}"
|
||||
activetextcolor "${pal[1]}"
|
||||
clrnormalbg "${pal[9]}"
|
||||
clrnormalbgto "${pal[10]}"
|
||||
inactiveborderColor "${pal[8]}"
|
||||
inactivetextcolor "${pal[4]}"
|
||||
else #light
|
||||
clractivebg "${pal[4]}"
|
||||
#clractivebgto "${pal[4]}"
|
||||
activeborderColor "${pal[0]}"
|
||||
activetextcolor "${pal[9]}"
|
||||
clrnormalbg "${pal[9]}"
|
||||
clrnormalbgto "${pal[10]}"
|
||||
inactiveborderColor "${pal[7]}"
|
||||
inactivetextcolor "${pal[5]}"
|
||||
fi
|
||||
openbox --reconfigure
|
||||
colorizer-ob -s 2>/dev/null
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
theme) theme "$2";;
|
||||
|
@ -800,12 +920,15 @@ case "$1" in
|
|||
activebuttonscolors) activebuttonscolors "$2";;
|
||||
fontfamily) fontfamily "$2";;
|
||||
fontweight) fontweight "$2";;
|
||||
fontweight_inactive) fontweight_inactive "$2";;
|
||||
fontslant) fontslant "$2";;
|
||||
fontslant_inactive) fontslant_inactive "$2";;
|
||||
fontsize) fontsize "$2";;
|
||||
fontweighttoggle) fontweighttoggle;;
|
||||
fontslanttoggle) fontslanttoggle;;
|
||||
randomizer) randomizer;;
|
||||
tweak) tweak "$2";;
|
||||
mono) mono "$2" "$3";;
|
||||
savetheme) savetheme "$2";;
|
||||
applyscheme) applyscheme "$2" "$3";;
|
||||
applytheme) applytheme "$2" "$3";;
|
||||
|
|
|
@ -0,0 +1,275 @@
|
|||
#!/bin/bash
|
||||
# papirus-folder-color.sh
|
||||
# Generate icon theme inheriting Papirus or Papirus-Dark,
|
||||
# but with different coloured folder icons.
|
||||
#
|
||||
# Copyright: 2019-2022 John Crawley <john@bunsenlabs.org>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# If not overruled by --name option, this will be included in generated theme name.
|
||||
# Other vendors, please edit to taste:
|
||||
vendor=Mabox
|
||||
|
||||
USAGE="
|
||||
papirus-folder-color.sh [OPTIONS]
|
||||
|
||||
Generates a user custom icon theme with a different folder color from
|
||||
the default Papirus blue.
|
||||
|
||||
Options:
|
||||
-h, --help
|
||||
Show this message.
|
||||
-c, --color <color>
|
||||
Choose icon color.
|
||||
-s, --source_path <path>
|
||||
Set path to directory holding Papirus theme to be used.
|
||||
-t, --target_path <path>
|
||||
Set path to directory where new theme will be generated.
|
||||
-n, --name <name>
|
||||
Set name of generated theme.
|
||||
-l, --link
|
||||
Symlink icons to source instead of copying.
|
||||
-d, --dark
|
||||
Declare theme to be dark and inherit Papirus-Dark.
|
||||
|
||||
color must be specified and can be one of:
|
||||
black,blue,bluegrey,breeze,brown,cyan,deeporange,green,grey,indigo,magenta,nordic,orange,palebrown,paleorange,pink,red,teal,violet,white,yaru,yellow,custom
|
||||
|
||||
NB \"custom\" color corresponds to jet black, while \"black\" is actually dark grey.
|
||||
\"jet-black\" may also be passed as an alias for \"custom\".
|
||||
|
||||
If --source_path is not passed, the Papirus theme is read from
|
||||
/usr/share/icons/Papirus
|
||||
|
||||
If --target_path is not passed, the generated theme is written to
|
||||
~/.local/share/icons/<new theme name>
|
||||
|
||||
If --name is not passed, the generated theme will be named
|
||||
Papirus-${vendor}[-Dark]-<color>.
|
||||
|
||||
By default icons will be copied into the new theme, not symlinked.
|
||||
This increases the size, but improves portability.
|
||||
Pass --link to generate symlinks instead.
|
||||
|
||||
If source_path and target_path are under the same top-level directory
|
||||
then symlinked icons will use relative paths, otherwise absolute paths.
|
||||
"
|
||||
|
||||
## default variables
|
||||
## these can (should, at least for color) be overridden by script options
|
||||
source_path=/usr/share/icons # place to find source Papirus theme
|
||||
target_path="$HOME/.local/share/icons" # place to put generated theme
|
||||
#target_path="$PWD"
|
||||
copy_files=true # If true, copy icons into new theme instead of symlinking.
|
||||
new_theme=''
|
||||
color=''
|
||||
|
||||
error_exit() {
|
||||
echo "$0 error: $1" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
while [[ -n $1 ]]
|
||||
do
|
||||
case "$1" in
|
||||
--color|-c)
|
||||
color=$2
|
||||
shift 2
|
||||
;;
|
||||
--source_path|-s)
|
||||
source_path=$2
|
||||
shift 2
|
||||
;;
|
||||
--target_path|-t)
|
||||
target_path=$2
|
||||
shift 2
|
||||
;;
|
||||
--name|-n)
|
||||
new_theme=$2
|
||||
shift 2
|
||||
;;
|
||||
--link|-l)
|
||||
copy_files=false
|
||||
shift
|
||||
;;
|
||||
--dark|-d)
|
||||
dark_theme=true
|
||||
shift
|
||||
;;
|
||||
--help|-h)
|
||||
echo "$USAGE"
|
||||
exit
|
||||
;;
|
||||
*)
|
||||
error_exit "$1: Unrecognized option."
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
########################################################################
|
||||
|
||||
case "$color" in
|
||||
adwaita|black|blue|bluegrey|breeze|brown|carmine|cyan|darkcyan|deeporange|green|grey|indigo|magenta|nordic|orange|palebrown|paleorange|pink|red|teal|violet|white|yaru|yellow|custom)
|
||||
;;
|
||||
jet-black)
|
||||
color=custom;;
|
||||
*)
|
||||
error_exit "${color}: Unrecognized colour."
|
||||
esac
|
||||
|
||||
[[ -n $new_theme ]] || {
|
||||
if [[ $dark_theme = true ]]
|
||||
then
|
||||
new_theme="Papirus-${vendor}-Dark-${color}"
|
||||
else
|
||||
new_theme="Papirus-${vendor}-${color}"
|
||||
fi
|
||||
}
|
||||
|
||||
source_dir="$source_path/Papirus"
|
||||
target_dir="$target_path/$new_theme"
|
||||
|
||||
[[ $(basename "$source_dir") = Papirus ]] || error_exit "$source_dir: Not a Papirus theme directory"
|
||||
[[ $(basename "$target_dir") = Papirus* ]] || error_exit "$target_dir: Not a Papirus theme directory" # try to avoid accidents
|
||||
|
||||
|
||||
# Define function to make symlinks,
|
||||
# relative if source & target have same top-level directory.
|
||||
# If copy_files is true, copy instead of linking.
|
||||
set_linking() {
|
||||
if [[ $copy_files = true ]]
|
||||
then
|
||||
link_file() { cp "$1" "$2"; }
|
||||
else
|
||||
local tld_src=$( readlink -f "${source_dir}" )
|
||||
tld_src=${tld_src#/}
|
||||
tld_src=${tld_src%%/*}
|
||||
local tld_tgt=$( readlink -f "${target_dir}" )
|
||||
tld_tgt=${tld_tgt#/}
|
||||
tld_tgt=${tld_tgt%%/*}
|
||||
if [[ "$tld_src" = "$tld_tgt" ]]
|
||||
then
|
||||
link_file() { ln -sfr "$1" "$2"; }
|
||||
else
|
||||
link_file() { ln -sf "$1" "$2"; }
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
set_linking
|
||||
|
||||
[[ -e "$target_dir" ]] && {
|
||||
echo "$target_dir will be removed and replaced, OK?"
|
||||
read -r -p ' remove? (y/n) '
|
||||
case ${REPLY^^} in
|
||||
Y|YES)
|
||||
rm -rf "$target_dir" || error_exit "Failed to remove $target_dir";;
|
||||
*)
|
||||
echo 'User cancelled. Exiting...'; exit;;
|
||||
esac
|
||||
}
|
||||
mkdir -p "$target_dir" || error_exit "Failed to create $target_dir"
|
||||
|
||||
defcolor=blue # the Papirus default
|
||||
shortdirlist=
|
||||
longdirlist=
|
||||
for subdir in "$source_dir"/*
|
||||
do
|
||||
[[ -d ${subdir}/places && ! -h $subdir ]] || continue # only use icons in "places" directories
|
||||
files=()
|
||||
while IFS= read -r -d '' file
|
||||
do
|
||||
files+=("$file")
|
||||
done < <(find "${subdir}/places" -type l \( -ilname "*-$defcolor-*" -o -lname "*-$defcolor.*" \) ! -iname "*-$defcolor-*" ! -iname "*-$defcolor.*" -print0)
|
||||
[[ ${#files[@]} -gt 0 ]] || continue
|
||||
dirname=${subdir##*/}
|
||||
mkdir -p "$target_dir/${dirname}/places" || error_exit "Failed to create $target_dir/${dirname}/places"
|
||||
scaledname=${dirname}@2x
|
||||
[[ $dirname != symbolic ]] && ln -s "${dirname}" "${target_dir}/${scaledname}" || error_exit "Failed to link ${target_dir}/${scaledname} to ${dirname}"
|
||||
for i in "${files[@]}"
|
||||
do
|
||||
find "${subdir}/places" -type l -lname "${i##*/}" -exec cp --no-dereference '{}' "$target_dir/${dirname}/places" \;
|
||||
target="$(readlink "$i")"
|
||||
target="${target/-${defcolor}/-${color}}"
|
||||
[[ -f "$subdir/places/$target" ]] || { echo "$subdir/places/$target: not found"; continue; }
|
||||
link_file "$subdir/places/$target" "$target_dir/$dirname/places/${i##*/}" || error_exit "Failed to link_file() $target_dir/$dirname/places/${i##*/} to $subdir/places/$target"
|
||||
done
|
||||
case "${dirname}" in
|
||||
symbolic)
|
||||
shortdirlist+="${dirname}/places,"
|
||||
longdirlist+="[${dirname}/places]
|
||||
Context=Places
|
||||
Size=16
|
||||
MinSize=16
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
"
|
||||
;;
|
||||
*)
|
||||
shortdirlist+="${dirname}/places,${scaledname}/places,"
|
||||
longdirlist+="[${dirname}/places]
|
||||
Context=Places
|
||||
Size=${dirname%x*}
|
||||
Type=Fixed
|
||||
|
||||
[${scaledname}/places]
|
||||
Context=Places
|
||||
Size=${dirname%x*}
|
||||
Scale=2
|
||||
Type=Fixed
|
||||
|
||||
"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [[ $dark_theme = true ]]
|
||||
then
|
||||
inherit="Papirus-Dark,breeze-dark"
|
||||
else
|
||||
inherit="Papirus,breeze"
|
||||
fi
|
||||
|
||||
cat <<EOF > "$target_dir/index.theme"
|
||||
[Icon Theme]
|
||||
Name=$new_theme
|
||||
Comment=Recoloured Papirus icon theme for Mabox Linux
|
||||
Inherits=${inherit},hicolor
|
||||
|
||||
Example=folder
|
||||
|
||||
FollowsColorScheme=true
|
||||
|
||||
DesktopDefault=48
|
||||
DesktopSizes=16,22,24,32,48,64
|
||||
ToolbarDefault=22
|
||||
ToolbarSizes=16,22,24,32,48
|
||||
MainToolbarDefault=22
|
||||
MainToolbarSizes=16,22,24,32,48
|
||||
SmallDefault=16
|
||||
SmallSizes=16,22,24,32,48
|
||||
PanelDefault=48
|
||||
PanelSizes=16,22,24,32,48,64
|
||||
DialogDefault=48
|
||||
DialogSizes=16,22,24,32,48,64
|
||||
|
||||
# Directory list
|
||||
Directories=${shortdirlist%,}
|
||||
|
||||
$longdirlist
|
||||
EOF
|
||||
|
||||
gtk-update-icon-cache "$target_dir"
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
WALLPALDIR="$HOME/.cache/colorizer/palettes"
|
||||
mkdir -p "$WALLPALDIR"
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
|
||||
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
|
||||
|
||||
NAME=${WALLPATH////_}
|
||||
if [[ "${NAME}" =~ ^_home_.* ]]; then
|
||||
|
@ -31,7 +31,7 @@ fi
|
|||
|
||||
|
||||
if [ ! -f "$WALLPALDIR/$NAME.clr" ]; then
|
||||
convert ${WALLPATH} -resize 25% -colors 16 -unique-colors txt:- |grep -v '^#'| awk '{print substr($3,1,7)}' |pastel sort-by brightness |pastel format hex > "$WALLPALDIR/$NAME.clr"
|
||||
magick ${WALLPATH} -resize 25% -colors 16 -unique-colors txt:- |grep -v '^#'| awk '{print substr($3,1,7)}' |pastel sort-by brightness |pastel format hex > "$WALLPALDIR/$NAME.clr"
|
||||
fi
|
||||
mapfile -t w < "$WALLPALDIR/$NAME.clr"
|
||||
|
||||
|
@ -382,7 +382,7 @@ genthumb () {
|
|||
mkdir -p ${THUMBDIR}
|
||||
THUMB="${THUMBDIR}/${NAME}.png"
|
||||
if [[ ! -f "$THUMB" ]]; then
|
||||
convert ${1} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
|
||||
magick ${1} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
|
||||
fi
|
||||
}
|
||||
pin () {
|
||||
|
|
|
@ -5,3 +5,5 @@
|
|||
#D9D9D9|#B6B6B6|#0F0F0F|#BDBBB9|#D9D9D9|#B4B4B4|#656565|#BFBCBB|vertical|left|2|2|1|0|raised|bold|11|Ubuntu Bold|NLIMC|Bold|Normal|Light Grey
|
||||
#CE5C00|#9b4600|#E5E5E5|#CE5C00|#D3D7CF|#B4B4B4|#656565|#BFBCBB|mirrorhorizontal|center|2|2|1|0|raised|dots|11|Noto Sans|NLIMC|Normal|Normal|Orange
|
||||
#F7941E|#004E8F|#E5E5E5|#F7941E|#4a2c09|#00172b|#656565|#4a2c09|mirrorhorizontal|center|4|4|1|0|raised|big-14|13|Ubuntu|NLIMC|Normal|Normal|Sky and Sea
|
||||
#bda9a9|#D3C6C6|#222222|#EBDCDD|#D2C6C5|#D2C6C5|#837B7C|#D2C6C5|mirrorhorizontal|center|4|4|0|6|flat|bold|11|Ubuntu|LIMC|Bold|Normal|BL Boron Light
|
||||
#765BAB|#5e478c|#FFFFFF|#242424|#373737|#1e1e1e|#9A9A9A|#373737|solid|center|2|2|4|1|flat|tiny|10|Cantarell|NDSLIMC|Normal|Normal|Lean
|
||||
|
|
|
|
@ -26,210 +26,210 @@ legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}t
|
|||
/* End extract */
|
||||
html,body{font-family:Verdana,sans-serif;font-size:15px;line-height:1.5}html{overflow-x:hidden}
|
||||
h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}
|
||||
.w3-serif{font-family:serif}.w3-sans-serif{font-family:sans-serif}.w3-cursive{font-family:cursive}.w3-monospace{font-family:monospace}
|
||||
h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:400;margin:10px 0}.w3-wide{letter-spacing:4px}
|
||||
.serif{font-family:serif}.sans-serif{font-family:sans-serif}.cursive{font-family:cursive}.monospace{font-family:monospace}
|
||||
h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:400;margin:10px 0}.wide{letter-spacing:4px}
|
||||
hr{border:0;border-top:1px solid #eee;margin:20px 0}
|
||||
.w3-image{max-width:100%;height:auto}img{vertical-align:middle}a{color:inherit}
|
||||
.w3-table,.w3-table-all{border-collapse:collapse;border-spacing:0;width:100%;display:table}.w3-table-all{border:1px solid #ccc}
|
||||
.w3-bordered tr,.w3-table-all tr{border-bottom:1px solid #ddd}.w3-striped tbody tr:nth-child(even){background-color:#f1f1f1}
|
||||
.w3-table-all tr:nth-child(odd){background-color:#fff}.w3-table-all tr:nth-child(even){background-color:#f1f1f1}
|
||||
.w3-hoverable tbody tr:hover,.w3-ul.w3-hoverable li:hover{background-color:#ccc}.w3-centered tr th,.w3-centered tr td{text-align:center}
|
||||
.w3-table td,.w3-table th,.w3-table-all td,.w3-table-all th{padding:8px 8px;display:table-cell;text-align:left;vertical-align:top}
|
||||
.w3-table th:first-child,.w3-table td:first-child,.w3-table-all th:first-child,.w3-table-all td:first-child{padding-left:16px}
|
||||
.w3-btn,.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
|
||||
.w3-btn:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}
|
||||
.w3-btn,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
||||
.w3-disabled,.w3-btn:disabled,.w3-button:disabled{cursor:not-allowed;opacity:0.3}.w3-disabled *,:disabled *{pointer-events:none}
|
||||
.w3-btn.w3-disabled:hover,.w3-btn:disabled:hover{box-shadow:none}
|
||||
.w3-badge,.w3-tag{background-color:#000;color:#fff;display:inline-block;padding-left:8px;padding-right:8px;text-align:center}.w3-badge{border-radius:50%}
|
||||
.w3-ul{list-style-type:none;padding:0;margin:0}.w3-ul li{padding:8px 16px;border-bottom:1px solid #ddd}.w3-ul li:last-child{border-bottom:none}
|
||||
.w3-tooltip,.w3-display-container{position:relative}.w3-tooltip .w3-text{display:none}.w3-tooltip:hover .w3-text{display:inline-block}
|
||||
.w3-ripple:active{opacity:0.5}.w3-ripple{transition:opacity 0s}
|
||||
.w3-input{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:100%}
|
||||
.w3-select{padding:9px 0;width:100%;border:none;border-bottom:1px solid #ccc}
|
||||
.w3-dropdown-click,.w3-dropdown-hover{position:relative;display:inline-block;cursor:pointer}
|
||||
.w3-dropdown-hover:hover .w3-dropdown-content{display:block}
|
||||
.w3-dropdown-hover:first-child,.w3-dropdown-click:hover{background-color:#ccc;color:#000}
|
||||
.w3-dropdown-hover:hover > .w3-button:first-child,.w3-dropdown-click:hover > .w3-button:first-child{background-color:#ccc;color:#000}
|
||||
.w3-dropdown-content{cursor:auto;color:#000;background-color:#fff;display:none;position:absolute;min-width:160px;margin:0;padding:0;z-index:1}
|
||||
.w3-check,.w3-radio{width:24px;height:24px;position:relative;top:6px}
|
||||
.w3-sidebar{height:100%;width:200px;background-color:#fff;position:fixed!important;z-index:1;overflow:auto}
|
||||
.w3-bar-block .w3-dropdown-hover,.w3-bar-block .w3-dropdown-click{width:100%}
|
||||
.w3-bar-block .w3-dropdown-hover .w3-dropdown-content,.w3-bar-block .w3-dropdown-click .w3-dropdown-content{min-width:100%}
|
||||
.w3-bar-block .w3-dropdown-hover .w3-button,.w3-bar-block .w3-dropdown-click .w3-button{width:100%;text-align:left;padding:8px 16px}
|
||||
.w3-main,#main{transition:margin-left .4s}
|
||||
.w3-modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
|
||||
.w3-modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px}
|
||||
.w3-bar{width:100%;overflow:hidden}.w3-center .w3-bar{display:inline-block;width:auto}
|
||||
.w3-bar .w3-bar-item{padding:8px 16px;float:left;width:auto;border:none;display:block;outline:0}
|
||||
.w3-bar .w3-dropdown-hover,.w3-bar .w3-dropdown-click{position:static;float:left}
|
||||
.w3-bar .w3-button{white-space:normal}
|
||||
.w3-bar-block .w3-bar-item{width:100%;display:block;padding:8px 16px;text-align:left;border:none;white-space:normal;float:none;outline:0}
|
||||
.w3-bar-block.w3-center .w3-bar-item{text-align:center}.w3-block{display:block;width:100%}
|
||||
.w3-responsive{display:block;overflow-x:auto}
|
||||
.w3-container:after,.w3-container:before,.w3-panel:after,.w3-panel:before,.w3-row:after,.w3-row:before,.w3-row-padding:after,.w3-row-padding:before,
|
||||
.w3-cell-row:before,.w3-cell-row:after,.w3-clear:after,.w3-clear:before,.w3-bar:before,.w3-bar:after{content:"";display:table;clear:both}
|
||||
.w3-col,.w3-half,.w3-third,.w3-twothird,.w3-threequarter,.w3-quarter{float:left;width:100%}
|
||||
.w3-col.s1{width:8.33333%}.w3-col.s2{width:16.66666%}.w3-col.s3{width:24.99999%}.w3-col.s4{width:33.33333%}
|
||||
.w3-col.s5{width:41.66666%}.w3-col.s6{width:49.99999%}.w3-col.s7{width:58.33333%}.w3-col.s8{width:66.66666%}
|
||||
.w3-col.s9{width:74.99999%}.w3-col.s10{width:83.33333%}.w3-col.s11{width:91.66666%}.w3-col.s12{width:99.99999%}
|
||||
@media (min-width:601px){.w3-col.m1{width:8.33333%}.w3-col.m2{width:16.66666%}.w3-col.m3,.w3-quarter{width:24.99999%}.w3-col.m4,.w3-third{width:33.33333%}
|
||||
.w3-col.m5{width:41.66666%}.w3-col.m6,.w3-half{width:49.99999%}.w3-col.m7{width:58.33333%}.w3-col.m8,.w3-twothird{width:66.66666%}
|
||||
.w3-col.m9,.w3-threequarter{width:74.99999%}.w3-col.m10{width:83.33333%}.w3-col.m11{width:91.66666%}.w3-col.m12{width:99.99999%}}
|
||||
@media (min-width:993px){.w3-col.l1{width:8.33333%}.w3-col.l2{width:16.66666%}.w3-col.l3{width:24.99999%}.w3-col.l4{width:33.33333%}
|
||||
.w3-col.l5{width:41.66666%}.w3-col.l6{width:49.99999%}.w3-col.l7{width:58.33333%}.w3-col.l8{width:66.66666%}
|
||||
.w3-col.l9{width:74.99999%}.w3-col.l10{width:83.33333%}.w3-col.l11{width:91.66666%}.w3-col.l12{width:99.99999%}}
|
||||
.w3-rest{overflow:hidden}.w3-stretch{margin-left:-16px;margin-right:-16px}
|
||||
.w3-content,.w3-auto{margin-left:auto;margin-right:auto}.w3-content{max-width:980px}.w3-auto{max-width:1140px}
|
||||
.w3-cell-row{display:table;width:100%}.w3-cell{display:table-cell}
|
||||
.w3-cell-top{vertical-align:top}.w3-cell-middle{vertical-align:middle}.w3-cell-bottom{vertical-align:bottom}
|
||||
.w3-hide{display:none!important}.w3-show-block,.w3-show{display:block!important}.w3-show-inline-block{display:inline-block!important}
|
||||
@media (max-width:1205px){.w3-auto{max-width:95%}}
|
||||
@media (max-width:600px){.w3-modal-content{margin:0 10px;width:auto!important}.w3-modal{padding-top:30px}
|
||||
.w3-dropdown-hover.w3-mobile .w3-dropdown-content,.w3-dropdown-click.w3-mobile .w3-dropdown-content{position:relative}
|
||||
.w3-hide-small{display:none!important}.w3-mobile{display:block;width:100%!important}.w3-bar-item.w3-mobile,.w3-dropdown-hover.w3-mobile,.w3-dropdown-click.w3-mobile{text-align:center}
|
||||
.w3-dropdown-hover.w3-mobile,.w3-dropdown-hover.w3-mobile .w3-btn,.w3-dropdown-hover.w3-mobile .w3-button,.w3-dropdown-click.w3-mobile,.w3-dropdown-click.w3-mobile .w3-btn,.w3-dropdown-click.w3-mobile .w3-button{width:100%}}
|
||||
@media (max-width:768px){.w3-modal-content{width:500px}.w3-modal{padding-top:50px}}
|
||||
@media (min-width:993px){.w3-modal-content{width:900px}.w3-hide-large{display:none!important}.w3-sidebar.w3-collapse{display:block!important}}
|
||||
@media (max-width:992px) and (min-width:601px){.w3-hide-medium{display:none!important}}
|
||||
@media (max-width:992px){.w3-sidebar.w3-collapse{display:none}.w3-main{margin-left:0!important;margin-right:0!important}.w3-auto{max-width:100%}}
|
||||
.w3-top,.w3-bottom{position:fixed;width:100%;z-index:1}.w3-top{top:0}.w3-bottom{bottom:0}
|
||||
.w3-overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.5);z-index:2}
|
||||
.w3-display-topleft{position:absolute;left:0;top:0}.w3-display-topright{position:absolute;right:0;top:0}
|
||||
.w3-display-bottomleft{position:absolute;left:0;bottom:0}.w3-display-bottomright{position:absolute;right:0;bottom:0}
|
||||
.w3-display-middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%)}
|
||||
.w3-display-left{position:absolute;top:50%;left:0%;transform:translate(0%,-50%);-ms-transform:translate(-0%,-50%)}
|
||||
.w3-display-right{position:absolute;top:50%;right:0%;transform:translate(0%,-50%);-ms-transform:translate(0%,-50%)}
|
||||
.w3-display-topmiddle{position:absolute;left:50%;top:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
|
||||
.w3-display-bottommiddle{position:absolute;left:50%;bottom:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
|
||||
.w3-display-container:hover .w3-display-hover{display:block}.w3-display-container:hover span.w3-display-hover{display:inline-block}.w3-display-hover{display:none}
|
||||
.w3-display-position{position:absolute}
|
||||
.w3-circle{border-radius:50%}
|
||||
.w3-round-small{border-radius:2px}.w3-round,.w3-round-medium{border-radius:4px}.w3-round-large{border-radius:8px}.w3-round-xlarge{border-radius:16px}.w3-round-xxlarge{border-radius:32px}
|
||||
.w3-row-padding,.w3-row-padding>.w3-half,.w3-row-padding>.w3-third,.w3-row-padding>.w3-twothird,.w3-row-padding>.w3-threequarter,.w3-row-padding>.w3-quarter,.w3-row-padding>.w3-col{padding:0 8px}
|
||||
.w3-container,.w3-panel{padding:0.01em 16px}.w3-panel{margin-top:16px;margin-bottom:16px}
|
||||
.w3-code,.w3-codespan{font-family:Consolas,"courier new";font-size:16px}
|
||||
.w3-code{width:auto;background-color:#fff;padding:8px 12px;border-left:4px solid #4CAF50;word-wrap:break-word}
|
||||
.w3-codespan{color:crimson;background-color:#f1f1f1;padding-left:4px;padding-right:4px;font-size:110%}
|
||||
.w3-card,.w3-card-2{box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
|
||||
.w3-card-4,.w3-hover-shadow:hover{box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)}
|
||||
.w3-spin{animation:w3-spin 2s infinite linear}@keyframes w3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}
|
||||
.w3-animate-fading{animation:fading 10s infinite}@keyframes fading{0%{opacity:0}50%{opacity:1}100%{opacity:0}}
|
||||
.w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}
|
||||
.w3-animate-top{position:relative;animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
|
||||
.w3-animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
|
||||
.w3-animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
|
||||
.w3-animate-bottom{position:relative;animation:animatebottom 0.4s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}
|
||||
.w3-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
|
||||
.w3-animate-input{transition:width 0.4s ease-in-out}.w3-animate-input:focus{width:100%!important}
|
||||
.w3-opacity,.w3-hover-opacity:hover{opacity:0.60}.w3-opacity-off,.w3-hover-opacity-off:hover{opacity:1}
|
||||
.w3-opacity-max{opacity:0.25}.w3-opacity-min{opacity:0.75}
|
||||
.w3-greyscale-max,.w3-grayscale-max,.w3-hover-greyscale:hover,.w3-hover-grayscale:hover{filter:grayscale(100%)}
|
||||
.w3-greyscale,.w3-grayscale{filter:grayscale(75%)}.w3-greyscale-min,.w3-grayscale-min{filter:grayscale(50%)}
|
||||
.w3-sepia{filter:sepia(75%)}.w3-sepia-max,.w3-hover-sepia:hover{filter:sepia(100%)}.w3-sepia-min{filter:sepia(50%)}
|
||||
.w3-tiny{font-size:10px!important}.w3-small{font-size:12px!important}.w3-medium{font-size:15px!important}.w3-large{font-size:18px!important}
|
||||
.w3-xlarge{font-size:24px!important}.w3-xxlarge{font-size:36px!important}.w3-xxxlarge{font-size:48px!important}.w3-jumbo{font-size:64px!important}
|
||||
.w3-left-align{text-align:left!important}.w3-right-align{text-align:right!important}.w3-justify{text-align:justify!important}.w3-center{text-align:center!important}
|
||||
.w3-border-0{border:0!important}.w3-border{border:1px solid #ccc!important}
|
||||
.w3-border-top{border-top:1px solid #ccc!important}.w3-border-bottom{border-bottom:1px solid #ccc!important}
|
||||
.w3-border-left{border-left:1px solid #ccc!important}.w3-border-right{border-right:1px solid #ccc!important}
|
||||
.w3-topbar{border-top:6px solid #ccc!important}.w3-bottombar{border-bottom:6px solid #ccc!important}
|
||||
.w3-leftbar{border-left:6px solid #ccc!important}.w3-rightbar{border-right:6px solid #ccc!important}
|
||||
.w3-section,.w3-code{margin-top:16px!important;margin-bottom:16px!important}
|
||||
.w3-margin{margin:16px!important}.w3-margin-top{margin-top:16px!important}.w3-margin-bottom{margin-bottom:16px!important}
|
||||
.w3-margin-left{margin-left:16px!important}.w3-margin-right{margin-right:16px!important}
|
||||
.w3-padding-small{padding:4px 8px!important}.w3-padding{padding:8px 16px!important}.w3-padding-large{padding:12px 24px!important}
|
||||
.w3-padding-16{padding-top:16px!important;padding-bottom:16px!important}.w3-padding-24{padding-top:24px!important;padding-bottom:24px!important}
|
||||
.w3-padding-32{padding-top:32px!important;padding-bottom:32px!important}.w3-padding-48{padding-top:48px!important;padding-bottom:48px!important}
|
||||
.w3-padding-64{padding-top:64px!important;padding-bottom:64px!important}
|
||||
.w3-padding-top-64{padding-top:64px!important}.w3-padding-top-48{padding-top:48px!important}
|
||||
.w3-padding-top-32{padding-top:32px!important}.w3-padding-top-24{padding-top:24px!important}
|
||||
.w3-left{float:left!important}.w3-right{float:right!important}
|
||||
.w3-button:hover{color:#000!important;background-color:#ccc!important}
|
||||
.w3-transparent,.w3-hover-none:hover{background-color:transparent!important}
|
||||
.w3-hover-none:hover{box-shadow:none!important}
|
||||
.image{max-width:100%;height:auto}img{vertical-align:middle}a{color:inherit}
|
||||
.table,.table-all{border-collapse:collapse;border-spacing:0;width:100%;display:table}.table-all{border:1px solid #ccc}
|
||||
.bordered tr,.table-all tr{border-bottom:1px solid #ddd}.striped tbody tr:nth-child(even){background-color:#f1f1f1}
|
||||
.table-all tr:nth-child(odd){background-color:#fff}.table-all tr:nth-child(even){background-color:#f1f1f1}
|
||||
.hoverable tbody tr:hover,.ul.hoverable li:hover{background-color:#ccc}.centered tr th,.centered tr td{text-align:center}
|
||||
.table td,.table th,.table-all td,.table-all th{padding:8px 8px;display:table-cell;text-align:left;vertical-align:top}
|
||||
.table th:first-child,.table td:first-child,.table-all th:first-child,.table-all td:first-child{padding-left:16px}
|
||||
.btn,.button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
|
||||
.btn:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}
|
||||
.btn,.button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
||||
.disabled,.btn:disabled,.button:disabled{cursor:not-allowed;opacity:0.3}.disabled *,:disabled *{pointer-events:none}
|
||||
.btn.disabled:hover,.btn:disabled:hover{box-shadow:none}
|
||||
.badge,.tag{background-color:#000;color:#fff;display:inline-block;padding-left:8px;padding-right:8px;text-align:center}.badge{border-radius:50%}
|
||||
.ul{list-style-type:none;padding:0;margin:0}.ul li{padding:8px 16px;border-bottom:1px solid #ddd}.ul li:last-child{border-bottom:none}
|
||||
.tooltip,.display-container{position:relative}.tooltip .text{display:none}.tooltip:hover .text{display:inline-block}
|
||||
.ripple:active{opacity:0.5}.ripple{transition:opacity 0s}
|
||||
.input{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:100%}
|
||||
.select{padding:9px 0;width:100%;border:none;border-bottom:1px solid #ccc}
|
||||
.dropdown-click,.dropdown-hover{position:relative;display:inline-block;cursor:pointer}
|
||||
.dropdown-hover:hover .dropdown-content{display:block}
|
||||
.dropdown-hover:first-child,.dropdown-click:hover{background-color:#ccc;color:#000}
|
||||
.dropdown-hover:hover > .button:first-child,.dropdown-click:hover > .button:first-child{background-color:#ccc;color:#000}
|
||||
.dropdown-content{cursor:auto;color:#000;background-color:#fff;display:none;position:absolute;min-width:160px;margin:0;padding:0;z-index:1}
|
||||
.check,.radio{width:24px;height:24px;position:relative;top:6px}
|
||||
.sidebar{height:100%;width:200px;background-color:#fff;position:fixed!important;z-index:1;overflow:auto}
|
||||
.bar-block .dropdown-hover,.bar-block .dropdown-click{width:100%}
|
||||
.bar-block .dropdown-hover .dropdown-content,.bar-block .dropdown-click .dropdown-content{min-width:100%}
|
||||
.bar-block .dropdown-hover .button,.bar-block .dropdown-click .button{width:100%;text-align:left;padding:8px 16px}
|
||||
.main,#main{transition:margin-left .4s}
|
||||
.modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
|
||||
.modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px}
|
||||
.bar{width:100%;overflow:hidden}.center .bar{display:inline-block;width:auto}
|
||||
.bar .bar-item{padding:8px 16px;float:left;width:auto;border:none;display:block;outline:0}
|
||||
.bar .dropdown-hover,.bar .dropdown-click{position:static;float:left}
|
||||
.bar .button{white-space:normal}
|
||||
.bar-block .bar-item{width:100%;display:block;padding:8px 16px;text-align:left;border:none;white-space:normal;float:none;outline:0}
|
||||
.bar-block.center .bar-item{text-align:center}.block{display:block;width:100%}
|
||||
.responsive{display:block;overflow-x:auto}
|
||||
.container:after,.container:before,.panel:after,.panel:before,.row:after,.row:before,.row-padding:after,.row-padding:before,
|
||||
.cell-row:before,.cell-row:after,.clear:after,.clear:before,.bar:before,.bar:after{content:"";display:table;clear:both}
|
||||
.col,.half,.third,.twothird,.threequarter,.quarter{float:left;width:100%}
|
||||
.col.s1{width:8.33333%}.col.s2{width:16.66666%}.col.s3{width:24.99999%}.col.s4{width:33.33333%}
|
||||
.col.s5{width:41.66666%}.col.s6{width:49.99999%}.col.s7{width:58.33333%}.col.s8{width:66.66666%}
|
||||
.col.s9{width:74.99999%}.col.s10{width:83.33333%}.col.s11{width:91.66666%}.col.s12{width:99.99999%}
|
||||
@media (min-width:601px){.col.m1{width:8.33333%}.col.m2{width:16.66666%}.col.m3,.quarter{width:24.99999%}.col.m4,.third{width:33.33333%}
|
||||
.col.m5{width:41.66666%}.col.m6,.half{width:49.99999%}.col.m7{width:58.33333%}.col.m8,.twothird{width:66.66666%}
|
||||
.col.m9,.threequarter{width:74.99999%}.col.m10{width:83.33333%}.col.m11{width:91.66666%}.col.m12{width:99.99999%}}
|
||||
@media (min-width:993px){.col.l1{width:8.33333%}.col.l2{width:16.66666%}.col.l3{width:24.99999%}.col.l4{width:33.33333%}
|
||||
.col.l5{width:41.66666%}.col.l6{width:49.99999%}.col.l7{width:58.33333%}.col.l8{width:66.66666%}
|
||||
.col.l9{width:74.99999%}.col.l10{width:83.33333%}.col.l11{width:91.66666%}.col.l12{width:99.99999%}}
|
||||
.rest{overflow:hidden}.stretch{margin-left:-16px;margin-right:-16px}
|
||||
.content,.auto{margin-left:auto;margin-right:auto}.content{max-width:980px}.auto{max-width:1140px}
|
||||
.cell-row{display:table;width:100%}.cell{display:table-cell}
|
||||
.cell-top{vertical-align:top}.cell-middle{vertical-align:middle}.cell-bottom{vertical-align:bottom}
|
||||
.hide{display:none!important}.show-block,.show{display:block!important}.show-inline-block{display:inline-block!important}
|
||||
@media (max-width:1205px){.auto{max-width:95%}}
|
||||
@media (max-width:600px){.modal-content{margin:0 10px;width:auto!important}.modal{padding-top:30px}
|
||||
.dropdown-hover.mobile .dropdown-content,.dropdown-click.mobile .dropdown-content{position:relative}
|
||||
.hide-small{display:none!important}.mobile{display:block;width:100%!important}.bar-item.mobile,.dropdown-hover.mobile,.dropdown-click.mobile{text-align:center}
|
||||
.dropdown-hover.mobile,.dropdown-hover.mobile .btn,.dropdown-hover.mobile .button,.dropdown-click.mobile,.dropdown-click.mobile .btn,.dropdown-click.mobile .button{width:100%}}
|
||||
@media (max-width:768px){.modal-content{width:500px}.modal{padding-top:50px}}
|
||||
@media (min-width:993px){.modal-content{width:900px}.hide-large{display:none!important}.sidebar.collapse{display:block!important}}
|
||||
@media (max-width:992px) and (min-width:601px){.hide-medium{display:none!important}}
|
||||
@media (max-width:992px){.sidebar.collapse{display:none}.main{margin-left:0!important;margin-right:0!important}.auto{max-width:100%}}
|
||||
.top,.bottom{position:fixed;width:100%;z-index:1}.top{top:0}.bottom{bottom:0}
|
||||
.overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.5);z-index:2}
|
||||
.display-topleft{position:absolute;left:0;top:0}.display-topright{position:absolute;right:0;top:0}
|
||||
.display-bottomleft{position:absolute;left:0;bottom:0}.display-bottomright{position:absolute;right:0;bottom:0}
|
||||
.display-middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%)}
|
||||
.display-left{position:absolute;top:50%;left:0%;transform:translate(0%,-50%);-ms-transform:translate(-0%,-50%)}
|
||||
.display-right{position:absolute;top:50%;right:0%;transform:translate(0%,-50%);-ms-transform:translate(0%,-50%)}
|
||||
.display-topmiddle{position:absolute;left:50%;top:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
|
||||
.display-bottommiddle{position:absolute;left:50%;bottom:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
|
||||
.display-container:hover .display-hover{display:block}.display-container:hover span.display-hover{display:inline-block}.display-hover{display:none}
|
||||
.display-position{position:absolute}
|
||||
.circle{border-radius:50%}
|
||||
.round-small{border-radius:2px}.round,.round-medium{border-radius:4px}.round-large{border-radius:8px}.round-xlarge{border-radius:16px}.round-xxlarge{border-radius:32px}
|
||||
.row-padding,.row-padding>.half,.row-padding>.third,.row-padding>.twothird,.row-padding>.threequarter,.row-padding>.quarter,.row-padding>.col{padding:0 8px}
|
||||
.container,.panel{padding:0.01em 16px}.panel{margin-top:16px;margin-bottom:16px}
|
||||
.code,.codespan{font-family:Consolas,"courier new";font-size:16px}
|
||||
.code{width:auto;background-color:#fff;padding:8px 12px;border-left:4px solid #4CAF50;word-wrap:break-word}
|
||||
.codespan{color:crimson;background-color:#f1f1f1;padding-left:4px;padding-right:4px;font-size:110%}
|
||||
.card,.card-2{box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
|
||||
.card-4,.hover-shadow:hover{box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)}
|
||||
.spin{animation:spin 2s infinite linear}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}
|
||||
.animate-fading{animation:fading 10s infinite}@keyframes fading{0%{opacity:0}50%{opacity:1}100%{opacity:0}}
|
||||
.animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}
|
||||
.animate-top{position:relative;animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
|
||||
.animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
|
||||
.animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
|
||||
.animate-bottom{position:relative;animation:animatebottom 0.4s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}
|
||||
.animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
|
||||
.animate-input{transition:width 0.4s ease-in-out}.animate-input:focus{width:100%!important}
|
||||
.opacity,.hover-opacity:hover{opacity:0.60}.opacity-off,.hover-opacity-off:hover{opacity:1}
|
||||
.opacity-max{opacity:0.25}.opacity-min{opacity:0.75}
|
||||
.greyscale-max,.grayscale-max,.hover-greyscale:hover,.hover-grayscale:hover{filter:grayscale(100%)}
|
||||
.greyscale,.grayscale{filter:grayscale(75%)}.greyscale-min,.grayscale-min{filter:grayscale(50%)}
|
||||
.sepia{filter:sepia(75%)}.sepia-max,.hover-sepia:hover{filter:sepia(100%)}.sepia-min{filter:sepia(50%)}
|
||||
.tiny{font-size:10px!important}.small{font-size:12px!important}.medium{font-size:15px!important}.large{font-size:18px!important}
|
||||
.xlarge{font-size:24px!important}.xxlarge{font-size:36px!important}.xxxlarge{font-size:48px!important}.jumbo{font-size:64px!important}
|
||||
.left-align{text-align:left!important}.right-align{text-align:right!important}.justify{text-align:justify!important}.center{text-align:center!important}
|
||||
.border-0{border:0!important}.border{border:1px solid #ccc!important}
|
||||
.border-top{border-top:1px solid #ccc!important}.border-bottom{border-bottom:1px solid #ccc!important}
|
||||
.border-left{border-left:1px solid #ccc!important}.border-right{border-right:1px solid #ccc!important}
|
||||
.topbar{border-top:6px solid #ccc!important}.bottombar{border-bottom:6px solid #ccc!important}
|
||||
.leftbar{border-left:6px solid #ccc!important}.rightbar{border-right:6px solid #ccc!important}
|
||||
.section,.code{margin-top:16px!important;margin-bottom:16px!important}
|
||||
.margin{margin:16px!important}.margin-top{margin-top:16px!important}.margin-bottom{margin-bottom:16px!important}
|
||||
.margin-left{margin-left:16px!important}.margin-right{margin-right:16px!important}
|
||||
.padding-small{padding:4px 8px!important}.padding{padding:8px 16px!important}.padding-large{padding:12px 24px!important}
|
||||
.padding-16{padding-top:16px!important;padding-bottom:16px!important}.padding-24{padding-top:24px!important;padding-bottom:24px!important}
|
||||
.padding-32{padding-top:32px!important;padding-bottom:32px!important}.padding-48{padding-top:48px!important;padding-bottom:48px!important}
|
||||
.padding-64{padding-top:64px!important;padding-bottom:64px!important}
|
||||
.padding-top-64{padding-top:64px!important}.padding-top-48{padding-top:48px!important}
|
||||
.padding-top-32{padding-top:32px!important}.padding-top-24{padding-top:24px!important}
|
||||
.left{float:left!important}.right{float:right!important}
|
||||
.button:hover{color:#000!important;background-color:#ccc!important}
|
||||
.transparent,.hover-none:hover{background-color:transparent!important}
|
||||
.hover-none:hover{box-shadow:none!important}
|
||||
/* Colors */
|
||||
.w3-amber,.w3-hover-amber:hover{color:#000!important;background-color:#ffc107!important}
|
||||
.w3-aqua,.w3-hover-aqua:hover{color:#000!important;background-color:#00ffff!important}
|
||||
.w3-blue,.w3-hover-blue:hover{color:#fff!important;background-color:#2196F3!important}
|
||||
.w3-light-blue,.w3-hover-light-blue:hover{color:#000!important;background-color:#87CEEB!important}
|
||||
.w3-brown,.w3-hover-brown:hover{color:#fff!important;background-color:#795548!important}
|
||||
.w3-cyan,.w3-hover-cyan:hover{color:#000!important;background-color:#00bcd4!important}
|
||||
.w3-blue-grey,.w3-hover-blue-grey:hover,.w3-blue-gray,.w3-hover-blue-gray:hover{color:#fff!important;background-color:#607d8b!important}
|
||||
.w3-green,.w3-hover-green:hover{color:#fff!important;background-color:#4CAF50!important}
|
||||
.w3-light-green,.w3-hover-light-green:hover{color:#000!important;background-color:#8bc34a!important}
|
||||
.w3-indigo,.w3-hover-indigo:hover{color:#fff!important;background-color:#3f51b5!important}
|
||||
.w3-khaki,.w3-hover-khaki:hover{color:#000!important;background-color:#f0e68c!important}
|
||||
.w3-lime,.w3-hover-lime:hover{color:#000!important;background-color:#cddc39!important}
|
||||
.w3-orange,.w3-hover-orange:hover{color:#000!important;background-color:#ff9800!important}
|
||||
.w3-deep-orange,.w3-hover-deep-orange:hover{color:#fff!important;background-color:#ff5722!important}
|
||||
.w3-pink,.w3-hover-pink:hover{color:#fff!important;background-color:#e91e63!important}
|
||||
.w3-purple,.w3-hover-purple:hover{color:#fff!important;background-color:#9c27b0!important}
|
||||
.w3-deep-purple,.w3-hover-deep-purple:hover{color:#fff!important;background-color:#673ab7!important}
|
||||
.w3-red,.w3-hover-red:hover{color:#fff!important;background-color:#f44336!important}
|
||||
.w3-sand,.w3-hover-sand:hover{color:#000!important;background-color:#fdf5e6!important}
|
||||
.w3-teal,.w3-hover-teal:hover{color:#fff!important;background-color:#009688!important}
|
||||
.w3-yellow,.w3-hover-yellow:hover{color:#000!important;background-color:#ffeb3b!important}
|
||||
.w3-white,.w3-hover-white:hover{color:#000!important;background-color:#fff!important}
|
||||
.w3-black,.w3-hover-black:hover{color:#fff!important;background-color:#000!important}
|
||||
.w3-grey,.w3-hover-grey:hover,.w3-gray,.w3-hover-gray:hover{color:#000!important;background-color:#9e9e9e!important}
|
||||
.w3-light-grey,.w3-hover-light-grey:hover,.w3-light-gray,.w3-hover-light-gray:hover{color:#000!important;background-color:#f1f1f1!important}
|
||||
.w3-dark-grey,.w3-hover-dark-grey:hover,.w3-dark-gray,.w3-hover-dark-gray:hover{color:#fff!important;background-color:#616161!important}
|
||||
.w3-pale-red,.w3-hover-pale-red:hover{color:#000!important;background-color:#ffdddd!important}
|
||||
.w3-pale-green,.w3-hover-pale-green:hover{color:#000!important;background-color:#ddffdd!important}
|
||||
.w3-pale-yellow,.w3-hover-pale-yellow:hover{color:#000!important;background-color:#ffffcc!important}
|
||||
.w3-pale-blue,.w3-hover-pale-blue:hover{color:#000!important;background-color:#ddffff!important}
|
||||
.w3-text-amber,.w3-hover-text-amber:hover{color:#ffc107!important}
|
||||
.w3-text-aqua,.w3-hover-text-aqua:hover{color:#00ffff!important}
|
||||
.w3-text-blue,.w3-hover-text-blue:hover{color:#2196F3!important}
|
||||
.w3-text-light-blue,.w3-hover-text-light-blue:hover{color:#87CEEB!important}
|
||||
.w3-text-brown,.w3-hover-text-brown:hover{color:#795548!important}
|
||||
.w3-text-cyan,.w3-hover-text-cyan:hover{color:#00bcd4!important}
|
||||
.w3-text-blue-grey,.w3-hover-text-blue-grey:hover,.w3-text-blue-gray,.w3-hover-text-blue-gray:hover{color:#607d8b!important}
|
||||
.w3-text-green,.w3-hover-text-green:hover{color:#4CAF50!important}
|
||||
.w3-text-light-green,.w3-hover-text-light-green:hover{color:#8bc34a!important}
|
||||
.w3-text-indigo,.w3-hover-text-indigo:hover{color:#3f51b5!important}
|
||||
.w3-text-khaki,.w3-hover-text-khaki:hover{color:#b4aa50!important}
|
||||
.w3-text-lime,.w3-hover-text-lime:hover{color:#cddc39!important}
|
||||
.w3-text-orange,.w3-hover-text-orange:hover{color:#ff9800!important}
|
||||
.w3-text-deep-orange,.w3-hover-text-deep-orange:hover{color:#ff5722!important}
|
||||
.w3-text-pink,.w3-hover-text-pink:hover{color:#e91e63!important}
|
||||
.w3-text-purple,.w3-hover-text-purple:hover{color:#9c27b0!important}
|
||||
.w3-text-deep-purple,.w3-hover-text-deep-purple:hover{color:#673ab7!important}
|
||||
.w3-text-red,.w3-hover-text-red:hover{color:#f44336!important}
|
||||
.w3-text-sand,.w3-hover-text-sand:hover{color:#fdf5e6!important}
|
||||
.w3-text-teal,.w3-hover-text-teal:hover{color:#009688!important}
|
||||
.w3-text-yellow,.w3-hover-text-yellow:hover{color:#d2be0e!important}
|
||||
.w3-text-white,.w3-hover-text-white:hover{color:#fff!important}
|
||||
.w3-text-black,.w3-hover-text-black:hover{color:#000!important}
|
||||
.w3-text-grey,.w3-hover-text-grey:hover,.w3-text-gray,.w3-hover-text-gray:hover{color:#757575!important}
|
||||
.w3-text-light-grey,.w3-hover-text-light-grey:hover,.w3-text-light-gray,.w3-hover-text-light-gray:hover{color:#f1f1f1!important}
|
||||
.w3-text-dark-grey,.w3-hover-text-dark-grey:hover,.w3-text-dark-gray,.w3-hover-text-dark-gray:hover{color:#3a3a3a!important}
|
||||
.w3-border-amber,.w3-hover-border-amber:hover{border-color:#ffc107!important}
|
||||
.w3-border-aqua,.w3-hover-border-aqua:hover{border-color:#00ffff!important}
|
||||
.w3-border-blue,.w3-hover-border-blue:hover{border-color:#2196F3!important}
|
||||
.w3-border-light-blue,.w3-hover-border-light-blue:hover{border-color:#87CEEB!important}
|
||||
.w3-border-brown,.w3-hover-border-brown:hover{border-color:#795548!important}
|
||||
.w3-border-cyan,.w3-hover-border-cyan:hover{border-color:#00bcd4!important}
|
||||
.w3-border-blue-grey,.w3-hover-border-blue-grey:hover,.w3-border-blue-gray,.w3-hover-border-blue-gray:hover{border-color:#607d8b!important}
|
||||
.w3-border-green,.w3-hover-border-green:hover{border-color:#4CAF50!important}
|
||||
.w3-border-light-green,.w3-hover-border-light-green:hover{border-color:#8bc34a!important}
|
||||
.w3-border-indigo,.w3-hover-border-indigo:hover{border-color:#3f51b5!important}
|
||||
.w3-border-khaki,.w3-hover-border-khaki:hover{border-color:#f0e68c!important}
|
||||
.w3-border-lime,.w3-hover-border-lime:hover{border-color:#cddc39!important}
|
||||
.w3-border-orange,.w3-hover-border-orange:hover{border-color:#ff9800!important}
|
||||
.w3-border-deep-orange,.w3-hover-border-deep-orange:hover{border-color:#ff5722!important}
|
||||
.w3-border-pink,.w3-hover-border-pink:hover{border-color:#e91e63!important}
|
||||
.w3-border-purple,.w3-hover-border-purple:hover{border-color:#9c27b0!important}
|
||||
.w3-border-deep-purple,.w3-hover-border-deep-purple:hover{border-color:#673ab7!important}
|
||||
.w3-border-red,.w3-hover-border-red:hover{border-color:#f44336!important}
|
||||
.w3-border-sand,.w3-hover-border-sand:hover{border-color:#fdf5e6!important}
|
||||
.w3-border-teal,.w3-hover-border-teal:hover{border-color:#009688!important}
|
||||
.w3-border-yellow,.w3-hover-border-yellow:hover{border-color:#ffeb3b!important}
|
||||
.w3-border-white,.w3-hover-border-white:hover{border-color:#fff!important}
|
||||
.w3-border-black,.w3-hover-border-black:hover{border-color:#000!important}
|
||||
.w3-border-grey,.w3-hover-border-grey:hover,.w3-border-gray,.w3-hover-border-gray:hover{border-color:#9e9e9e!important}
|
||||
.w3-border-light-grey,.w3-hover-border-light-grey:hover,.w3-border-light-gray,.w3-hover-border-light-gray:hover{border-color:#f1f1f1!important}
|
||||
.w3-border-dark-grey,.w3-hover-border-dark-grey:hover,.w3-border-dark-gray,.w3-hover-border-dark-gray:hover{border-color:#616161!important}
|
||||
.w3-border-pale-red,.w3-hover-border-pale-red:hover{border-color:#ffe7e7!important}.w3-border-pale-green,.w3-hover-border-pale-green:hover{border-color:#e7ffe7!important}
|
||||
.w3-border-pale-yellow,.w3-hover-border-pale-yellow:hover{border-color:#ffffcc!important}.w3-border-pale-blue,.w3-hover-border-pale-blue:hover{border-color:#e7ffff!important}
|
||||
.amber,.hover-amber:hover{color:#000!important;background-color:#ffc107!important}
|
||||
.aqua,.hover-aqua:hover{color:#000!important;background-color:#00ffff!important}
|
||||
.blue,.hover-blue:hover{color:#fff!important;background-color:#2196F3!important}
|
||||
.light-blue,.hover-light-blue:hover{color:#000!important;background-color:#87CEEB!important}
|
||||
.brown,.hover-brown:hover{color:#fff!important;background-color:#795548!important}
|
||||
.cyan,.hover-cyan:hover{color:#000!important;background-color:#00bcd4!important}
|
||||
.blue-grey,.hover-blue-grey:hover,.blue-gray,.hover-blue-gray:hover{color:#fff!important;background-color:#607d8b!important}
|
||||
.green,.hover-green:hover{color:#fff!important;background-color:#4CAF50!important}
|
||||
.light-green,.hover-light-green:hover{color:#000!important;background-color:#8bc34a!important}
|
||||
.indigo,.hover-indigo:hover{color:#fff!important;background-color:#3f51b5!important}
|
||||
.khaki,.hover-khaki:hover{color:#000!important;background-color:#f0e68c!important}
|
||||
.lime,.hover-lime:hover{color:#000!important;background-color:#cddc39!important}
|
||||
.orange,.hover-orange:hover{color:#000!important;background-color:#ff9800!important}
|
||||
.deep-orange,.hover-deep-orange:hover{color:#fff!important;background-color:#ff5722!important}
|
||||
.pink,.hover-pink:hover{color:#fff!important;background-color:#e91e63!important}
|
||||
.purple,.hover-purple:hover{color:#fff!important;background-color:#9c27b0!important}
|
||||
.deep-purple,.hover-deep-purple:hover{color:#fff!important;background-color:#673ab7!important}
|
||||
.red,.hover-red:hover{color:#fff!important;background-color:#f44336!important}
|
||||
.sand,.hover-sand:hover{color:#000!important;background-color:#fdf5e6!important}
|
||||
.teal,.hover-teal:hover{color:#fff!important;background-color:#009688!important}
|
||||
.yellow,.hover-yellow:hover{color:#000!important;background-color:#ffeb3b!important}
|
||||
.white,.hover-white:hover{color:#000!important;background-color:#fff!important}
|
||||
.black,.hover-black:hover{color:#fff!important;background-color:#000!important}
|
||||
.grey,.hover-grey:hover,.gray,.hover-gray:hover{color:#000!important;background-color:#9e9e9e!important}
|
||||
.light-grey,.hover-light-grey:hover,.light-gray,.hover-light-gray:hover{color:#000!important;background-color:#f1f1f1!important}
|
||||
.dark-grey,.hover-dark-grey:hover,.dark-gray,.hover-dark-gray:hover{color:#fff!important;background-color:#616161!important}
|
||||
.pale-red,.hover-pale-red:hover{color:#000!important;background-color:#ffdddd!important}
|
||||
.pale-green,.hover-pale-green:hover{color:#000!important;background-color:#ddffdd!important}
|
||||
.pale-yellow,.hover-pale-yellow:hover{color:#000!important;background-color:#ffffcc!important}
|
||||
.pale-blue,.hover-pale-blue:hover{color:#000!important;background-color:#ddffff!important}
|
||||
.text-amber,.hover-text-amber:hover{color:#ffc107!important}
|
||||
.text-aqua,.hover-text-aqua:hover{color:#00ffff!important}
|
||||
.text-blue,.hover-text-blue:hover{color:#2196F3!important}
|
||||
.text-light-blue,.hover-text-light-blue:hover{color:#87CEEB!important}
|
||||
.text-brown,.hover-text-brown:hover{color:#795548!important}
|
||||
.text-cyan,.hover-text-cyan:hover{color:#00bcd4!important}
|
||||
.text-blue-grey,.hover-text-blue-grey:hover,.text-blue-gray,.hover-text-blue-gray:hover{color:#607d8b!important}
|
||||
.text-green,.hover-text-green:hover{color:#4CAF50!important}
|
||||
.text-light-green,.hover-text-light-green:hover{color:#8bc34a!important}
|
||||
.text-indigo,.hover-text-indigo:hover{color:#3f51b5!important}
|
||||
.text-khaki,.hover-text-khaki:hover{color:#b4aa50!important}
|
||||
.text-lime,.hover-text-lime:hover{color:#cddc39!important}
|
||||
.text-orange,.hover-text-orange:hover{color:#ff9800!important}
|
||||
.text-deep-orange,.hover-text-deep-orange:hover{color:#ff5722!important}
|
||||
.text-pink,.hover-text-pink:hover{color:#e91e63!important}
|
||||
.text-purple,.hover-text-purple:hover{color:#9c27b0!important}
|
||||
.text-deep-purple,.hover-text-deep-purple:hover{color:#673ab7!important}
|
||||
.text-red,.hover-text-red:hover{color:#f44336!important}
|
||||
.text-sand,.hover-text-sand:hover{color:#fdf5e6!important}
|
||||
.text-teal,.hover-text-teal:hover{color:#009688!important}
|
||||
.text-yellow,.hover-text-yellow:hover{color:#d2be0e!important}
|
||||
.text-white,.hover-text-white:hover{color:#fff!important}
|
||||
.text-black,.hover-text-black:hover{color:#000!important}
|
||||
.text-grey,.hover-text-grey:hover,.text-gray,.hover-text-gray:hover{color:#757575!important}
|
||||
.text-light-grey,.hover-text-light-grey:hover,.text-light-gray,.hover-text-light-gray:hover{color:#f1f1f1!important}
|
||||
.text-dark-grey,.hover-text-dark-grey:hover,.text-dark-gray,.hover-text-dark-gray:hover{color:#3a3a3a!important}
|
||||
.border-amber,.hover-border-amber:hover{border-color:#ffc107!important}
|
||||
.border-aqua,.hover-border-aqua:hover{border-color:#00ffff!important}
|
||||
.border-blue,.hover-border-blue:hover{border-color:#2196F3!important}
|
||||
.border-light-blue,.hover-border-light-blue:hover{border-color:#87CEEB!important}
|
||||
.border-brown,.hover-border-brown:hover{border-color:#795548!important}
|
||||
.border-cyan,.hover-border-cyan:hover{border-color:#00bcd4!important}
|
||||
.border-blue-grey,.hover-border-blue-grey:hover,.border-blue-gray,.hover-border-blue-gray:hover{border-color:#607d8b!important}
|
||||
.border-green,.hover-border-green:hover{border-color:#4CAF50!important}
|
||||
.border-light-green,.hover-border-light-green:hover{border-color:#8bc34a!important}
|
||||
.border-indigo,.hover-border-indigo:hover{border-color:#3f51b5!important}
|
||||
.border-khaki,.hover-border-khaki:hover{border-color:#f0e68c!important}
|
||||
.border-lime,.hover-border-lime:hover{border-color:#cddc39!important}
|
||||
.border-orange,.hover-border-orange:hover{border-color:#ff9800!important}
|
||||
.border-deep-orange,.hover-border-deep-orange:hover{border-color:#ff5722!important}
|
||||
.border-pink,.hover-border-pink:hover{border-color:#e91e63!important}
|
||||
.border-purple,.hover-border-purple:hover{border-color:#9c27b0!important}
|
||||
.border-deep-purple,.hover-border-deep-purple:hover{border-color:#673ab7!important}
|
||||
.border-red,.hover-border-red:hover{border-color:#f44336!important}
|
||||
.border-sand,.hover-border-sand:hover{border-color:#fdf5e6!important}
|
||||
.border-teal,.hover-border-teal:hover{border-color:#009688!important}
|
||||
.border-yellow,.hover-border-yellow:hover{border-color:#ffeb3b!important}
|
||||
.border-white,.hover-border-white:hover{border-color:#fff!important}
|
||||
.border-black,.hover-border-black:hover{border-color:#000!important}
|
||||
.border-grey,.hover-border-grey:hover,.border-gray,.hover-border-gray:hover{border-color:#9e9e9e!important}
|
||||
.border-light-grey,.hover-border-light-grey:hover,.border-light-gray,.hover-border-light-gray:hover{border-color:#f1f1f1!important}
|
||||
.border-dark-grey,.hover-border-dark-grey:hover,.border-dark-gray,.hover-border-dark-gray:hover{border-color:#616161!important}
|
||||
.border-pale-red,.hover-border-pale-red:hover{border-color:#ffe7e7!important}.border-pale-green,.hover-border-pale-green:hover{border-color:#e7ffe7!important}
|
||||
.border-pale-yellow,.hover-border-pale-yellow:hover{border-color:#ffffcc!important}.border-pale-blue,.hover-border-pale-blue:hover{border-color:#e7ffff!important}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -5,10 +5,10 @@ window.client.padding.width: 0
|
|||
window.client.padding.height: 0
|
||||
window.handle.width: 4
|
||||
|
||||
window.active.label.text.font: shadow=y:shadowtint=70:shadowoffset=1
|
||||
window.inactive.label.text.font: shadow=y:shadowtint=20:shadowoffset=1
|
||||
window.active.label.text.font: shadow=n:shadowtint=70:shadowoffset=1
|
||||
window.inactive.label.text.font: shadow=n:shadowtint=20:shadowoffset=1
|
||||
|
||||
*.active.border.color: #292929
|
||||
*.active.border.color: #111111
|
||||
*.inactive.border.color: #292929
|
||||
|
||||
window.active.grip.bg: parentrelative
|
||||
|
@ -19,9 +19,18 @@ window.*.button.*.bg: parentrelative
|
|||
window.*.handle.bg: flat vertical gradient
|
||||
window.*.text.justify: center
|
||||
|
||||
window.active.title.bg.color: #579c8e
|
||||
window.active.title.bg.colorTo: #41756a
|
||||
window.active.title.bg.color.splitTo: #add2ca
|
||||
window.active.title.bg.color: #579C8E
|
||||
window.active.title.bg.colorTo: #3d6e64
|
||||
window.active.title.bg.colorTo.splitTo: #539588
|
||||
window.active.label.text.color: #ffffff
|
||||
|
||||
window.inactive.title.bg.color.splitTo: #7e7e7e
|
||||
window.inactive.title.bg.color: #383838
|
||||
window.inactive.title.bg.colorTo: #1f1f1f
|
||||
window.inactive.title.bg.colorTo.splitTo: #3e3e3e
|
||||
window.inactive.label.text.color: #898989
|
||||
|
||||
window.active.button.*.unpressed.image.color: #ffffff
|
||||
window.active.button.*.disabled.image.color: #8fbdb3
|
||||
window.active.button.*.hover.image.color: #abcdc6
|
||||
|
@ -31,9 +40,6 @@ window.active.handle.bg.colorTo: #2a2a2a
|
|||
window.active.grip.bg.color: #383838
|
||||
window.active.grip.bg.colorTo: #2a2a2a
|
||||
|
||||
window.inactive.title.bg.color: #383838
|
||||
window.inactive.title.bg.colorTo: #2a2a2a
|
||||
window.inactive.label.text.color: #898989
|
||||
window.inactive.button.*.unpressed.image.color: #898989
|
||||
window.inactive.button.*.disabled.image.color: #6e6e6e
|
||||
window.inactive.button.*.hover.image.color: #dadada
|
||||
|
|
Loading…
Reference in New Issue