Skip to content

Commit

Permalink
version 0.2.19
Browse files Browse the repository at this point in the history
  • Loading branch information
LuttyYang committed Sep 21, 2017
1 parent 821ee1e commit e2b413b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ THEME_NAME:=material
THEME_TITLE:=Material

PKG_NAME:=luci-theme-$(THEME_NAME)
PKG_VERSION:=0.2.18
PKG_VERSION:=0.2.19
PKG_RELEASE:=1

include $(INCLUDE_DIR)/package.mk
Expand Down
22 changes: 10 additions & 12 deletions files/htdocs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,31 +159,29 @@ footer > a {
height: calc(100% - 4rem);
}

.page_loading {
position: absolute;
top: 0rem;
.main > .loading {
position: fixed;
width: 100%;
height: 4rem;
line-height: 4rem;
height: 100%;
z-index: 1000;
display: block;
background-color: rgb(240, 240, 240);
top: 0;
}

.main > .loading > span {
display: block;
text-align: center;
margin-top: 2rem;
color: #888;
font-size: 1.2rem;
}

.page_loading div {
display: inline;
vertical-align: middle;
}

.page_loading .loading-img:before {
.main > .loading > span > .loading-img:before {
content: "\e603";
}

.page_loading .loading-img {
.main > .loading > span > .loading-img {
animation: anim-rotate 2s infinite linear;
margin-right: 0.2rem;
display: inline-block;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion files/templates/header.htm
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@
</head>
<body class="lang_<%=luci.i18n.context.lang%> <%- if node then %><%= striptags( node.title ) %><%- end %> <% if luci.dispatcher.context.authsession then %>logged-in<% end %>">
<header>
<div class="page_loading"><span><div class="loading-img"></div>Loading...</span></div>
<div class="container">
<span class="showSide"></span>
<a class="brand" href="#"><%=boardinfo.hostname or "?"%></a>
Expand All @@ -229,6 +228,7 @@
</div>
</header>
<div class="main">
<div class="page_loading loading"><span><div class="loading-img"></div>Loading...</span></div>
<div class="main-left">
<% render_topmenu() %>
</div>
Expand Down

0 comments on commit e2b413b

Please sign in to comment.