Skip to content
Snippets Groups Projects
Commit b039bb3a authored by Jared Hancock's avatar Jared Hancock
Browse files

Fix CSS style issues

  - Logo selection radio buttons not vertically centered (Firefox)
  - font-size value incorrect in login.css
  - Incorrect : placement in FAQ category edit
  - Incorrect block width declaration (700 vs 700px)
  - Browsers disagree on the placement of CSS3 outline properties
  - Correctly place check boxes and radio buttons
parent 77d45242
Branches
Tags
No related merge requests found
Showing
with 23 additions and 21 deletions
...@@ -9,7 +9,7 @@ $category=$faq->getCategory(); ...@@ -9,7 +9,7 @@ $category=$faq->getCategory();
<a href="index.php">All Categories</a> <a href="index.php">All Categories</a>
&raquo; <a href="faq.php?cid=<?php echo $category->getId(); ?>"><?php echo $category->getName(); ?></a> &raquo; <a href="faq.php?cid=<?php echo $category->getId(); ?>"><?php echo $category->getName(); ?></a>
</div> </div>
<div style="width:700;padding-top:2px; float:left;"> <div style="width:700px;padding-top:2px; float:left;">
<strong style="font-size:16px;"><?php echo $faq->getQuestion() ?></strong> <strong style="font-size:16px;"><?php echo $faq->getQuestion() ?></strong>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"></div> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"></div>
......
...@@ -39,7 +39,7 @@ else ...@@ -39,7 +39,7 @@ else
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>API Keys</h2> <h2>API Keys</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -46,7 +46,7 @@ else ...@@ -46,7 +46,7 @@ else
$showing='No premade responses found!'; $showing='No premade responses found!';
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Canned Responses</h2> <h2>Canned Responses</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -40,7 +40,7 @@ else ...@@ -40,7 +40,7 @@ else
$showing='No FAQ categories found!'; $showing='No FAQ categories found!';
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>FAQ Categories</h2> <h2>FAQ Categories</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -3,7 +3,7 @@ if(!defined('OSTSCPINC') || !$thisstaff || !$thisstaff->canManageFAQ()) die('Acc ...@@ -3,7 +3,7 @@ if(!defined('OSTSCPINC') || !$thisstaff || !$thisstaff->canManageFAQ()) die('Acc
$info=array(); $info=array();
$qstr=''; $qstr='';
if($category && $_REQUEST['a']!='add'){ if($category && $_REQUEST['a']!='add'){
$title='Update Category :'.$category->getName(); $title='Update Category: '.$category->getName();
$action='update'; $action='update';
$submit_text='Save Changes'; $submit_text='Save Changes';
$info=$category->getHashtable(); $info=$category->getHashtable();
......
...@@ -40,7 +40,7 @@ else ...@@ -40,7 +40,7 @@ else
$showing='No departments found!'; $showing='No departments found!';
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Departments</h2> <h2>Departments</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -61,7 +61,7 @@ $query="$select $from $where GROUP BY staff.staff_id ORDER BY $order_by LIMIT ". ...@@ -61,7 +61,7 @@ $query="$select $from $where GROUP BY staff.staff_id ORDER BY $order_by LIMIT ".
//echo $query; //echo $query;
?> ?>
<h2>Staff Members</h2> <h2>Staff Members</h2>
<div style="width:700; float:left;"> <div style="width:700px; float:left;">
<form action="directory.php" method="GET" name="filter"> <form action="directory.php" method="GET" name="filter">
<input type="text" name="q" value="<?php echo Format::htmlchars($_REQUEST['q']); ?>" > <input type="text" name="q" value="<?php echo Format::htmlchars($_REQUEST['q']); ?>" >
<select name="did" id="did"> <select name="did" id="did">
......
...@@ -42,7 +42,7 @@ else ...@@ -42,7 +42,7 @@ else
$showing='No emails found!'; $showing='No emails found!';
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Email Addresses</h2> <h2>Email Addresses</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
if(!defined('OSTSTAFFINC') || !$category || !$thisstaff) die('Access Denied'); if(!defined('OSTSTAFFINC') || !$category || !$thisstaff) die('Access Denied');
?> ?>
<div style="width:700;padding-top:10px; float:left;"> <div style="width:700px;padding-top:10px; float:left;">
<h2>Frequently Asked Questions</h2> <h2>Frequently Asked Questions</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">&nbsp;</div> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">&nbsp;</div>
......
...@@ -10,7 +10,7 @@ $category=$faq->getCategory(); ...@@ -10,7 +10,7 @@ $category=$faq->getCategory();
&raquo; <a href="kb.php?cid=<?php echo $category->getId(); ?>"><?php echo $category->getName(); ?></a> &raquo; <a href="kb.php?cid=<?php echo $category->getId(); ?>"><?php echo $category->getName(); ?></a>
<span class="faded">(<?php echo $category->isPublic()?'Public':'Internal'; ?>)</span> <span class="faded">(<?php echo $category->isPublic()?'Public':'Internal'; ?>)</span>
</div> </div>
<div style="width:700;padding-top:2px; float:left;"> <div style="width:700px;padding-top:2px; float:left;">
<strong style="font-size:16px;"><?php echo $faq->getQuestion() ?></strong>&nbsp;&nbsp;<span class="faded"><?php echo $faq->isPublished()?'(Published)':''; ?></span> <strong style="font-size:16px;"><?php echo $faq->getQuestion() ?></strong>&nbsp;&nbsp;<span class="faded"><?php echo $faq->isPublished()?'(Published)':''; ?></span>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -121,7 +121,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); ...@@ -121,7 +121,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
for($i=1; $i<=$n; $i++){ ?> for($i=1; $i<=$n; $i++){ ?>
<tr id="r<?php echo $i; ?>"> <tr id="r<?php echo $i; ?>">
<td colspan="2"> <td colspan="2">
<div style="width:700; float:left;"> <div style="width:700px; float:left;">
<select name="rule_w<?php echo $i; ?>"> <select name="rule_w<?php echo $i; ?>">
<option value="">&mdash; Select One &dash;</option> <option value="">&mdash; Select One &dash;</option>
<?php <?php
......
...@@ -43,7 +43,7 @@ else ...@@ -43,7 +43,7 @@ else
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Ticket Filters</h2> <h2>Ticket Filters</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -39,7 +39,7 @@ else ...@@ -39,7 +39,7 @@ else
$showing='No groups found!'; $showing='No groups found!';
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>User Groups</h2> <h2>User Groups</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -47,7 +47,7 @@ else ...@@ -47,7 +47,7 @@ else
$showing='No help topic found!'; $showing='No help topic found!';
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Help Topics</h2> <h2>Help Topics</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -47,7 +47,7 @@ else ...@@ -47,7 +47,7 @@ else
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Site Pages</h2> <h2>Site Pages</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -87,7 +87,8 @@ $pages = Page::getPages(); ...@@ -87,7 +87,8 @@ $pages = Page::getPages();
<img src="../assets/default/images/logo.png" <img src="../assets/default/images/logo.png"
alt="Default Logo" valign="middle" alt="Default Logo" valign="middle"
style="box-shadow: 0 0 0.5em rgba(0,0,0,0.5); style="box-shadow: 0 0 0.5em rgba(0,0,0,0.5);
margin: 0.5em; height: 5em"/> margin: 0.5em; height: 5em;
vertical-align: middle"/>
</label> </label>
</td></tr> </td></tr>
<tr> <tr>
...@@ -110,7 +111,8 @@ $pages = Page::getPages(); ...@@ -110,7 +111,8 @@ $pages = Page::getPages();
<img src="image.php?h=<?php echo $logo->getDownloadHash(); ?>" <img src="image.php?h=<?php echo $logo->getDownloadHash(); ?>"
alt="Custom Logo" valign="middle" alt="Custom Logo" valign="middle"
style="box-shadow: 0 0 0.5em rgba(0,0,0,0.5); style="box-shadow: 0 0 0.5em rgba(0,0,0,0.5);
margin: 0.5em; height: 5em;"/> margin: 0.5em; height: 5em;
vertical-align: middle;"/>
</label> </label>
<?php if ($logo->getId() != $current) { ?> <?php if ($logo->getId() != $current) { ?>
<label> <label>
......
...@@ -39,7 +39,7 @@ else ...@@ -39,7 +39,7 @@ else
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Service Level Agreements</h2> <h2>Service Level Agreements</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -55,7 +55,7 @@ $query="$select $from $where GROUP BY staff.staff_id ORDER BY $order_by LIMIT ". ...@@ -55,7 +55,7 @@ $query="$select $from $where GROUP BY staff.staff_id ORDER BY $order_by LIMIT ".
//echo $query; //echo $query;
?> ?>
<h2>Staff Members</h2> <h2>Staff Members</h2>
<div style="width:700; float:left;"> <div style="width:700px; float:left;">
<form action="staff.php" method="GET" name="filter"> <form action="staff.php" method="GET" name="filter">
<input type="hidden" name="a" value="filter" > <input type="hidden" name="a" value="filter" >
<select name="did" id="did"> <select name="did" id="did">
......
...@@ -38,7 +38,7 @@ else ...@@ -38,7 +38,7 @@ else
$showing='No teams found!'; $showing='No teams found!';
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Teams</h2> <h2>Teams</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
...@@ -42,7 +42,7 @@ else ...@@ -42,7 +42,7 @@ else
?> ?>
<div style="width:700;padding-top:5px; float:left;"> <div style="width:700px;padding-top:5px; float:left;">
<h2>Email Templates</h2> <h2>Email Templates</h2>
</div> </div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;"> <div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment