# Path: kano/paths.py
# DNS_FILE = '/etc/resolvconf/resolv.conf.d/base'
# DNS_INTERFACES_FILE = '/etc/resolvconf/interface-order'
# DNS_INTERFACES_BACKUP_FILE = '/etc/resolvconf/interface-order.backup'
# SUPPLICANT_LOGFILE = '/var/log/kano_wpa.log'
# SUPPLICANT_CONFIG = '/etc/wpa_supplicant/wpa_supplicant.conf'
# INTERNET_UP_FILE = '/var/run/internet_monitor'
# KANO_CONNECT_PIDFILE = '/var/run/kano-connect.pid'


import os
import sys
from gi import require_version
from gi.repository import Gtk, Gdk
from kano.paths import common_css_dir
#
# apply_styles.py
#
# Copyright (C) 2014 - 2018 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPLv2
#
# This is a function to apply the common styles across a window
#


require_version('Gtk', '3.0')



# Apply the general CSS files to the screen
def apply_common_to_screen():
    apply_colours_to_screen()
    apply_base_to_screen()


# This applies the colour variable names to the screen
def apply_colours_to_screen():

# Path: kano/paths.py
# DNS_FILE = '/etc/resolvconf/resolv.conf.d/base'
# DNS_INTERFACES_FILE = '/etc/resolvconf/interface-order'
# DNS_INTERFACES_BACKUP_FILE = '/etc/resolvconf/interface-order.backup'
# SUPPLICANT_LOGFILE = '/var/log/kano_wpa.log'
# SUPPLICANT_CONFIG = '/etc/wpa_supplicant/wpa_supplicant.conf'
# INTERNET_UP_FILE = '/var/run/internet_monitor'
# KANO_CONNECT_PIDFILE = '/var/run/kano-connect.pid'


# Path: kano/gtk3/apply_styles.py
import os
import sys
from gi import require_version
from gi.repository import Gtk, Gdk
from kano.paths import common_css_dir

#
# apply_styles.py
#
# Copyright (C) 2014 - 2018 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPLv2
#
# This is a function to apply the common styles across a window
#


require_version('Gtk', '3.0')



# Apply the general CSS files to the screen
def apply_common_to_screen():
    apply_colours_to_screen()
    apply_base_to_screen()


# This applies the colour variable names to the screen
def apply_colours_to_screen():

    apply_styling_to_screen(common_css_dir + "/colours.css", "APPLICATION")