Unverified Commit 02a9b18b authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1308 from ikedas/issue-1305 by ikedas

Stylesheet: Fixing minor bugs in css.tt2
parents 37932d02 ae390134
......@@ -62,10 +62,11 @@ html
[% top_menu = 1 ~%]
/**
* CSS Reset (extended)
* Base : http://meyerweb.com/eric/tools/css/reset/ | v2.0 | 20110126
*/
[%# CSS Reset: Don't edit this section. ~%]
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
......@@ -84,38 +85,33 @@ time, mark, audio, video {
padding: 0;
border: 0;
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, nav, section {
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
ul.styled-list {
list-style: disc;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
[%~# End of CSS Reset %]
/***
* Foundation 6: Expand width of tooltip (See GH issue #1262)
......@@ -160,12 +156,12 @@ q:before, q:after {
/* Proportional fonts */
* {
font-family: 'Raleway', sans-serif;
font-family: sans-serif;
font-size: 1em;
}
body {
font-family: 'Raleway', sans-serif;
font-family: sans-serif;
font-size: 0.85em;
-webkit-text-size-adjust:100%;
line-height: 1.4;
......@@ -232,6 +228,10 @@ dfn {
font-style: italic;
}
em {
font-style: italic;
}
hr {
display: block;
height: 1px;
......@@ -253,9 +253,12 @@ mark {
}
pre, code, kbd, samp {
font-family: monospace, serif;
_font-family: 'courier new', monospace;
color: inherit;
[%# Workaround for size of monospace font.
cf. https://github.com/necolas/normalize.css/issues/519 ~%]
font-family: monospace, monospace;
font-size: 1em;
font-weight: inherit;
}
pre {
......@@ -295,12 +298,12 @@ sub {
ul, ol, dl {
margin: 1em 0;
padding: 0 0 0 1rem;
font-size: 13px;
color: [% color_3 %];
list-style-position: outside;
}
nav ul, nav ol {
font-size: 13px;
list-style: none;
list-style-image: none;
}
......@@ -339,7 +342,7 @@ main form form{
label {
color: [% color_4 %];
margin-top:0.5rem;
/*display: inline-block;*/ padding-left:0!important;
padding-left:0!important;
font-weight:700;
cursor: pointer;
}
......@@ -356,15 +359,6 @@ label[for="connected_only"] {
display: inline;
}
input {
/*border: 1px solid [% color_12 %];
border-radius: 3px;
font-size: 16px;
padding: 10px 9px;
margin-right: 10px;
outline:none;*/
}
input[type="checkbox"], input[type="radio"] {
border: none;
box-sizing: border-box;
......@@ -378,14 +372,7 @@ input[type="file"]{
display: block;
margin-top:0.5rem;
}
select {
/*border: 1px solid [% color_12 %];
border-radius: 3px;
font-size: 16px;
padding: 6px 4px;
margin-right: 10px;
outline:none;*/
}
[%# 641px ~%]
@media only screen and (min-width: 40em) {
select, input {
......@@ -395,17 +382,6 @@ select {
select[name="size"] {
max-width: 60px;
}
textarea {
/*font-size: 13px;
color: [% color_4 %];
min-height: 60px;
padding: 6px 9px;
border: 1px solid [% color_12 %];
border-radius: 3px;
width: 94%;
line-height: 20px;
outline:none;*/
}
legend {
*margin-left: -7px;
......@@ -707,38 +683,6 @@ table tr th, table tr td {
max-width: 100%;
}
[% IF 0 # No longer used ~%]
#nav {
position:relative;
top:-1px;
}
#nav li {
list-style: none;
float:left;
height:32px;
margin-right:5px;
background-image:none; /*overrides Massey default */
}
#nav a span {
display:block;
font-weight:bold;
padding:7px 15px 2px 15px;
}
#nav a {
display:block;
height:32px;
background-image:none;
background-color: transparent;
border:1px solid [% color_9 %];
color: [% color_7 %];
border: none;
border-radius: 3px 3px 0px 0px;
}
[%~ END # IF 0 ~%]
p {
word-wrap:break-word;
}
......@@ -828,13 +772,6 @@ main h1.robot_name {
aside nav menu.connect ul li > ul.menu li input{
height:1.5rem;
}
[% IF 0 # No longer used. ~%]
aside nav menu li.divider, aside nav menu [role="separator"] {
display:block;
margin:0!important;
border-bottom: 1px solid [% color_5 %];
}
[%~ END # IF 0 ~%]
#sympa-sub-bar menu {
width:98%;
max-width:250px;
......@@ -977,12 +914,6 @@ menu.shared li{
}
/****End Top button***/
[% IF 0 # No longer used. ~%]
.remember{
line-height: 2em;
}
[%~ END # IF 0 ~%]
/* Initials in list of lists */
main nav menu ul li.letter,
main nav menu ul li.letter a,
......@@ -1059,27 +990,6 @@ h4.letter {
margin:0.5rem 0;
}
[% IF 0 # No longer used. ~%]
.prefs {
line-height: 2em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.form_row {
margin-top: 1em;
float: left;
clear: left;
width: 100%;
}
.form_row label {
display: block;
float: left;
width: 150px;
}
[%~ END # IF 0 ~%]
#list_create form label[for="owner"]{
}
......@@ -1099,12 +1009,6 @@ h4.letter {
margin: 0;
}
[% IF 0 # No longer used. ~%]
.navBar li {
line-height: 2em;
}
[%~ END # IF 0 ~%]
#bold_label label {
display: inline-block;
width: 100px;
......@@ -1114,40 +1018,6 @@ h4.letter {
font-style: normal;
}
[% IF 0 # No longer used. ~%]
form#logs_form label,
form.bold_label label {
}
#Canvas {
min-height: 95%;
width: 98%;
margin: 0 0.8em -5em 0.8em;
overflow: hidden;
}
#Menus {
float:left;
width: 23.5em;
border: 0px solid;
margin-top:1em;
padding-top: 0px;
text-align: left;
}
#Paint {
vertical-align:top;
text-align: center;
}
#Title {
text-align: left;
font-size:1.8em;
font-weight: bold;
padding:1em 0 0 0;
z-index:520;
}
[%~ END # IF 0 ~%]
.menuInactive2 {
font-size: 1em;
line-height:1.4em;
......@@ -1159,41 +1029,6 @@ ul#MainMenuLinks li {
line-height: 1.7em;
}
[% IF 0 # No longer used. ~%]
#toggleMenu {
float: right;
padding-right: 3px;
}
td.adminmenu {
text-align: center;
}
.text_left {
text-align: left;
}
.text_right {
text-align: right!important;
}
td.text_right {
text-align: right;
}
.text_justify {
text-align: justify;
}
.without_padding {
padding:0!important;
}
.list_panel li {
list-style-type: none;
}
[%~ END # IF 0 ~%]
#list_type {
list-style-type: none;
}
......@@ -1210,12 +1045,6 @@ td.text_right {
font-size: larger;
}
[% IF 0 # No longer used. ~%]
span.center {
text-align: center;
}
[%~ END # IF 0 ~%]
table td.review_cels {
text-align: center;
padding:0 0.2em;
......@@ -1226,92 +1055,6 @@ table td.review_cels_mail {
padding:0 0 0 0.2em;
}
[% IF 0 # No longer used. ~%]
#home_rss_news {
float: right;
}
#home_rss_news input {
border: 1px solid;
padding:0.05em 1em;
text-decoration: none;
font-size: 0.9em;
font-weight: 600;
letter-spacing:0.1em;
/* if IE zoom:1;*/
zoom: 1;
-moz-border-radius:10px;
-webkit-border-radius:10px;
-KHTML-border-radius:10px;
-icab-border-radius:10px;
border-radius:10px;
}
#home_search_list {
clear: both;
}
#home_search_list form fieldset {
display: inline;
vertical-align: top;
}
#home_container {
padding: 10px;
border: 1px dashed;
-moz-border-radius:4px;
-webkit-border-radius:4px;
-KHTML-border-radius:4px;
-icab-border-radius:4px;
border-radius:4px;
}
.home_page_list{
width:100%;
}
.home_page_list li{
padding-bottom: 1rem;
line-height:2.5rem;
}
.home_page_list li a span:nth-of-type(2){
padding:0 0.5rem;
font-size:1.5rem;
}
.home_page_list li > span:nth-of-type(1){
display: block;
margin-top: -1rem;
font-size:1rem;
}
[%# No longer used.
.edit_list_request_enum{
margin: 0 0 1rem;
padding-left: 1em;
text-align: left;
font-size: 1em;
}
~%]
[%# No longer used.
.edit_list_request_enum span.divider:first-child {
display:none;
}
~%]
[%# No longer used.
/*.edit_list_request_enum label{
display: block;
float: left;
width: 150px;
}
*/
~%]
.list_admin {
font-size: 1em;
}
[%~ END # IF 0 ~%]
.mailing_lists_menu {
padding: 10px;
margin: 5px 25px 5px 25px;
......@@ -1346,28 +1089,6 @@ ul.no_style {
background-color: [% color_7 %]!important;
}
[% IF 0 # No longer used. ~%]
#help {
padding-left: 10px;
padding-top: 5px;
margin-bottom: 20px;
}
#help li {
padding: 1px;
}
#help_editfile, #blaklist {
margin: 1em;
}
#help_editfile ul, #blocklist ul {
padding-left: 1em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
[%~ END # IF 0 ~%]
ul#set_pending_radio {
display: inline;
list-style-type: none;
......@@ -1390,27 +1111,6 @@ form input[type="checkbox"] {
border:none;
}
[% IF 0 # No longer used. ~%]
#global_mailing_lists {
text-align: center;
}
#show_cert {
border: 1px solid;
}
#show_cert ul {
list-style-type: none;
padding-top: 5px;
margin-bottom: 5px;
}
#show_cert ul li {
line-height: 1em;
padding-left: 3px;
}
[%~ END # IF 0 ~%]
#cp_template {
border: 1px solid;
padding: 3px;
......@@ -1440,41 +1140,18 @@ footer {
width:100%;
height:1.5em;
margin: 0;
font-size: 1.1em;
font-size: x-small;
text-align: center;
padding-top:0.5rem;
padding-bottom:2.5rem;
clear:both;
}
footer a {
font-weight: normal;
font-size: 11px;
}
footer img {
margin:0 0.5em 0 0;
vertical-align:middle;
}
[% IF 0 # No longer used. ~%]
#Identity {
text-align: left;
padding-top: 1em;
}
.Help {
display: none;
position: absolute;
border: 1px dotted;
z-index: 1000;
}
#rows_nb {
font-size: 0.8em;
}
[%~ END # IF 0 ~%]
#page_size {
margin: 2rem 0;
padding-bottom: 20px;
......@@ -1483,38 +1160,11 @@ footer img {
width:100px;
}
[% IF 0 # No longer used. ~%]
.ContentBlock {
margin-top:1rem;
text-align: left;
}
[%~ END # IF 0 ~%]
.nomenu{
width:100%;
padding:0.5rem;
}
[% IF 0 # No longer used. ~%]
.nomenu .ContentBlock {
margin: 1em auto;
float:none;
width: 90%;
}
.ContentBlock h2 {
margin-top:0;
}
.ContentBlock > * {
}
.ContentBlock * a {
text-align: left;
}
[%~ END # IF 0 ~%]
a img.Pictures {
height:30px;
}
......@@ -1548,64 +1198,6 @@ a img.Pictures {
width:0px;
}
/*
.title {
position: absolute;
top: 60px;
font-size: 1.6em;
text-indent: 30px;
}
*/
[% IF 0 # No longer used. ~%]
.customMenu {
text-indent: 0px;
}
a.dingbat {
text-align: center;
}
.dingbat {
text-indent: 0px;
text-align: center;
font-weight: 100;
}
.smalltext {
font-size: 0.8em;
}
.smalltext a {
font-size: 0.8em;
}
.smallblacktext {
font-size: 1.2em;
}
.mediumtext {
font-size: 1.2em;
}
.largetext {
font-size: 1.6em;
}
[%~ END # IF 0 ~%]
[%# No longer used. ~%]
a.actionMenuLinksCurrentPage {
border: none;
text-decoration: none;
padding: 5px;
margin: 0 0.5em 0 0;
cursor:pointer;
background-color: [% color_10 %];
color: [% color_7 %];
font-size: 0.9em;
border-radius:2px;
}
a.actionMenuLinks,
span.actionMenuLinksInactive {
border: 1px solid;
......@@ -1709,40 +1301,11 @@ h7 strong {
font-size: 1em;
}