foreman_theme_custom 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 407d2ec247e9bf83a7644d750abb9ef89ac489d3ea903ea1aa6e65a471a79d83
|
|
4
|
+
data.tar.gz: '08b9dd7f4d3fe9014041e10d3269c70b74cdd546ccb763e7561e1292544f2a6f'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ace8aa06b9744d11f6f88bf6b2406c06d7634cc1e923d2c0d0a53e5b3693b1110d71c86c5c80022aff64bdf29602d2b882a42041b6401d3c24db2f514f70e1e
|
|
7
|
+
data.tar.gz: c763bbc3ae1ad17b0f7ba51d2f798fe7a9c885fb7bb231958b65947e7cbc98fc6dba180e9078b028db8176afa9f4a3324dc651e79512d16c0125f3aa49365e18
|
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
/* Foreman Theme Custom - static CSS (no precompile) */
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
/* Primary/link/danger colors */
|
|
5
|
+
--pf-global--primary-color--100: #0052cc;
|
|
6
|
+
--pf-global--link--Color: #0052cc;
|
|
7
|
+
--pf-global--danger-color--100: #d04141;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Navbar and primary buttons */
|
|
11
|
+
.navbar-pf {
|
|
12
|
+
background-color: var(--pf-global--primary-color--100) !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.btn-primary {
|
|
16
|
+
background-color: var(--pf-global--primary-color--100) !important;
|
|
17
|
+
border-color: var(--pf-global--primary-color--100) !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Login page brand */
|
|
21
|
+
.login-pf-page .login-pf-brand {
|
|
22
|
+
background-image: url('/foreman_theme_custom/logo_login.svg') !important;
|
|
23
|
+
background-size: contain;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Header brand/logo */
|
|
27
|
+
.navbar-pf .navbar-brand img { display: none !important; }
|
|
28
|
+
.navbar-pf .navbar-brand {
|
|
29
|
+
background-image: url('/foreman_theme_custom/logo_header.svg') !important;
|
|
30
|
+
background-repeat: no-repeat;
|
|
31
|
+
background-position: left center;
|
|
32
|
+
background-size: auto 24px;
|
|
33
|
+
padding-left: 28px;
|
|
34
|
+
min-height: 24px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Fallback for other brand containers (if present) */
|
|
38
|
+
.branding .brand {
|
|
39
|
+
background-image: url('/foreman_theme_custom/logo_header.svg') !important;
|
|
40
|
+
background-repeat: no-repeat;
|
|
41
|
+
background-position: left center;
|
|
42
|
+
background-size: contain;
|
|
43
|
+
}
|
|
1
44
|
/* built as plain CSS for static serve */
|
|
2
45
|
// Foreman tema override'lari
|
|
3
46
|
// Ornek renk degiskenleri (PatternFly/Bootstrap uzerine gelir)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="160" height="32" viewBox="0 0 160 32" fill="none">
|
|
2
|
+
<rect width="160" height="32" rx="4" fill="#0052CC"/>
|
|
3
|
+
<text x="12" y="22" font-family="Arial, Helvetica, sans-serif" font-size="16" fill="#FFFFFF">YourBrand</text>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="220" height="60" viewBox="0 0 220 60" fill="none">
|
|
2
|
+
<rect width="220" height="60" rx="8" fill="#0052CC"/>
|
|
3
|
+
<text x="20" y="38" font-family="Arial, Helvetica, sans-serif" font-size="28" fill="#FFFFFF">YourBrand</text>
|
|
4
|
+
</svg>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_theme_custom
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ender K
|
|
@@ -26,6 +26,8 @@ files:
|
|
|
26
26
|
- lib/foreman_theme_custom.rb
|
|
27
27
|
- lib/foreman_theme_custom/engine.rb
|
|
28
28
|
- public/foreman_theme_custom/custom.css
|
|
29
|
+
- public/foreman_theme_custom/logo_header.svg
|
|
30
|
+
- public/foreman_theme_custom/logo_login.svg
|
|
29
31
|
homepage: https://github.com/enderk/foreman_theme_custom
|
|
30
32
|
licenses:
|
|
31
33
|
- MIT
|