1
0
Fork 0
mirror of synced 2024-09-30 09:17:37 +13:00
Rare/rare/resources/static_css/__init__.py
loathingKernel 1dd8856a29 Resources: Add static stylesheet for widgets that need special handling irregardless of theme
The static stylesheet properties are always applied. If there is a theme
stylesheet to be applied, they are appended in the end of the theme
stylesheet.

This removes stylesheet properties from the library widgets, some special
buttons and the queue worker labels.

To update the static stylesheet first edit `rare/resources/static_css/stylesheet.py`
and then execute it as a script.
2023-03-02 15:36:45 +02:00

92 lines
3.8 KiB
Python

# -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x02\x36\
\x00\
\x00\x09\x99\x78\x9c\xbd\x55\x5d\x6f\x9b\x30\x14\x7d\xcf\xaf\x70\
\x12\x45\x6a\xab\xa6\xe5\x63\x90\x40\xb5\x97\x29\x7b\x88\x94\xae\
\xab\xca\xd6\x87\x69\x0f\x06\x2e\x60\xd5\xc5\xc8\x36\x4d\xd9\xb4\
\xff\x3e\x08\x69\x0a\x2b\x5f\x9d\xb6\x46\x51\x20\xbe\xf6\x39\xf7\
\x9c\x6b\x5f\x8f\xce\x4f\x90\x13\x11\x81\x02\x42\x01\xe5\x4f\x9c\
\x4a\x36\x0f\x21\x06\x8e\x25\xf8\x28\xe0\xec\x1e\x4d\x84\xcc\x28\
\x88\x08\x40\x9e\x25\xd9\xe4\x0c\xad\xae\xd0\xa7\x2b\x07\x7d\x5c\
\xad\x9d\xf1\x78\x8c\x4e\xce\x47\xa3\xeb\xcf\xa9\x88\x3e\xa4\x52\
\xb2\x78\xba\x8e\x85\xc4\x94\x96\xff\xd0\xcf\x11\xca\x3f\x2e\xe3\
\x3e\xf0\xb9\xc7\x28\xe3\x36\x9a\x2a\x8a\xfb\x4e\x51\x2e\xca\x10\
\xf6\xee\x42\xce\xd2\xd8\xaf\x84\x17\xcb\x22\xfc\xab\x1d\xd7\x8e\
\xd8\x03\xf0\x36\xf4\xe5\xa2\x13\xdd\xc0\x7d\xe8\x3e\x11\xd8\xa5\
\xb9\x03\x2d\x04\xba\xd7\x49\xa0\x35\xa4\xff\x25\x26\xfd\xc6\x14\
\xb6\x74\x20\x17\xb6\xf4\x22\x77\x59\x53\x18\xd3\x81\x5f\x18\xd3\
\x8f\xdf\x6d\x4e\x61\x4d\x07\x85\xf6\x2c\x61\x83\x5d\xa0\xd3\xeb\
\x14\x52\xb8\x65\xfc\x0e\xf8\x6e\xa0\x8e\xba\x25\xbe\x8c\x6c\xa4\
\x26\x8f\x17\xd5\xe1\xdd\x96\xb4\x91\x60\x94\xf8\xb5\x00\xc7\x3e\
\x49\x85\x8d\xf4\x62\x41\x2b\xc7\xb7\xed\xee\xdd\xc9\x12\x78\x3f\
\xf9\x0a\x9c\x04\xd9\xe4\x7b\xb3\x1c\xd3\x35\x16\x9a\xd7\x2a\x47\
\x37\x34\x4f\x35\x87\x52\x5d\xe6\x95\x69\x23\xd2\x14\xd3\x30\xdb\
\x89\x54\x45\xd7\xf4\x2a\xd1\xda\x63\xf1\x2d\xf1\x43\x90\x37\x12\
\xcb\x54\x54\xcd\x0b\x58\x2c\xe7\x5b\x20\x61\x24\xed\x9c\x87\xee\
\x3d\xda\x63\x6d\x23\x22\xa1\x8d\x88\x87\x2e\x3e\x52\x4e\x51\xf9\
\x35\x8d\xd9\x71\xa3\xbf\xc6\xac\x36\x2c\x59\x32\xa7\x10\xc8\x43\
\x5c\x55\x5f\x4e\xe0\x45\x3e\xf5\x19\xb9\x9a\x52\x43\x45\xce\x25\
\x89\x49\xf9\xb6\x57\xf3\x9c\xd9\x91\xa6\x2f\x4f\xd1\xd3\xcf\xf1\
\xbf\xd5\xe0\xb2\x7c\x77\xdf\xd7\x65\x58\x8d\x53\xea\x42\xac\x59\
\x63\x55\x1c\x22\x29\xfc\x97\xa2\x28\x85\x9e\x26\x46\xc6\xa8\x24\
\x49\x95\xf3\xef\xc1\xab\xad\xf1\xc0\xb0\xc1\x69\xec\x45\x0d\x0d\
\x6c\x77\x42\xcb\xe3\x88\x5c\x9a\x53\x34\x1a\xae\x2a\xb3\xd7\x94\
\x6c\x48\x16\x1d\xcd\x2e\xe4\x38\x6b\x07\x69\xbf\xa5\xde\x54\xcb\
\xd0\x4b\xed\x20\xa6\x2c\xfa\x86\x08\x39\x7c\x9b\x35\x2c\x1b\xdc\
\x33\xfa\xe4\x2d\xfe\x38\x5d\xc3\xdc\x33\x6a\xed\xb9\xa2\xe6\xe5\
\x16\x7e\xdb\x04\x56\xf0\x00\x94\x25\xf5\xbb\xe8\xa9\x07\x5b\x96\
\xd5\xb8\x28\xbf\x41\x04\x61\xf1\x6b\x96\xdc\x90\x1f\xd0\x31\xff\
\x37\xe2\x8d\x08\x3b\
"
qt_resource_name = b"\
\x00\x0a\
\x0a\xf6\x0f\xa3\
\x00\x73\
\x00\x74\x00\x61\x00\x74\x00\x69\x00\x63\x00\x5f\x00\x63\x00\x73\x00\x73\
\x00\x0e\
\x03\xc2\xd5\xc3\
\x00\x73\
\x00\x74\x00\x79\x00\x6c\x00\x65\x00\x73\x00\x68\x00\x65\x00\x65\x00\x74\x00\x2e\x00\x71\x00\x73\x00\x73\
"
qt_resource_struct_v1 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x1a\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\
"
qt_resource_struct_v2 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x1a\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x86\xa2\x75\x71\x92\
"
qt_version = [int(v) for v in QtCore.qVersion().split('.')]
if qt_version < [5, 8, 0]:
rcc_version = 1
qt_resource_struct = qt_resource_struct_v1
else:
rcc_version = 2
qt_resource_struct = qt_resource_struct_v2
def qInitResources():
QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
qInitResources()