* Thu Mar 20 2025 Brian Read <brianr@koozali.org> 11.0.0-71.sme

- Sort out navigation menu error on startup [SME: 12946]
- More places where floating panel needed
- Adjust floating panel to make space around it the same
- clean up some css
This commit is contained in:
Brian Read 2025-03-20 12:15:50 +00:00
parent 750ab7dd11
commit 36de44fcef
10 changed files with 462 additions and 664 deletions

View File

@ -38,52 +38,32 @@
bottom, commented out. These can be removed at the end of the 6.0 cycle */ bottom, commented out. These can be removed at the end of the 6.0 cycle */
/* general page properties */ /* general page properties */
body, body.main { body, body.main {
margin-top: 5px; margin-top: 5px;
margin-right: 20px; margin-right: 20px;
margin-bottom: 5px; margin-bottom: 5px;
margin-left: 5px; margin-left: 5px;
} }
/* Table properties ****************************************/ /* Table properties ****************************************/
/* There are THREE types of tables /* There are THREE types of tables 1. *.sme-layout* is used for layout purposes. It is the "master container" on a page. It controls the top-level table inside of which everything else is put. 2. *.sme-noborders* is used for layout, and defines a borderless table and cells used within it. 2. *.sme-border* is used for tabular data, and defines a header row and borders for tables that need borders */
1. *.sme-layout* is used for layout purposes. It is the "master
container" on a page. It controls the top-level table
inside of which everything else is put.
2. *.sme-noborders* is used for layout, and defines a borderless table and
cells used within it.
2. *.sme-border* is used for tabular data, and defines a header row and borders
for tables that need borders
*/
/*First, some defaults */ /*First, some defaults */
td { td {
text-align: left; text-align: left;
} }
/* sme-layout* : Used for top-level layout */
table.sme-layout {
/*
sme-layout* : Used for top-level layout
*/
table.sme-layout {
border-collapse: collapse; border-collapse: collapse;
margin-bottom: 2px; margin-bottom: 2px;
margin-top: 2px; margin-top: 2px;
} }
tr.sme-layout {
tr.sme-layout {
border: 1px solid #dddddd; border: 1px solid #dddddd;
} }
td.sme-layout {
td.sme-layout {
border: 1px solid #dddddd; border: 1px solid #dddddd;
} }
/*This special style is actually used only for the button row along the bottom of each page*/ /*This special style is actually used only for the button row along the bottom of each page*/
th.sme-layout { th.sme-layout {
border: 1px solid #dddddd; border: 1px solid #dddddd;
background-color: #e8f3e1; background-color: #e8f3e1;
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
@ -93,11 +73,8 @@ th.sme-layout {
text-align: right; text-align: right;
padding: 4px; padding: 4px;
} }
/* sme-noborders* : Used for mid-level layout */
/* table.sme-noborders {
sme-noborders* : Used for mid-level layout
*/
table.sme-noborders {
padding: 0px; padding: 0px;
margin-top: 0px; margin-top: 0px;
margin-bottom: 20px; margin-bottom: 20px;
@ -106,42 +83,39 @@ table.sme-noborders {
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px; font-size: 11px;
} }
td.sme-noborders-label { td.sme-noborders-label {
font-weight: bold; font-weight: bold;
/*width: 250px;*/ /*width: 250px;
*/
text-align: right; text-align: right;
/*vertical-align: top;*/ /*vertical-align: top;
*/
background-color: #e8f3e1; background-color: #e8f3e1;
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px; font-size: 11px;
} }
td.sme-noborders-content { td.sme-noborders-content {
text-align: left; text-align: left;
vertical-align: top; vertical-align: top;
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px; font-size: 11px;
} }
td.sme-noborders-info, div.sme-noborders-info { td.sme-noborders-info, div.sme-noborders-info {
text-align: left; text-align: left;
vertical-align: top; vertical-align: top;
} }
/* Used for a left-most column of radio buttons (see date/time panel) */ /* Used for a left-most column of radio buttons (see date/time panel) */
td.sme-radiobutton { td.sme-radiobutton {
width: 30px; width: 30px;
} }
/* /* sme-border* : Used for tabular data */
sme-border* : Used for tabular data table.sme-border {
*/
table.sme-border {
border-collapse: collapse; border-collapse: collapse;
border: 2px solid #cccccc; border: 2px solid #cccccc;
empty-cells: show; empty-cells: show;
margin: 5px 5px 5px 2px; margin: 5px 5px 5px 2px;
} }
td.sme-border, td.sme-border, td.sme-border-warning, td.sme-border-right, td.sme-border-center {
td.sme-border-warning,
td.sme-border-right,
td.sme-border-center {
border: 1px solid #cccccc; border: 1px solid #cccccc;
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px; font-size: 10px;
@ -153,12 +127,16 @@ td.sme-border-center {
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
} }
td.sme-border-warning { td.sme-border-warning {
color: red; color: red;
} }
td.sme-border-right {text-align: right;} td.sme-border-right {
td.sme-border-center {text-align: center;} text-align: right;
th.sme-border { }
td.sme-border-center {
text-align: center;
}
th.sme-border {
border: 1px solid #cccccc; border: 1px solid #cccccc;
background-color: #bee6a2; background-color: #bee6a2;
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
@ -167,113 +145,85 @@ th.sme-border {
color: #000000; color: #000000;
text-align: center; text-align: center;
vertical-align: bottom; vertical-align: bottom;
padding-left: 2px;
padding-right: 2px;
padding-left: 3px; padding-left: 3px;
padding-right: 3px; padding-right: 3px;
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
/*border-width: 1px; /*border-width: 1px;
border-style: solid; border-style: solid;
border-color: #F2F0EE #75736E #75736E #F2F0EE ;*/ border-color: #F2F0EE #75736E #75736E #F2F0EE ;
*/
} }
td.sme-border a, td.sme-border-right a, td.sme-border-center a { td.sme-border a, td.sme-border-right a, td.sme-border-center a {
font-size: 10px; font-size: 10px;
} }
/* misc layout stuff*/ /* misc layout stuff*/
/* these two are for any error messages that pop up*/ /* these two are for any error messages that pop up*/
div.error, div.sme-error, span.error, span.sme-error { div.error, div.sme-error, span.error, span.sme-error {
color: red; color: red;
background-color: #ffffff; background-color: #ffffff;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: red ; border-color: red ;
padding: 2px; padding: 2px;
margin-left: 20px; /* margin-left: 20px;
margin-right: 20px; /*margin-right: 20px;*/
margin-top:0px; /(margin-top:0;*/
margin-bottom:0px; /*margin-bottom:0;*/
*/
} }
div.error-noborders, div.sme-error-noborders, span.error-noborders, span.sme-error-noborders {
div.error-noborders, div.sme-error-noborders,
span.error-noborders, span.sme-error-noborders
{
color: red; color: red;
background-color: #ffffff; background-color: #ffffff;
border-width: 0px; border-width: 0px;
} }
div.error h2, span.error h2, div.error p, span.error p {
div.error h2, span.error h2,
div.error p, span.error p
{
color: red; color: red;
} }
/* These are for the special case of a link being inside an error message */ /* These are for the special case of a link being inside an error message */
div.sme-error a, div.error a, span.error a, span.sme-error a, div.sme-error a, div.error a, span.error a, span.sme-error a, div.error-noborders a, div.sme-error-noborders a, span.error-noborders a, span.sme-error-noborders a {
div.error-noborders a, div.sme-error-noborders a,
span.error-noborders a, span.sme-error-noborders a
{
color: #ff0000; color: #ff0000;
font-weight: bold; font-weight: bold;
text-decoration: underline; text-decoration: underline;
} }
/* For when a link is the error message */ /* For when a link is the error message */
a.error:link, a.error:visited, a.error:hover, a.error:active { a.error:link, a.error:visited, a.error:hover, a.error:active {
color: #ff0000; color: #ff0000;
font-weight: normal; font-weight: normal;
text-decoration: underline; text-decoration: underline;
} }
/* these two are for any success messages that pop up*/ /* these two are for any success messages that pop up*/
div.success, span.success { div.success, span.success {
color: #006400; color: #006400;
/* /* background-color: #ffffff;
background-color: #ffffff;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: #006400 ; border-color: #006400 ;
padding: 2px; padding: 2px;
/*
margin-left: 20px; margin-left: 20px;
margin-right: 20px; margin-right: 20px;
margin-top:0px; /*
/*margin-top:0;*/
/*margin-bottom:4px;*/
*/ */
margin-bottom:4px;
} }
/* These two are for the special case of a link being inside a success message */ /* These two are for the special case of a link being inside a success message */
div.success a, span.success a div.success a, span.success a {
{
color: #006400; color: #006400;
font-weight: bold; font-weight: bold;
text-decoration: underline; text-decoration: underline;
} }
div.success h2, span.success h2, div.success p, span.success p {
div.success h2, span.success h2,
div.success p, span.success p
{
color: green; color: green;
} }
/*These two define the copyright footer styles, one for the line and one for the text*/ /*These two define the copyright footer styles, one for the line and one for the text*/
hr.sme-copyrightbar { hr.sme-copyrightbar {
} }
.sme-copyright { .sme-copyright {
} }
/* These ones define styles for the links that are made to look like standard form submit buttons */
/* These ones define styles for the links that are made to look like a.button-like:link, a.button-like:visited, a.button-like:hover, a.button-like:active, a.button-like-small:link, a.button-like-small:visited, a.button-like-small:hover, a.button-like-small:active {
standard form submit buttons */
a.button-like:link,
a.button-like:visited,
a.button-like:hover,
a.button-like:active,
a.button-like-small:link,
a.button-like-small:visited,
a.button-like-small:hover,
a.button-like-small:active {
font-family: sans-serif; font-family: sans-serif;
font-size: 13px; font-size: 13px;
color: black; color: black;
@ -294,11 +244,8 @@ a.button-like-small:active {
padding-bottom: 2px; padding-bottom: 2px;
padding-left: 6px; padding-left: 6px;
padding-right: 6px; padding-right: 6px;
} }
a.button-like-small:link, a.button-like-small:link, a.button-like-small:visited, a.button-like-small:hover, a.button-like-small:active {
a.button-like-small:visited,
a.button-like-small:hover,
a.button-like-small:active {
border-top-width: 1px; border-top-width: 1px;
border-right-width: 1px; border-right-width: 1px;
border-bottom-width: 1px; border-bottom-width: 1px;
@ -309,134 +256,22 @@ a.button-like-small:active {
padding-left: 1px; padding-left: 1px;
padding-right: 1px; padding-right: 1px;
} }
a.button-like:active, a.button-like:active, a.button-like-small:active {
a.button-like-small:active {
border-color: #75736E #F2F0EE #F2F0EE #75736E ; border-color: #75736E #F2F0EE #F2F0EE #75736E ;
} }
/* EXPERIMENTAL SECTION */ /* EXPERIMENTAL SECTION */
/* These are styles used to experiment with. */ /* These are styles used to experiment with. */
/* class for links, similar to the class in sme_menu.css, but for a red button */ /* class for links, similar to the class in sme_menu.css, but for a red button */
a.button-like-red:link, a.button-like-red:link, a.button-like-red:visited, a.button-like-red:hover, a.button-like-red:active {
a.button-like-red:visited,
a.button-like-red:hover,
a.button-like-red:active {
border-left: #F1726C 2px solid; border-left: #F1726C 2px solid;
border-right: #B42025 2px solid; border-right: #B42025 2px solid;
border-top: #F1726C 2px solid; border-top: #F1726C 2px solid;
border-bottom: #B42025 2px solid; border-bottom: #B42025 2px solid;
} }
a.button-like-red:active { a.button-like-red:active {
border-color: #75736E #F2F0EE #F2F0EE #75736E ; border-color: #75736E #F2F0EE #F2F0EE #75736E ;
} }
/*These are style definitions found in the UI but not defined in any file I
could locate. They're listed here for historical purposes, but have been
removed from the UI
pagedescription (used in the first paragraph of text on a page) [HTML.pm]
label (used in forms) [HTML.pm]
field (used in forms) [HTML.pm]
fielddescription (used ???)[HTML.pm]
buttons (used in forms) [HTML.pm]
*/
/*td.sme-submitbutton {
text-align: right;
}
*/
/*These style definitions were found int he old css file (manager.css)
but don't seem to ever be referenced in the code. They're here
for reference.
.banner {
background: #000000;
color: #ffffff;
}
.banner-right {
font-family: Verdana, Arial, Helvetica, sans-serif;
background: #e17200;
color: #ffffff;
}
.border {
background: #000000;
color: #000000;
border-color: #000000;
}
.sidebar {
width: 200px;
background: #ffffff;
font-size: smaller;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: normal;
}
.sidebar-title {
background: #1e385b;
color: #ffffff;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
.newsitem {
background: #ffffff;
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-left: 5px;
margin-right: 5px;
margin-top: 5px;
margin-bottom: 5px;
}
.newsitem-title {
background: #cccccc;
color: #ffffff;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
.newsitem-footer {
background: #cccccc;
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: smaller;
text-align: right;
}
.newsitem-detail {
font-size: smaller;
font-weight: normal;
}
.formlabel {
background: #c0c0c0;
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
font-weight: bold;
text-align: right;
}
.welcome-link {
background: #ffffff;
color: #1e385b;
}
.littlelink {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#textlayer {
position: absolute;
visibility: inherit;
top: 160px;
left: 50px;
z-index: 2;
}
#para {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #000000;
}
#title {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
padding: 7px 7px 7px 7px;
color: #ffffff;
}
*/
EOF EOF
} }

View File

@ -54,74 +54,81 @@
/* This is the basic stylesheet originally used in the mojo version. /* This is the basic stylesheet originally used in the mojo version.
*/ */
body{ body{
background-color: #FFF; background-color: #FFF;
} }
#container{
#container{
max-width: 100%; max-width: 100%;
position: relative; position: relative;
margin: auto; margin: auto;
} }
#header2 {
#header2 { width:94.2%;
width:96.5%;
margin-left:1px; margin-left:1px;
margin-right:0px; /*margin-right:0;*/
margin-top:4px; margin-top:4px;
} }
.module {
.module {
padding: 20px; padding: 20px;
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 10px; border-radius: 10px;
background-color: #f9f9f9; background-color: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-left:10px!important;
margin-top:10px!important;
/*margin-right:10px !important;*/
} }
#navigation{
#navigation{
width: 190px; width: 190px;
position: absolute; position: absolute;
margin-left: 0px; /*margin-left: 0px;*/
padding: 5px; padding: 5px;
background-color: #E8F3E1; background-color: #E8F3E1;
/* height: 600px; */ /* height: 600px;
*/
overflow: auto; overflow: auto;
} }
#main{
#main{
margin-left: 195px; margin-left: 195px;
padding: 10px; padding: 10px;
} }
#central{
#central{ /*margin-left: 0px;*/
margin-left: 0px;
padding: 5px; padding: 5px;
} }
#footer{
#footer{ /*margin-left: 0px;
margin-left: 0px; */
padding: 5px; padding-left : 5px;
} }
#header {
#header { /*background: #bee6a2;
/*background: #bee6a2;*/ */
width:100% width:100%;
margin:auto; margin:auto;
} }
#header h1, a:link, a:visited {
#header h1, a:link, a:visited {
color: black; color: black;
text-decoration: none; text-decoration: none;
/* contribs.org styling */ /* contribs.org styling */
} }
a:link {
a:link { color: #006921; text-decoration: none; } color: #006921;
a:visited { color: #063; text-decoration: none; } text-decoration: none;
a:hover { color: #F00; text-decoration: none; } }
a:active { color: #606060; text-decoration: none; } a:visited {
color: #063;
.sme-error { text-decoration: none;
}
a:hover {
color: #F00;
text-decoration: none;
}
a:active {
color: #606060;
text-decoration: none;
}
.sme-error {
color: red; color: red;
display:block; display:block;
background-color: #ffffff; background-color: #ffffff;
@ -129,239 +136,191 @@ a:active { color: #606060; text-decoration: none; }
border-style: solid; border-style: solid;
border-color: red ; border-color: red ;
padding: 2px; padding: 2px;
margin-left: 10px; /* margin-left: 10px;*/
margin-right: 10px; /* margin-right: 10px;*/
margin-top:0px; /*margin-top:0;*/
margin-bottom:0px; /*margin-bottom:0;*/
} }
.sme-warning {
.sme-warning {
color: orange; color: orange;
display:block; display:block;
background-color: #ffffff; background-color: #ffffff;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: orange ; border-color: orange ;
padding: 4px; padding: 2px;
margin-left: 20px; /* margin-left: 20px;
margin-right: 20px; /* margin-right: 20px;*/
margin-top:2px; /*margin-top:2px;*/
margin-bottom:2px; /*margin-bottom:2px;*/
} }
#footer img {
#footer img {
float: right; float: right;
position: fixed; position: fixed;
margin-left: 40%; /*margin-left: 40%;*/
} }
label.field-with-error {
label.field-with-error {
color: #dd7e5e color: #dd7e5e
} }
input.field-with-error {
input.field-with-error {
background-color: #fd9e7e background-color: #fd9e7e
} }
span.label {
span.label {
display: inline-block; display: inline-block;
font-weight: bold; font-weight: bold;
background-color: #e8f3e1; /*lightgreen;*/ background-color: #e8f3e1;
/*lightgreen;
*/
width: 30%; width: 30%;
text-align: right; text-align: right;
} }
td.label {
td.label {
font-weight: bold; font-weight: bold;
background-color: #e8f3e1; /*lightgreen;*/ background-color: #e8f3e1;
/*lightgreen;
*/
width: 30%; width: 30%;
text-align: right; text-align: right;
} }
span.label2 {
span.label2 {
display: inline-block; display: inline-block;
font-weight: bold; font-weight: bold;
background-color: #e8f3e1; /*lightgreen;*/ background-color: #e8f3e1;
/*lightgreen;
*/
text-align: right; text-align: right;
} }
span.data {
span.data {
padding: 2px; padding: 2px;
font-weight: bold; font-weight: bold;
margin-left: 0%; margin-left:0;
/* background-color: lightblue;*/ /* background-color: lightblue;
*/
} }
span.data2 {
span.data2 {
padding: 2px; padding: 2px;
/* background-color: lightblue; */ /* background-color: lightblue;
*/
} }
input.action {
input.action {
margin-left: 0px; margin-left: 0px;
background-color: #bee6a2; /*lightgreen;*/ background-color: #bee6a2;
/*lightgreen;
*/
color: darkgreen; color: darkgreen;
border-radius: 8px; border-radius: 8px;
border: 2px solid #4CAF50; /* Green */ border: 2px solid #4CAF50;
/* Green */
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
input.action:hover {
input.action:hover {background-color: #3e8e41; color:white;} background-color: #3e8e41;
color:white;
input.action:active { }
input.action:active {
background-color: #3e8e41; background-color: #3e8e41;
transform: translate(-2px,2px); transform: translate(-2px,2px);
} }
.center {
.center {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
input.action2 {
input.action2 {
margin-left: 0px; margin-left: 0px;
color: black; color: black;
background-color: #d4d0c8; background-color: #d4d0c8;
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
#modul.desc {
#modul.desc {
padding: 3px; padding: 3px;
background-color: grey; background-color: grey;
} }
[type = 'text'] {
[type = 'text'] {
margin-left: 0px; margin-left: 0px;
/*background-color: lightblue;*/ /*background-color: lightblue;
*/
} }
.a, .return {
.a, .return {
color: #661866; color: #661866;
font-weight: bold; font-weight: bold;
} }
a.section {
a.section {
} }
.a, .item { .a, .item {
line-height: 12px; line-height: 12px;
} }
a.section-title {
a.section-title {
display: inline-block; display: inline-block;
color: #6CA345; /*#888;*/ color: #6CA345;
/*#888;
*/
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
line-height: 18px; line-height: 18px;
font-weight: bold; font-weight: bold;
} }
.toggle-password {
a.menu-title {
display: inline-block;
color: #1A6D1A; /*#666;*/
padding-left: 1px;
padding-right: 1px;
font-weight: bold;
}
#module {
/* height: 600px; */
/* overflow: auto; */
}
#h2l1 {
height: 40px;
width: 100%;
}
#h2e11 {
width: 50%;
float: left;
}
#h2e12 {
background-color: #C0E7A6;
float: left;
text-align: right;
}
#h2l2 {
/* background-color: #A8F9E7;*/
border-top: solid white 3px;
border-bottom: solid white 2px;
height: 14px;
width: 100%;
padding: 1px;
}
#h2e21 {
float: left;
width: 70%;
}
#h2e22,#h2e23,#h2e12 {
float: left;
width: 14em;
text-align: center;
}
.toggle-password {
margin-left: -30px; margin-left: -30px;
} }
.tg-icon {
.tg-icon {
position: relative; position: relative;
top: 5px; top: 5px;
left: 2px; left: 2px;
} }
.roundcube div {
.roundcube div {
height:462px; height:462px;
width:85%; width:85%;
margin-bottom:1%; margin-bottom:1%;
} }
.roundcube object {
.roundcube object {
margin-top:1%; margin-top:1%;
height:95%; height:95%;
width:100%; width:100%;
} }
#help-button {
#help-button { text-decoration: none;
text-decoration: none; /* Remove underline from link */ /* Remove underline from link */
font-size: 20px; /* Adjust font size as needed */ font-size: 20px;
padding: 8px 12px; /* Add padding to the help link */ /* Adjust font size as needed */
background-color: #98d36e; /* Background for visibility */ padding: 8px 12px;
border-radius: 4px; /* Rounded corners */ /* Add padding to the help link */
color: #000; /* Button text color */ background-color: #98d36e;
/* Background for visibility */
border-radius: 4px;
/* Rounded corners */
color: #000;
/* Button text color */
} }
#help-button:hover {
#help-button:hover { background-color: #82c961;
background-color: #82c961; /* Change background on hover */ /* Change background on hover */
} }
.gradient-panel { .gradient-panel {
width: 100%; width: 100%;
height: 40px; /* Fixed height for the panel */ height: 40px;
background: linear-gradient(to right, white , #c0e7a5 ); /* Deep green to light green */ /* Fixed height for the panel */
background: linear-gradient(to right, white , #c0e7a5 );
/* Deep green to light green */
display: flex; display: flex;
align-items: center; align-items: center;
postion:relative; position:relative;
} }
.logo { .logo {
height: 142%; /* Fixed height for the logo */ height: 142%;
width: auto; /* Width will adjust to maintain aspect ratio */ /* Fixed height for the logo */
width: auto;
/* Width will adjust to maintain aspect ratio */
margin-left: -16px; margin-left: -16px;
} }
.login-button { .login-button {
position: absolute; position: absolute;
left: 7%; /* Positions the button 2/3 across the panel */ left: 7%;
transform: translateX(-50%); /* Centers the button on its position */ /* Positions the button 2/3 across the panel */
transform: translateX(-50%);
/* Centers the button on its position */
background-color: #4caf50b8; background-color: #4caf50b8;
color: white !important; color: white !important;
border: none; border: none;
@ -373,29 +332,27 @@ a.menu-title {
cursor: pointer; cursor: pointer;
border-radius: 4px; border-radius: 4px;
margin-left:77% margin-left:77%
} }
.login-button:hover { .login-button:hover {
background-color: #45a049; background-color: #45a049;
} }
.flag-style {
.flag-style {
position: absolute; position: absolute;
transform: translateY(-50%); transform: translateY(-50%);
left: 95%; left: 95%;
/*right: 20px;*/ /*right: 20px;
*/
width: 24px; width: 24px;
height: 14px; height: 14px;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.no-visited-state:visited {
.no-visited-state:visited { color: inherit;
color: inherit; /* Or specify the desired color */ /* Or specify the desired color */
text-decoration: none; /* Or any other style you want to reset */ text-decoration: none;
/* Or any other style you want to reset */
} }
/*end*/ /*end*/
EOF EOF
} }

View File

@ -31,7 +31,7 @@ use SrvMngr::Plugin::WithoutCache;
use esmith::I18N; use esmith::I18N;
#this is overwrittrn with the "release" by the spec file - release can be "99.el8.sme" #this is overwrittrn with the "release" by the spec file - release can be "99.el8.sme"
our $VERSION = '51.el8.sme'; our $VERSION = '70.el8.sme';
#Extract the release value #Extract the release value
if ($VERSION =~ /^(\d+)/) { if ($VERSION =~ /^(\d+)/) {
$VERSION = $1; # $1 contains the matched numeric digits $VERSION = $1; # $1 contains the matched numeric digits
@ -565,8 +565,8 @@ sub getNavigation {
# Determine the directory where the functions are kept # Determine the directory where the functions are kept
#----------------------------------------------------- #-----------------------------------------------------
my $navigation_ctlr_ignore = my $navigation_ctlr_ignore =
"(\.\.?|Swttheme\.pm|Login\.pm|Request\.pm|Modules\.pm|Legacypanel\.pm(-.*)?)"; "(\.\.?|.*\-Custom\.pm|Swttheme\.pm|Login\.pm|Request\.pm|Modules\.pm|Legacypanel\.pm(-.*)?)";
# "(\.\.?|Initial\.pm|Manual\.pm|Swttheme\.pm|Request\.pm|Modules\.pm(-.*)?)"; # "(\.\.?|Initial\.pm|.*Manual\.pm|Swttheme\.pm|Request\.pm|Modules\.pm(-.*)?)";
my $navigation_cgi_ignore = my $navigation_cgi_ignore =
"(\.\.?|navigation|noframes|online-manual|(internal|pleasewait)(-.*)?)"; "(\.\.?|navigation|noframes|online-manual|(internal|pleasewait)(-.*)?)";

View File

@ -2,7 +2,7 @@
% content_for 'module' => begin % content_for 'module' => begin
<div id="central module" class="sme-error"> <div id="central" class="sme-error module">
<p><br>dev<br> Oups !!! <p><br>dev<br> Oups !!!
The page you were requesting The page you were requesting
"<%= $self->req->url->path || '/' %>" "<%= $self->req->url->path || '/' %>"

View File

@ -2,7 +2,7 @@
% content_for 'module' => begin % content_for 'module' => begin
<div id="central module" class="sme-error"> <div id="central" class="sme-error module">
<p><br>dev<br> Oups !!! <p><br>dev<br> Oups !!!
The page you were requesting The page you were requesting
"<%= $self->req->url->path || '/' %>" "<%= $self->req->url->path || '/' %>"

View File

@ -1,5 +1,5 @@
% layout 'defaultlight', title => 'Sme server 2 - Error P'; % layout 'defaultlight', title => 'Sme server 2 - Error P';
<div id='central' class='central not_found-panel'> <div id='central' class='central not_found-panel module'>
<p><br><br> <p><br><br>
The page you were requesting The page you were requesting
"<%= $self->req->url->path || '/' %>" "<%= $self->req->url->path || '/' %>"

View File

@ -3,7 +3,7 @@
% content_for 'module' => begin % content_for 'module' => begin
<div id='roundcube' class='roundcube roundcube-panel'> <div id='roundcube' class='roundcube roundcube-panel module'>
% if (config->{debug} == 1) { % if (config->{debug} == 1) {
<p> <p>
%= dumper $c->current_route %= dumper $c->current_route

View File

@ -1,7 +1,7 @@
% layout 'default', title => 'Sme server 2 - IndexT'; % layout 'default', title => 'Sme server 2 - IndexT';
% content_for 'module' => begin % content_for 'module' => begin
<div id='central' class='central welcome-panel'> <div id='central' class='central welcome-panel module'>
<p>Index on line - Welcome page<br> <p>Index on line - Welcome page<br>
</p> </p>
<p> <p>

View File

@ -2,7 +2,7 @@
% content_for 'module' => begin % content_for 'module' => begin
<div id="central module" class="sme-error"> <div id="central " class="sme-error module">
<p><br>dev<br> What else !!! <p><br>dev<br> What else !!!
The page you were requesting The page you were requesting
"<%= $self->req->url->path || '/' %>" "<%= $self->req->url->path || '/' %>"

View File

@ -2,7 +2,7 @@ Summary: Sme server navigation module : manager 2
%define name smeserver-manager %define name smeserver-manager
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 70 %define release 71
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@ -143,6 +143,12 @@ true
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Thu Mar 20 2025 Brian Read <brianr@koozali.org> 11.0.0-71.sme
- Sort out navigation menu error on startup [SME: 12946]
- More places where floating panel needed
- Adjust floating panel to make space around it the same
- clean up some css
* Wed Mar 19 2025 Brian Read <brianr@koozali.org> 11.0.0-70.sme * Wed Mar 19 2025 Brian Read <brianr@koozali.org> 11.0.0-70.sme
- Re-cast the default theme - use proper koozali logo image, unwind multiple divs - Re-cast the default theme - use proper koozali logo image, unwind multiple divs
- Enhance responsiveness - Enhance responsiveness