Commit 66424af4 authored by h3remi7's avatar h3remi7

add style

parent b3bb58b0
:host {
background-color: #c3d9ff;
flex-grow: 1;
overflow-y: auto;
}
\ No newline at end of file
Detail <h1>东方绯想天则</h1>
\ No newline at end of file
<div>
<button type="button" class="btn btn-primary">安装</button>
<button type="button" class="btn btn-secondary">导入</button>
<button type="button" class="btn btn-secondary">正版代购</button>
</div>
<div>
<button type="button" class="btn btn-primary">运行</button>
<button type="button" class="btn btn-secondary">设置</button>
<button type="button" class="btn btn-secondary">游览本地文件</button>
<button type="button" class="btn btn-secondary">联机</button>
</div>
<br>
<h2>新闻</h2>
<p>这里是新闻</p>
<br>
<h2>好友</h2>
<p>好友信息</p>
<br>
<h2>成就</h2>
<p>成就信息</p>
<br>
<h2>Mods</h2>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>名称</th>
<th>类型</th>
<th>启用</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>东方绯想天</td>
<td>依赖</td>
<td></td>
</tr>
<tr>
<th scope="row">2</th>
<td>简体中文包</td>
<td>语言</td>
<td></td>
</tr>
<tr>
<th scope="row">3</th>
<td>东方绯想天则OST</td>
<td>OST</td>
<td></td>
</tr>
</tbody>
</table>
:host { :host {
background-color: darkslategray; background-color: darkslategray;
width: 280px;
} }
\ No newline at end of file
Apps <div class="list-group">
\ No newline at end of file <a href="#" class="list-group-item active">
游戏王
</a>
<a href="#" class="list-group-item list-group-item-action">绯想天</a>
<a href="#" class="list-group-item list-group-item-action disabled">永远消失的幻想乡</a>
</div>
\ No newline at end of file
:host { :host {
background-color: #336699; background-color: #336699;
height: 236px;
} }
\ No newline at end of file
:host { :host {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-content: space-between;
} }
#main { #main {
...@@ -10,7 +8,3 @@ ...@@ -10,7 +8,3 @@
flex-grow: 1; flex-grow: 1;
} }
app {
display: flex;
flex-grow: 1;
}
...@@ -2,6 +2,12 @@ body { ...@@ -2,6 +2,12 @@ body {
font-family: "Helvetica Neue", Helvetica, Arial, 'Source Sans Pro', "Microsoft YaHei", 'Microsoft JhengHei', "WenQuanYi Micro Hei", sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, 'Source Sans Pro', "Microsoft YaHei", 'Microsoft JhengHei', "WenQuanYi Micro Hei", sans-serif;
} }
:host {
height: 100%;
display: flex;
flex-direction: column;
}
nav { nav {
-webkit-app-region: drag; -webkit-app-region: drag;
padding-right: 0; padding-right: 0;
...@@ -20,8 +26,8 @@ nav.darwin { ...@@ -20,8 +26,8 @@ nav.darwin {
margin: 0 0.5rem; margin: 0 0.5rem;
} }
#wrapper { .page {
padding-top: 54px; flex-grow: 1;
/*margin-bottom: 60px;*/ /*margin-bottom: 60px;*/
} }
......
<nav class="navbar navbar-fixed-top navbar-dark bg-inverse" [class.darwin]="platform == 'darwin'"> <nav class="navbar navbar-dark bg-inverse" [class.darwin]="platform == 'darwin'">
<a class="navbar-brand" href="#">MyCard</a> <a class="navbar-brand" href="#">MyCard</a>
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<!-- <!--
...@@ -65,9 +65,7 @@ ...@@ -65,9 +65,7 @@
</div> </div>
</nav> </nav>
</div>--> </div>-->
<div id="wrapper"> <login class="page" [hidden]="routingService.component != 'login'"></login>
<login [hidden]="routingService.component != 'login'"></login> <store class="page" [hidden]="routingService.component != 'store'"></store>
<store [hidden]="routingService.component != 'store'"></store> <lobby class="page" [hidden]="routingService.component != 'lobby'"></lobby>
<lobby [hidden]="routingService.component != 'lobby'"></lobby> <community class="page" [hidden]="routingService.component != 'community'"></community>
<community [hidden]="routingService.component != 'community'"></community>
</div>
\ No newline at end of file
:host {
background-color: bisque;
display: none;
width: 250px;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment