Skip to content
Snippets Groups Projects
Commit 2bd2a57b authored by jkerdreu's avatar jkerdreu
Browse files

First SASS Release

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1772 b32b6428-25c9-4566-ad07-03861ab6144f
parent b4e9d591
Branches
No related tags found
No related merge requests found
$color1: #00bbd7;
$color2 : #777;
$menu_bg: #333;
$menu_bg_hover: $color2;
@import "config";
@font-face {
font-family: defaultfont;
src: url(../fonts/sansation_light.woff);
}
/*===========================================================================*/
/* Default Elements */
/*===========================================================================*/
body {
margin:0;
font-family: defaultfont;
}
pre {
background-color: #eee;
overflow-x:auto;
}
table {
border-collapse: collapse;
width: 800;
}
th, td {
padding: 6px;
text-align: left;
border-bottom: 1px solid $color2;
}
th {
background: $color1;
color: white;
}
a {
text-decoration: none;
}
/*===========================================================================*/
/* TOP Menu */
/*===========================================================================*/
ul.menu {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: $menu_bg;
position: fixed; /* Set the navbar to fixed position */
top: 0; /* Position the navbar at the top of the page */
width: 100%; /* Full width */
/* box-shadow: 0px 4px 4px #aaaaaa; */
}
ul.menu li {
float: left;
}
ul.menu li a {
display: block;
color: white;
padding: 10px;
text-decoration: none;
transition: all 0.2s ease;
font-weight: bold;
}
ul.menu li.active {
background-color: $color1;
}
ul.menu li a:hover {
background-color: $menu_bg_hover;
}
/*===========================================================================*/
/* Side Nav */
/*===========================================================================*/
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: $menu_bg;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
box-shadow: 2px 0px 4px #aaaaaa;
}
.sidenav a {
padding: 4px 4px 4px 32px;
text-decoration: none;
display: block;
transition: all 0.2s ease;
color: white;
font-weight: bold;
}
.sidenav a:hover, .offcanvas a:focus{
color: #f1f1f1;
background-color: $menu_bg_hover;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
margin-left: 50px;
}
/*===========================================================================*/
/* Panel */
/*===========================================================================*/
.panel {
border: 1px solid #555;
min-width: 300px;
float: left;
margin: 5px;
}
.panel-heading {
background-color: $color1;
color: #fff;
font-weight: bold;
}
/*===========================================================================*/
/* Grid */
/*===========================================================================*/
.grid {
display: grid;
grid-gap: 7px;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr) ) ;
color: #444;
}
.grid-background {
/* background-image: url("https://wallpaperscraft.com/image/spruce_shadow_dark_background_branch_68089_1920x1200.jpg"); */
background-image: url("/static/imgs/bg1.jpg");
min-height: 800px;
padding: 0.5em;
}
.grid-box {
background: rgba(33, 33, 33, 0.5);
color: #EEE;
border-radius: 3px;
padding: 8px;
font-size: 120%;
height: 200px;
border: 1px solid $color2;
/* display: flex; */
/* Vertical align: */
/* align-items: center; */
/* Horizontal align: */
/*justify-content: center;*/
}
.two {
grid-column: auto / span 2;
/* grid-row: span 2 / auto ; */
}
.grid-box a {
color: #00bbd7;
}
.button {
background-color: $color1;
color : white;
border : none;
text-decoration: none;
border-radius: 2px;
display: inline-block;
padding: 0.5em 1.5em;
}
.button:hover {
background-color : #ff005f;
}
.show {
border: 1px solid red;
}
/*===========================================================================*/
/* Display elements */
/*===========================================================================*/
#socket-status {
font-weight: bold;
font-size: 80%;
background-color: #f1f1f1;
/* margin-top: 45px; */
}
#main {
transition: margin-left .5s;
margin-left: 0em;
margin-right: 0em;
margin-top: 8px;
}
#content {
margin: 1em;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment