/* Personnalisation du theme aux couleurs Microtec */
/* source : www.redmine.org/projects/redmine/wiki/howto_create_a_custom_redmine_theme */

/* load the default theme Redmine stylesheet */
@import url(../../../stylesheets/application.css);

/* add a logo in the header */
#header {
  background: #848484 url(../images/picto-microtec-32x32.png) no-repeat 6px 6px;
  padding-left: 50px;
}

#top-menu {
  background: #585858;
}

/* Style pour le custom field sql only for roadmap */
#roadmap pre {
  position: relative;
  overflow: hidden;
  /*transition: max-height 0.5s ease-in-out;*/
}

#roadmap .collapsed {
  max-height: 100px; 
}

#roadmap pre.collapsed:before {
  position: absolute;
  height: 100px;
  width: 100%;
  content: "";
  background: linear-gradient(to top,
                              rgba(255,255,255, 1) 20%,
			      rgba(255,255,255, 0) 80%
	                     );
  pointer-events: none; /* so the text is still selectable */
}

/* Style pour les block de code inline */
code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}

pre code {
  padding: 0;
  font-size: 100%;
  color: inherit;
  background: transparent;
  border-radius: 0; 
}

/* Style pour masquer le contenus des documents sur la liste de tout les documents */
.controller-documents.action-index .wiki {
  display: none;
}

#version_custom_field_values_1 {
  height: calc(100vh - 450px);
}
