# HG changeset patch # User salimr # Date 1539104867 -7200 # Node ID 1f340f3597a886a5ef479fd74f4957899b800f61 # Parent 950a2350930fd6086741e5cbacaac3351b7316bb Adapt css for CreateSession and Navbar components diff -r 950a2350930f -r 1f340f3597a8 client/src/App.js --- a/client/src/App.js Tue Oct 09 19:02:17 2018 +0200 +++ b/client/src/App.js Tue Oct 09 19:07:47 2018 +0200 @@ -11,10 +11,10 @@
-
+ {/*
Bienvenue sur

IRI Notes

-
+
*/}
); diff -r 950a2350930f -r 1f340f3597a8 client/src/App.scss --- a/client/src/App.scss Tue Oct 09 19:02:17 2018 +0200 +++ b/client/src/App.scss Tue Oct 09 19:07:47 2018 +0200 @@ -4,10 +4,6 @@ text-decoration-style: dotted; } -.ReactModal__Overlay { - z-index: 1020; -} - a { cursor: pointer; } diff -r 950a2350930f -r 1f340f3597a8 client/src/components/CreateSession.js --- a/client/src/components/CreateSession.js Tue Oct 09 19:02:17 2018 +0200 +++ b/client/src/components/CreateSession.js Tue Oct 09 19:07:47 2018 +0200 @@ -18,7 +18,6 @@ protocolOpen: false, title: "", description: "" - // protocol:null } componentWillMount() { @@ -71,14 +70,14 @@ render() { return ( -
- Créer une nouvelle session +
+ Nouvelle session -
+
{ e.preventDefault() } }>
@@ -103,7 +102,7 @@
{/*
{JSON.stringify(this.props.currentSession.protocol, null, 2)}
*/} -
{JSON.stringify(this.getGroupProtocol(), null, 2)}
+
{JSON.stringify(this.getGroupProtocol(), null, 2)}
diff -r 950a2350930f -r 1f340f3597a8 client/src/components/CreateSession.scss --- a/client/src/components/CreateSession.scss Tue Oct 09 19:02:17 2018 +0200 +++ b/client/src/components/CreateSession.scss Tue Oct 09 19:07:47 2018 +0200 @@ -1,13 +1,18 @@ .bg-primary { - border-radius: 0% 0% 3% 3%; -} - -#session-button { - font-size: 1.5rem; - cursor: pointer; + border-radius: 3%; } .material-icons.protocol-toggle { font-size: 1rem; cursor: pointer; } + +.protocol { + max-height: 150px; + overflow-x: auto; + overflow-y: auto; +} + +.new-session-link { + font-size: 1.4rem; +} diff -r 950a2350930f -r 1f340f3597a8 client/src/components/Navbar.js --- a/client/src/components/Navbar.js Tue Oct 09 19:02:17 2018 +0200 +++ b/client/src/components/Navbar.js Tue Oct 09 19:07:47 2018 +0200 @@ -148,61 +148,67 @@ render() { return (
- - + +
+ +
); } diff -r 950a2350930f -r 1f340f3597a8 client/src/components/Navbar.scss --- a/client/src/components/Navbar.scss Tue Oct 09 19:02:17 2018 +0200 +++ b/client/src/components/Navbar.scss Tue Oct 09 19:07:47 2018 +0200 @@ -1,3 +1,7 @@ +.offline-message { + font-size: .9rem; +} + .sync-button-synchronizing { color: lightgreen; } @@ -7,11 +11,11 @@ } .username#navbarDropdown { - font-size: 24px; + font-size: 1.4rem; } .nav-link { - font-size: 20px; + font-size: 1.2rem; } .dropdown-toggle{ @@ -19,7 +23,7 @@ } .dropdown-item { - font-size: 18px; + font-size: 1.1rem; cursor: pointer; } @@ -30,11 +34,11 @@ } .create-group { - font-size: 14px; + font-size: .9rem; } .nav-link .dropdown-toggle .username .font-weight-bold { - font-size: 18px; + font-size: 1.1rem; } #logout-modal{