diff --git a/public/static/css/style.css b/public/static/css/style.css index 91faa32..6e4f740 100644 --- a/public/static/css/style.css +++ b/public/static/css/style.css @@ -63,12 +63,12 @@ body input { display: block; } -.container-center { +/* .container-center { margin: 2rem auto auto auto; width: 96%; max-width: 80rem; z-index: 9; -} +} */ .layouter .vcell { text-align: left; diff --git a/public/static/css/white.css b/public/static/css/white.css index 00878af..23a186c 100644 --- a/public/static/css/white.css +++ b/public/static/css/white.css @@ -1,69 +1,30 @@ -.theme-white .bg { - background-color: #ecf0f1; -} +#root-frame {} -.theme-white .text-color { - color: #34495e; -} - -.theme-white .bg-img { +.theme-default #bg { background: url("/static/img/textured_paper.png") repeat fixed center; - /* background: url("/static/img/huangpu.jpg") repeat fixed center; */ -} +} -.theme-white .top-bar { +.theme-default .top-bar { background: rgba(255, 255, 255, 0.9); box-shadow: 0 5px 30px 0 rgba(31, 38, 135, 0.1); backdrop-filter: blur(9.5px); -webkit-backdrop-filter: blur(9.5px); } -/* .theme-white div.hr { - background-color: white; -} */ - -.theme-white .op-bar { +.theme-default .op-bar { background: rgba(255, 255, 255, 1); box-shadow: 0 5px 30px 0 rgba(31, 38, 135, 0.1); backdrop-filter: blur(9.5px); -webkit-backdrop-filter: blur(9.5px); } -.theme-white .panel { - background-color: #ccc; +.theme-default .container-center { + margin: 2rem auto auto auto; + width: 96%; + max-width: 80rem; + z-index: 9; } -.theme-white .panel-head { - /* background-color: white; */ - border-bottom: solid 1px #ecf0f1; -} - -.theme-white .panel-head-menu { - background-color: white; +.theme-default #tail { color: #34495e; - border-bottom: solid 1px #ecf0f1; -} - -.theme-white .panel-body { - /* background-color: #fafafa; */ - color: #34495e; -} - -.theme-white .nav-bar { - background-color: rgba(255, 255, 255, 0.9); - color: #7f8c8d; - fill: black; -} - -.theme-white .news .title { - color: #34495e; -} - -.theme-white .border { - background-color: #e0e0e0; -} - -.theme-white .wide-btn { - color: white; - background-color: #16a085; -} +} \ No newline at end of file diff --git a/src/client/web/src/components/root_frame.tsx b/src/client/web/src/components/root_frame.tsx index e02eba5..515e4a3 100644 --- a/src/client/web/src/components/root_frame.tsx +++ b/src/client/web/src/components/root_frame.tsx @@ -38,14 +38,16 @@ export class RootFrame extends React.Component { bgStyle = {}; } + const fontSizeClass = "font-m"; + const theme = "theme-default"; const showBrowser = this.props.login.userRole === roleVisitor && !this.props.browser.isSharing ? "hidden" : ""; return ( -
-
+
+
{ />
-
+
Quickshare - quick and simple file sharing.