Skip to content

Commit

Permalink
Merge pull request #383 from demyr17/develop
Browse files Browse the repository at this point in the history
Missing Fixes for the Dark Theme
  • Loading branch information
lonnieezell authored Jun 22, 2023
2 parents 82be7f1 + 28cab83 commit 855dc78
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 20 deletions.
2 changes: 1 addition & 1 deletion app/Views/contribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="clr"></div>

<div id="inner-page-opening-text">
<div class="inner-page-opening-text">
<p>
CodeIgniter is a community driven project and accepts contributions of code and documentation from the community.
These contributions are made in the form of <a href="https://github.com/codeigniter4/CodeIgniter4/issues" target="_blank" class="link-primary">Issues</a>
Expand Down
4 changes: 2 additions & 2 deletions app/Views/disclosures.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<img src="/assets/icons/44521256.png" id="policies-icon"/>
</div><!--icon ends here-->

<p>The following items have been reported to the CodeIgniter core team and addressed as potential security
<p class="inner-page-opening-text">The following items have been reported to the CodeIgniter core team and addressed as potential security
concerns. Not all of them will affect your sites, but you should periodically review this list to
determine any threats.
</p>

<p>These disclosures are primarily aimed at the website and surrounding environment. Security disclosures
<p class="inner-page-opening-text">These disclosures are primarily aimed at the website and surrounding environment. Security disclosures
affecting the framework will be handled through GitHub's built-in Security Advisors functionality.
</p>

Expand Down
8 changes: 4 additions & 4 deletions app/Views/discuss.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</ul>
<p>
The forum is where you can ask for help or discuss issues you are having with framework.<br />
<a href="https://forum.codeigniter.com" class="buttons-reverse" target="_blank">Visit The Forum</a>
<a href="https://forum.codeigniter.com" class="buttons" target="_blank">Visit The Forum</a>
</p>
<br /><br />
</div><!--inner-page-text-box ende-->
Expand All @@ -57,7 +57,7 @@ class="link-primary" target="_blank">signup</a> for it :)
</p>

<p>
<a href="https://join.slack.com/t/codeigniterchat/shared_invite/zt-rl30zw00-obL1Hr1q1ATvkzVkFp8S0Q" class="buttons-reverse" target="_blank">Slack</a>
<a href="https://join.slack.com/t/codeigniterchat/shared_invite/zt-rl30zw00-obL1Hr1q1ATvkzVkFp8S0Q" class="buttons" target="_blank">Slack</a>
</p>
<br /><br />
</div><!--inner-page-text-box ends here-->
Expand All @@ -77,8 +77,8 @@ class="link-primary" target="_blank">signup</a> for it :)
Github issues are also used for tracking planned and approved enhancements, often tied in to specific releases.
</p>
<p>
<a href="https://github.com/bcit-ci/CodeIgniter/" class="buttons-reverse" target="_blank">CodeIgniter 3</a>
<a href="https://github.com/codeigniter4/codeigniter4/" class="buttons-reverse" target="_blank">CodeIgniter 4</a>
<a href="https://github.com/bcit-ci/CodeIgniter/" class="buttons" target="_blank">CodeIgniter 3</a>
<a href="https://github.com/codeigniter4/codeigniter4/" class="buttons" target="_blank">CodeIgniter 4</a>
</p>
<br /><br />
</div><!--inner-page-text-box ends here-->
Expand Down
18 changes: 9 additions & 9 deletions app/Views/download.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
</p>
<div class="clr"></div>
<div class="cv-boxes-buttons-area">
<a href="<?= $v4link ?>" class="buttons-reverse download-buttons" target="_blank">Download</a>
<a href="https://forum.codeigniter.com/forum-28.html" class="buttons-reverse download-buttons" target="_blank">Discuss</a>
<a href="https://github.com/codeigniter4/CodeIgniter4" class="buttons-reverse download-buttons" target="_blank">Sources</a>
<a href="https://github.com/codeigniter4/translations" class="buttons-reverse download-buttons" target="_blank">Translations</a>
<a href="/user_guide/index.html" class="buttons-reverse download-buttons">User Guide</a>
<a href="<?= $v4link ?>" class="buttons download-buttons" target="_blank">Download</a>
<a href="https://forum.codeigniter.com/forum-28.html" class="buttons download-buttons" target="_blank">Discuss</a>
<a href="https://github.com/codeigniter4/CodeIgniter4" class="buttons download-buttons" target="_blank">Sources</a>
<a href="https://github.com/codeigniter4/translations" class="buttons download-buttons" target="_blank">Translations</a>
<a href="/user_guide/index.html" class="buttons download-buttons">User Guide</a>
</div><!--cv-boxes-buttons-area end-->
</div><!--cv-boxes-content end-->
</div><!--ci-version-boxes end-->
Expand All @@ -42,10 +42,10 @@

<div class="clr"></div>
<div class="cv-boxes-buttons-area">
<a href="<?= $v3link ?>" class="buttons-reverse download-buttons" target="_blank">Download</a>
<a href="https://github.com/bcit-ci/CodeIgniter" class="buttons-reverse download-buttons" target="_blank">Sources</a>
<a href="https://github.com/bcit-ci/codeigniter3-translations" class="buttons-reverse download-buttons" target="_blank">Translations</a>
<a href="/userguide3" class="buttons-reverse download-buttons">User Guide</a>
<a href="<?= $v3link ?>" class="buttons download-buttons" target="_blank">Download</a>
<a href="https://github.com/bcit-ci/CodeIgniter" class="buttons download-buttons" target="_blank">Sources</a>
<a href="https://github.com/bcit-ci/codeigniter3-translations" class="buttons download-buttons" target="_blank">Translations</a>
<a href="/userguide3" class="buttons download-buttons">User Guide</a>
</div><!--cv-boxes-buttons-area end-->
</div><!--cv-boxes-content end-->
</div><!--ci-version-boxes end-->
Expand Down
2 changes: 1 addition & 1 deletion app/Views/layouts/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<?= $this->renderSection('headerAssets') ?>
</head>
<body class="">
<body>
<script>
if(window.localStorage.getItem('ci_theme') == 'dark-theme'){
document.documentElement.classList.add('dark-theme');
Expand Down
4 changes: 2 additions & 2 deletions app/Views/layouts/two_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<?= $this->include('layouts/_top_nav') ?>

<div class="clr"></div>
<section id="content-outer-news">
<div id="content-inner-news">
<section id="content-outer">
<div id="content-inner">
<div id="news-left-column">
<?= $this->renderSection('sidebar') ?>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/Views/policies.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div id="content-inner">
<div id="policies-icon-holder">
<img src="/assets/icons/policies.png" id="policies-icon" alt="policies icon"/>
<p>
<p class="inner-page-opening-text">
CodeIgniter is a community-developed open source project, with several venues for the community members to gather
and exchange ideas.
</p>
Expand Down
4 changes: 4 additions & 0 deletions public/assets/css/ci-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1771,3 +1771,7 @@ html.dark-theme .contributors-stars{color:#eee;}

html.dark-theme #discuss-icon-holder{color:rgba(255,255,255, 0.8);}
html.dark-theme #discuss-icon{fill:rgba(221, 72, 20, 0.9);}




0 comments on commit 855dc78

Please sign in to comment.