Source code for src.utils.view.stylesheet

#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
Stylesheet
"""

__author__ = "Lemahieu Antoine"
__copyright__ = "Copyright 2022"
__credits__ = ["Lemahieu Antoine"]
__license__ = "GNU General Public License v3.0"
__maintainer__ = "Lemahieu Antoine"
__email__ = "Antoine.Lemahieu@ulb.be"
__status__ = "Dev"


[docs]def get_stylesheet(): """ Get the stylesheet of the project. :return: The stylesheet. :rtype: str """ stylesheet = ''' #RedProgressBar { text-align: center; } #RedProgressBar::chunk { background-color: #F44336; } #GreenProgressBar { min-height: 12px; max-height: 12px; border-radius: 6px; } #GreenProgressBar::chunk { border-radius: 6px; background-color: #009688; } #BlueProgressBar { border: 2px solid #2196F3; border-radius: 5px; background-color: #E0E0E0; } #BlueProgressBar::chunk { background-color: #2196F3; width: 10px; margin: 0.5px; } #BoundariesGridLayoutLeft { border: 1px solid black; border-bottom: 0px solid black; } #BoundariesGridLayoutRight { border: 1px solid black; border-left: 0px solid black; border-bottom: 0px solid black; } #BoundariesGridLayoutBottomLeft { border: 1px solid black; } #BoundariesGridLayoutBottomRight { border: 1px solid black; border-left: 0px solid black; } ''' return stylesheet