frontend: last minute css fixes

This commit is contained in:
nemunaire 2018-01-23 04:16:50 +01:00
parent 167a6ae1cb
commit fdafbed237
6 changed files with 14 additions and 6 deletions

View File

@ -51,7 +51,7 @@ body {
.navbar { .navbar {
margin-bottom: 0; margin-bottom: 0;
} }
.navbar.bg-primary { .navbar.niceborder {
border-bottom: 5px #0092d1 solid; border-bottom: 5px #0092d1 solid;
} }
.navbar img { .navbar img {

View File

@ -13,7 +13,7 @@
</head> </head>
<body class="bg-light"> <body class="bg-light">
<div class="navbar navbar-expand-lg navbar-dark bg-dark text-light"> <div class="navbar navbar-expand-lg navbar-dark bg-dark text-light niceborder">
<div class="container"> <div class="container">
<div class="col-md-auto"> <div class="col-md-auto">
<a href="/"> <a href="/">

View File

@ -13,7 +13,7 @@
</head> </head>
<body class="bg-light"> <body class="bg-light">
<div class="navbar navbar-expand-lg navbar-dark bg-dark text-light"> <div class="navbar navbar-expand-lg navbar-dark bg-dark text-light niceborder">
<div class="container"> <div class="container">
<div class="col-md-auto"> <div class="col-md-auto">
<a href="/"> <a href="/">

View File

@ -13,7 +13,7 @@
</head> </head>
<body class="bg-light"> <body class="bg-light">
<div class="navbar navbar-expand-lg navbar-dark bg-dark text-light"> <div class="navbar navbar-expand-lg navbar-dark bg-dark text-light niceborder">
<div class="container"> <div class="container">
<div class="col-md-auto"> <div class="col-md-auto">
<a href="/"> <a href="/">

View File

@ -69,7 +69,7 @@
<div ng-controller="DataController"> <div ng-controller="DataController">
<nav class="navbar navbar-expand-lg bg-primary" ng-cloak> <nav class="navbar navbar-expand-lg bg-primary niceborder" ng-cloak>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#themesMenu" aria-controls="themesMenu" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#themesMenu" aria-controls="themesMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>

View File

@ -1,6 +1,14 @@
<nav role="navigation"> <nav role="navigation">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li ng-repeat="(k,exercice) in themes[current_theme].exercices" class="breadcrumb-item" ng-class="{active: k == current_exercice, disabled: !my.exercices[k]}"><a ng-if="(k != current_exercice && !my.exercices[k])">{{ exercice.title }}</a><a ng-href="/{{ themes[current_theme].urlid }}/{{ themes[current_theme].exercices[k].urlid }}" ng-if="(k != current_exercice && my.exercices[k])">{{ exercice.title }} <span class="glyphicon glyphicon-gift" aria-hidden="true" ng-if="themes[current_theme].exercices[k].curcoeff > 1.0"></span> <span class="glyphicon glyphicon-ok" aria-hidden="true" ng-if="(my.team_id && my.exercices[k].solved)"></span></a><em ng-if="k == current_exercice">{{ exercice.title }}</em></li> <li ng-repeat="(k,exercice) in themes[current_theme].exercices" class="breadcrumb-item" ng-class="{active: k == current_exercice, disabled: !my.exercices[k]}">
<a ng-if="(k != current_exercice && !my.exercices[k])">{{ exercice.title }}</a>
<a ng-href="/{{ themes[current_theme].urlid }}/{{ themes[current_theme].exercices[k].urlid }}" ng-if="(k != current_exercice && my.exercices[k])">
{{ exercice.title }}
<span class="glyphicon glyphicon-gift" aria-hidden="true" ng-if="themes[current_theme].exercices[k].curcoeff > 1.0"></span>
<span class="glyphicon glyphicon-ok" aria-hidden="true" ng-if="(my.team_id && my.exercices[k].solved)"></span>
</a>
<strong ng-if="k == current_exercice" class="text-info">{{ exercice.title }}</strong>
</li>
</ol> </ol>
</nav> </nav>