仨
This commit is contained in:
BIN
CangJiGaoDeGuoMiaoHei.woff
Normal file
BIN
CangJiGaoDeGuoMiaoHei.woff
Normal file
Binary file not shown.
@@ -1,3 +1,7 @@
|
||||
# Project-ALLA-UI-Design
|
||||
ALLA的UI设计,同时提供css样式和psd样式
|
||||
使用CCO协议开源
|
||||
ALLA的UI设计,同时提供css样式和psd样式。
|
||||
使用CCO协议开源。
|
||||
|
||||
# 使用
|
||||
你可以在网页上引用css,或者使用psd文件进行自由创作。
|
||||
查看view.html来演示效果。
|
||||
24
button-normal.html
Normal file
24
button-normal.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href="main-menu-style.css">
|
||||
</head>
|
||||
<body>
|
||||
<br><br><br>Normal<br><br><br>
|
||||
<div class="box">
|
||||
<div class="box_text">
|
||||
Button#1
|
||||
</div>
|
||||
</div>
|
||||
<br><br><br>Press<br><br><br>
|
||||
<div class="box_press">
|
||||
<div class="box_text_press">
|
||||
Button#2
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
54
main-menu-style.css
Normal file
54
main-menu-style.css
Normal file
@@ -0,0 +1,54 @@
|
||||
/* 主页UI */
|
||||
/* å››ä¸ªæ–œæ–¹å— */
|
||||
|
||||
.box {
|
||||
margin-left: auto;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
margin-right: auto;
|
||||
border: 80px;
|
||||
border-radius: 10%;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-color: #C0B0FF;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transform: rotate(45deg);
|
||||
box-shadow: 0px 0px 2px 2px #CABDFF;
|
||||
background-color: rgba(192, 176, 255, 0.3);
|
||||
}
|
||||
|
||||
.box_text {
|
||||
font-size: large;
|
||||
transform: rotate(-45deg);
|
||||
color: #8F8F8F;
|
||||
}
|
||||
|
||||
.box_press {
|
||||
margin-left: auto;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
margin-right: auto;
|
||||
border: 80px;
|
||||
border-radius: 10%;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-color: #C0B0FF;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transform: rotate(45deg);
|
||||
box-shadow: 0px 0px 2px 2px #CABDFF;
|
||||
background-color: rgba(138, 110, 250, 0.3);
|
||||
}
|
||||
|
||||
.box_text_press {
|
||||
font-size: large;
|
||||
transform: rotate(-45deg);
|
||||
color: #555555;
|
||||
}
|
||||
0
main-menu-style.psd
Normal file
0
main-menu-style.psd
Normal file
52
setting.css
Normal file
52
setting.css
Normal file
@@ -0,0 +1,52 @@
|
||||
.star {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 20px;
|
||||
height: auto;
|
||||
margin-top: -8%;
|
||||
margin-right: -9%;
|
||||
z-index: 10;
|
||||
transform: rotate(25deg);
|
||||
stroke: #c0b0ff;
|
||||
stroke-width: 5px;
|
||||
fill: #fcfcfc;
|
||||
}
|
||||
|
||||
.star_press {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 20px;
|
||||
height: auto;
|
||||
margin-top: -15%;
|
||||
margin-right: 32%;
|
||||
z-index: 10;
|
||||
transform: rotate(25deg);
|
||||
stroke: #c0b0ff;
|
||||
stroke-width: 5px;
|
||||
fill: #fcfcfc;
|
||||
}
|
||||
|
||||
.setting_button {
|
||||
position: relative;
|
||||
padding: 6px 15px;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
white-space: nowrap;
|
||||
line-height: 1.5;
|
||||
transition: color .3s ease, background-color .3s ease, border .3s ease;
|
||||
box-sizing: border-box;
|
||||
color: #8f8f8f;
|
||||
background-color: #fcfcfc;
|
||||
border-color: #c0b0ff;
|
||||
margin-left: 40%;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
margin-right: 40%;
|
||||
}
|
||||
75
view.css
Normal file
75
view.css
Normal file
@@ -0,0 +1,75 @@
|
||||
/* 这个样式只是为了让展示页好看,没什么大用的 */
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font1';
|
||||
src: url(CangJiGaoDeGuoMiaoHei.woff);
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
height: 40px;
|
||||
font-size: 12px;
|
||||
border: 2px solid white;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
background-color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.topbar li {
|
||||
display: inline;
|
||||
color: rgb(0, 0, 0);
|
||||
margin-right: 13px;
|
||||
font-size: large;
|
||||
font-family:Font1;
|
||||
}
|
||||
|
||||
.topbar ul {
|
||||
display: inline-block;
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
.topbar-right {
|
||||
position: absolute;
|
||||
right: 10%;
|
||||
|
||||
}
|
||||
|
||||
.topbar-left {
|
||||
margin-left: 10%;
|
||||
}
|
||||
|
||||
a{
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
|
||||
h1 {
|
||||
border: 2px solid white;
|
||||
border-radius: 5px;
|
||||
margin-top: 2%;
|
||||
margin-right: 10%;
|
||||
margin-bottom: auto;
|
||||
margin-left: 10%;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
background-color: rgb(255, 255, 255);
|
||||
font-family: Font1;
|
||||
}
|
||||
|
||||
p {
|
||||
border: 2px solid white;
|
||||
border-radius: 5px;
|
||||
margin-top: auto;
|
||||
margin-right: 10%;
|
||||
margin-bottom: auto;
|
||||
margin-left: 10%;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
background-color: rgb(255, 255, 255);
|
||||
font-family: Font1;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: linear-gradient(45deg, transparent 0%, transparent 55%, rgba(64, 64, 64, 0.04) 55%, rgba(64, 64, 64, 0.04) 76%, transparent 76%, transparent 100%), linear-gradient(135deg, transparent 0%, transparent 14%, rgba(64, 64, 64, 0.04) 14%, rgba(64, 64, 64, 0.04) 41%, transparent 41%, transparent 100%), linear-gradient(45deg, transparent 0%, transparent 2%, rgba(64, 64, 64, 0.04) 2%, rgba(64, 64, 64, 0.04) 18%, transparent 18%, transparent 100%), linear-gradient(135deg, transparent 0%, transparent 61%, rgba(64, 64, 64, 0.04) 61%, rgba(64, 64, 64, 0.04) 71%, transparent 71%, transparent 100%), linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
||||
}
|
||||
65
view.html
Normal file
65
view.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>View UI Design</title>
|
||||
|
||||
<!--CSS Import Start-->
|
||||
<link rel="stylesheet" href="main-menu-style.css">
|
||||
<link rel="stylesheet" href="view.css">
|
||||
<link rel="stylesheet" href="setting.css">
|
||||
<!--CSS Improt End-->
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="topbar">
|
||||
<ul class="topbar-left">
|
||||
<li>Project ALLA UI Design</li>
|
||||
|
||||
</ul>
|
||||
<ul class="topbar-right">
|
||||
<li><a href="#" alt="">X</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>
|
||||
主页UI-按钮
|
||||
</h1>
|
||||
<br><br>
|
||||
<div class="box">
|
||||
<div class="box_text">
|
||||
Button#1
|
||||
</div>
|
||||
</div>
|
||||
<br><br>
|
||||
<div class="box_press">
|
||||
<div class="box_text_press">
|
||||
Button#2
|
||||
</div>
|
||||
</div>
|
||||
<br><br>
|
||||
<h1>
|
||||
设置页UI-按钮
|
||||
</h1>
|
||||
<br><br>
|
||||
<div class="setting_button">
|
||||
<svg id="star" viewBox="0 0 50 50" class="star">
|
||||
<path
|
||||
d="M37.727,33.037l2.067,12.057
|
||||
c0.104,0.607-0.132,1.188-0.63,1.549c-0.5,0.361-1.121,0.406-1.667,0.121L26.669,41.07c-0.521-0.273-1.097-0.412-1.669-0.412
|
||||
c-0.573,0-1.146,0.139-1.669,0.413l-10.826,5.692c-0.547,0.285-1.169,0.24-1.668-0.121s-0.733-0.941-0.63-1.549l2.068-12.057
|
||||
c0.199-1.163-0.187-2.35-1.031-3.174l-8.761-8.539c-0.441-0.431-0.592-1.038-0.4-1.623c0.19-0.587,0.668-0.989,1.277-1.078
|
||||
l12.105-1.759c1.168-0.169,2.179-0.902,2.701-1.961l5.413-10.97c0.272-0.553,0.804-0.882,1.42-0.882
|
||||
c0.616,0,1.147,0.329,1.421,0.882l5.413,10.97c0.522,1.059,1.531,1.792,2.699,1.961l12.106,1.759
|
||||
c0.609,0.089,1.088,0.491,1.277,1.078c0.191,0.585,0.041,1.192-0.4,1.623l-8.76,8.539C37.912,30.688,37.525,31.873,37.727,33.037z">
|
||||
</path>
|
||||
</svg>
|
||||
awa
|
||||
</div>
|
||||
<br><br>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user