rocky-fy the theme
This commit is contained in:
parent
ee63b48d87
commit
4d7aab6541
0
start-dev.sh
Normal file → Executable file
0
start-dev.sh
Normal file → Executable file
@ -31,7 +31,9 @@ form.icon button {
|
||||
}
|
||||
|
||||
/* Stealed this from bootstrap */
|
||||
label, select, button,
|
||||
label,
|
||||
select,
|
||||
button,
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"],
|
||||
@ -41,31 +43,33 @@ input[type="checkbox"] {
|
||||
}
|
||||
|
||||
.blue {
|
||||
color:#0066CC;
|
||||
color: #0066cc;
|
||||
}
|
||||
|
||||
#matrixtitle {
|
||||
background-color: #2963A6;
|
||||
color: #FFFFFF;
|
||||
background-color: #2963a6;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#matrixheadings, #matrixheadings th {
|
||||
background-color: #DDDDDD;
|
||||
border-bottom: 1px solid #BBBBBB;
|
||||
#matrixheadings,
|
||||
#matrixheadings th {
|
||||
background-color: #dddddd;
|
||||
border-bottom: 1px solid #bbbbbb;
|
||||
margin: 0;
|
||||
color: #333333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.matrix_section, .matrix_section td {
|
||||
border-bottom: 1px solid #BBBBBB !important;
|
||||
.matrix_section,
|
||||
.matrix_section td {
|
||||
border-bottom: 1px solid #bbbbbb !important;
|
||||
}
|
||||
|
||||
.matrix_even, .matrix_even td {
|
||||
background-color: #F0F0F0;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
border-top: 1px solid #DDDDDD;
|
||||
.matrix_even,
|
||||
.matrix_even td {
|
||||
background-color: #f0f0f0;
|
||||
border-bottom: 1px solid #dddddd;
|
||||
border-top: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
.centered {
|
||||
@ -76,10 +80,9 @@ input[type="checkbox"] {
|
||||
}
|
||||
|
||||
.bodycontent {
|
||||
min-height:600px
|
||||
min-height: 600px;
|
||||
}
|
||||
|
||||
|
||||
table.mm2-table-small {
|
||||
width: auto;
|
||||
}
|
||||
|
315657
static/rocky/rocky.css
315657
static/rocky/rocky.css
File diff suppressed because it is too large
Load Diff
@ -30,9 +30,9 @@
|
||||
{% endmacro %}
|
||||
|
||||
{% macro footer() %}
|
||||
<div class="footer py-5 text-white">
|
||||
<div class="footer py-5">
|
||||
<div class="container">
|
||||
<div class="row footerlinks justify-content-center">
|
||||
<div class="row footerlinks">
|
||||
<div class="col-sm-3 col-4 mt-3">
|
||||
<div>
|
||||
<dl>
|
||||
@ -67,17 +67,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row footerlinks">
|
||||
<div class="col-12 text-center">
|
||||
<div class="row footerlinks mt-5">
|
||||
<div class="col-12">
|
||||
<p> © 2024 Rocky Enterprise Software Foundation, and others. </p>
|
||||
</div>
|
||||
<div class="col-12 text-center">
|
||||
<div class="col-12">
|
||||
{% set noggin_link %}
|
||||
<a href="https://github.com/fedora-infra/noggin">noggin</a>
|
||||
{% endset %}
|
||||
<p>
|
||||
<a href="https://github.com/fedora-infra/mirrormanager2/">mirrormanager</a>
|
||||
-- {{version}}
|
||||
-- <a href="http://mirrormanager.rtfd.org" rel="noopener noreferrer"
|
||||
target="_blank">Documentation</a>
|
||||
-- <a href="http://mirrormanager.readthedocs.org/en/latest/contributors.html">Authors</a></p>
|
||||
@ -108,7 +107,6 @@ href="{{ url_for('static', filename='favicon.ico')}}"/>
|
||||
<link rel="stylesheet" type="text/css" media="screen"
|
||||
href="{{ url_for('static', filename='mirrormanager2.css') }}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='rocky.css') }}"/>
|
||||
<link href="{{ url_for('static', filename='fedora-bootstrap/fedora-bootstrap.min.css') }}" rel="stylesheet" />
|
||||
<link href="{{ url_for('static', filename='fonts/open-sans.css') }}" rel="stylesheet" />
|
||||
<link href="{{ url_for('static', filename='fonts/font-awesome.css') }}" rel="stylesheet" />
|
||||
{% endmacro %}
|
||||
@ -124,8 +122,8 @@ href="{{ url_for('static', filename='mirrormanager2.css') }}"/>
|
||||
{%endmacro%}
|
||||
|
||||
{% macro nav(is_admin) %}
|
||||
<nav class="navbar navbar-expand-lg navbar-light masthead py-2">
|
||||
<a class="navbar-brand" href="{{url_for('base.index')}}"><img src="{{ url_for('static', filename='mirrormanager-logo.png') }}" alt="Fedora Account System logo" height="40"></a>
|
||||
<nav class="navbar navbar-expand-lg navbar-light masthead py-2 container">
|
||||
<a class="navbar-brand" href="{{url_for('base.index')}}"><img src="{{ url_for('static', filename='mirrormanager-logo.png') }}" alt="Fedora Account System logo" height="60"></a>
|
||||
<ul class="navbar-nav align-items-center ms-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link color-white" href="{{url_for('base.list_mirrors')}}">Mirrors</a>
|
||||
@ -160,7 +158,7 @@ href="{{ url_for('static', filename='mirrormanager2.css') }}"/>
|
||||
</div>
|
||||
</li>
|
||||
{% else %}
|
||||
<a class="btn btn-primary ml-2" href="{{ url_for('auth.login') }}?next={{request.url}}">Login</a>
|
||||
<a class="btn btn-primary ml-2 py-2 rounded-4" href="{{ url_for('auth.login') }}?next={{request.url}}">Login</a>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
|
@ -4,7 +4,7 @@
|
||||
{%block tag %}home{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Rocky Public Active Mirrors</h2>
|
||||
<h2 class="h1 mb-4">Rocky Public Active Mirrors</h2>
|
||||
|
||||
<p>
|
||||
Rocky Linux is distributed to millions of systems globally.
|
||||
@ -34,13 +34,7 @@ I2 means both Internet2 and its peer high speed research and development
|
||||
networks globally.
|
||||
</p>
|
||||
|
||||
|
||||
<table class="table table-sm">
|
||||
<tr id="matrixtitle">
|
||||
<th colspan="{{ arches | length + 2 }}">
|
||||
Mirror list filtering matrix
|
||||
</th>
|
||||
</tr>
|
||||
<table class="table table-sm mt-5">
|
||||
<tr id="matrixheadings">
|
||||
<th>Projects</th>
|
||||
<th>Versions</th>
|
||||
|
@ -39,9 +39,22 @@ main {
|
||||
@apply rounded-md;
|
||||
}
|
||||
|
||||
[type='text'], [type='email'], [type='url'], [type='password'], [type='number'], [type='date'], [type='datetime-local'], [type='month'], [type='search'], [type='tel'], [type='time'], [type='week'], [multiple], textarea, select {
|
||||
@apply
|
||||
rounded-md bg-gray-100 dark:bg-gray-700
|
||||
[type="text"],
|
||||
[type="email"],
|
||||
[type="url"],
|
||||
[type="password"],
|
||||
[type="number"],
|
||||
[type="date"],
|
||||
[type="datetime-local"],
|
||||
[type="month"],
|
||||
[type="search"],
|
||||
[type="tel"],
|
||||
[type="time"],
|
||||
[type="week"],
|
||||
[multiple],
|
||||
textarea,
|
||||
select {
|
||||
@apply rounded-md bg-gray-100 dark:bg-gray-700
|
||||
dark:border-gray-600 border-gray-300 border-2
|
||||
py-2 px-3
|
||||
focus:outline-none focus:ring focus:ring-2 focus:border-green-600 focus:ring-green-500
|
||||
|
Loading…
Reference in New Issue
Block a user