eoredmine/stylesheets/application.scss

452 lines
7.8 KiB
SCSS

@import url(../../../stylesheets/application.css);
.controller-projects .splitcontentleft {
float: left;
width: 78%;
}
.controller-projects .splitcontentright {
float: right;
width: 20%;
}
@font-face {
font-family: 'Museo500';
src: url(Museo500-Regular.otf);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'MuseoSlab';
src: url(Museo_Slab.otf);
font-weight: normal;
font-style: normal;
}
body {
color:#303030; background:#f3f3f3;
}
#top-menu {
font-size: 1em;
height: 50px;
padding: 0px;
background: url(../images/header-03.jpeg) no-repeat;
background-size: 100% 500px;
font-family: sans-serif;
line-height: 50px;
border-bottom: 1px solid #888;
}
#top-menu #loggedas {
color: #aaa;
margin: 0;
background-color: black;
padding-left: 2em;
font-size: 10px;
}
#top-menu #account {
margin: 0;
padding-right: 2em;
padding-left: 1em;
height: 50px;
line-height: 50px;
background-color: black;
font-size: 10px;
}
#top-menu a {
color: #000;
font-weight: normal;
text-shadow: 0 0 2px white;
}
#top-menu #account a, #top-menu #loggedas a {
font-weight: normal;
text-shadow: none;
font-size: 10px;
color: #aaa;
}
#top-menu > ul {
padding-left: 1em;
}
#top-menu > ul > li:first-child {
background: url(../images/eo-sansnom.png) 0 5px no-repeat;
background-size: auto 40px;
padding-left: 100px;
}
#top-menu a.help { display: none }
#header {
min-height: auto;
background: #f3f3f3;
}
#header a {
color: #606060;
}
#header h1 {
font-size: 28px;
color: #606060;
font-family: MuseoSlab, sans-serif;
font-weight: normal;
}
#header h1 a.root {
font-size: 75%;
}
#header h1 a.ancestor {
font-size: 75%;
}
#quick-search { margin-right: 6px; }
#quick-search input { float: right; }
#main-menu {
text-color: #404041;
left: 0;
}
#main-menu li {
padding-right: 5px;
}
#main-menu li a {
color: #404041;
padding: 4px 8px 4px 8px;
font-weight: normal;
font-family: MuseoSlab, sans-serif;
}
#main-menu li a:hover {
background: none;
color: #E0007A;
}
#main-menu li a.selected, #main-menu li a.selected:hover {
background: none;
color: #E0007A;
}
#footer {
font-size: 0.9em;
height: 1.5em;
padding: 2px;
background-color: #636770;
border: 0;
color: #fff;
font-family: sans-serif;
text-align: right;
}
#footer a { color: #fff; font-weight: bold; }
#main { font:Verdana,Tahoma,Arial,sans-serif; background: #f3f3f3; }
#main a { color: #467aa7;}
#main a:hover { color: #2a5a8a; text-decoration: underline; }
#content {
width: 80%;
background: #fff;
border-right: 1px solid #eee;
border-top: 1px solid #eee;
border-radius: 8px;
}
#content .tabs ul { bottom:-1px; }
#sidebar {
position: absolute;
left: 82%;
width: 17%;
padding-left: 10px;
}
#sidebar li a {
display: inline-block;
padding: 2px 0;
}
h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {
font-weight: normal;
border-bottom: 0px;
color:#606060;
font-family: MuseoSlab, sans-serif;
}
h2, .wiki h1 { letter-spacing:-1px; }
h4 { border-bottom: dotted 1px #c0c0c0; }
div.wiki {
clear: both;
}
.wiki h1 {
font-size: 28px;
line-height: 120%;
}
.wiki h2 {
font-size: 24px;
line-height: 120%;
}
.wiki h3 {
font-size: 20px;
line-height: 120%;
}
.wiki h4 {
font-size: 18px;
line-height: 120%;
}
#content a.wiki-anchor {
color: #f0f0f0;
}
#content a.wiki-anchor:hover {
text-decoration: none;
}
#top-menu a.home, #top-menu a.my-page, #top-menu a.projects, #top-menu a.administration, #top-menu a.help {
padding-left: 15px;
padding-right: 15px;
padding-top: 2px;
padding-bottom: 3px;
font-size: 16px;
font-weight: bold;
}
.bgl {
height: 22px;
}
.redmine {
float: left;
padding-left: 10px;
}
.regardscitoyens {
float: right;
font-weight: bold;
}
.regardscitoyens a {
padding-left: 25px;
margin-right: 10px;
text-align: left;
font-family: Arial;
color: #000;
background: url("../images/top_initiative.png") no-repeat 0px -35px;
}
.RC {
font-size: 1.1em;
}
/* Regular table */
#main *, #main table.list tbody {
tr.priority-high2, tr.priority-highest {
font-weight: bold;
color: #900;
&.odd {
background: #ffc4c4;
}
&.even {
background: #ffd4d4;
}
&.closed { /* cancel */
background: inherit;
font-weight: inherit;
color: inherit;
}
}
tr.priority-lowest, tr.closed {
opacity: 0.8;
}
tr.odd, tr.even {
&:hover {
background: #ffffaa;
}
}
tr {
td.status, td.priority {
color: #666;
}
&.context-menu-selection {
td.status, td.priority {
color: white;
}
}
td.subject a {
color: darken(#467aa7, 20%);
}
td.id {
padding: 1px 5px;
text-align: center;
a {
border: 1px solid transparent;
display: inline-block;
padding: 2px;
border-radius: 4px;
}
}
&.status-1 td.id a { /* nouveau */
background: #56c559;
color: white;
}
&.status-2 td.id a { /* en cours */
background: darken(#56c559, 20%);
color: white;
}
&.status-10 td.id a { /* en cours */
background: lighten(yellow, 20%);
color: black;
}
&.status-12 td.id a { /* solution proposee */
background: #b462de;
color: white;
}
&.status-13 td.id a { /* solution proposee */
background: darken(#b462de, 20%);
color: white;
}
&.status-3 td.id a { /* resolu (a deployer) */
background: darken(#b462de, 40%);
color: white;
}
&.status-4 td.id a { /* solution deployee */
background: white;
color: black;
border-color: #333;
}
}
}
.controller-issues.action-index #main table.list tbody {
tr td.subject a {
display: block;
}
}
#header h1 .breadcrumbs {
display: inline-block;
font-size: 100%;
font-weight: normal;
padding-right: 1ex;
}
p.breadcrumb {
border-bottom:1px solid white;
font-size:0.9em;
margin:-6px -10px 6px;
padding:6px;
text-indent:15px;
}
table.messages tr.message td {
padding-top: 0.7em;
}
div#quick-search a {
display: none;
}
#content .tabs {
margin-bottom: 0;
}
span#attachments_fields input.description {
width: 30em;
}
div.projects-listing {
-webkit-column-width: 20em;
-moz-column-width: 20em;
column-width: 20em;
}
div.projects-listing div.box {
-webkit-column-break-inside: avoid;
-moz-column-break-inside: avoid;
column-break-inside: avoid;
display: table;
}
div.wiki img {
max-width: 100%;
}
div.wiki pre {
white-space: pre-wrap;
}
div.issue {
border: 1px solid #ccc;
border-radius: 8px;
padding-left: 8px;
padding-right: 8px;
}
div.issue div.subject h3 {
color: #333
}
pre.format-patch-description {
background: #eee;
padding: 3px 1ex;
max-width: 90ex;
}
table.related-issues td a.status-3:before, /* resolved (to deploy) */
table.related-issues td a.status-4:before { /* solution deployed */
content: "";
}
table.related-issues td a.status-10::after {
content: " (info nécessaire)";
}
table.list.issues tr.status-3 td.id, /* resolved (to deploy) */
table.list.issues tr.closed td.id {
text-decoration: line-through;
}
ul#deployed {
line-height: 150%;
}
ul#deployed li.nok {
display: none;
color: #aaa;
}
ul#deployed li.ok::before {
content: "";
}
ul#deployed li.nok::before {
content: "";
}
body.controller-issues.action-show div#content > div.contextual > a.icon-del {
display: none;
}
div.wiki { /* also used for descriptions and comments */
line-height: 140%;
}
div.wiki hr {
margin: 2em auto;
width: 90%;
}
div.jenkins {
margin: 1em 1em 1em 1.6em;
border: 2px solid #e2e2e2;
padding: 1ex;
background: #fafafa;
}
div.jenkins-SUCCESS {
border-color: #59e364;
}
div.jenkins-FAILURE {
border-color: #e35964;
}
div.journal ul.details {
color: inherit;
}
.project-prod-eo #main-menu li a.new-issue {
display: none;
}