Repository navigation
Expand file tree
/
Copy pathvariables.less
More file actions
98 lines (70 loc) · 1.96 KB
/
Copy pathvariables.less
File metadata and controls
98 lines (70 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//
// Variables
// --------------------------------------------------
// Type
// --------------------------------------------------
@font-family-default: "Helvetica Neue", Helvetica, sans-serif;
@font-size-default: 0.85rem;
@font-weight: 500;
@font-weight-light: 400;
@line-height-default: 1.05rem;
//img
@imgBaseUrl: "../img";
// Colors
// --------------------------------------------------
// 主色
@color-primary: #007aff;
@color-danger: #ff3b30;
@color-warning: #ff9500;
@color-success: #4cd964;
@color-primary-active: darken(@color-primary, 10%);
@color-danger-active: darken(@color-danger, 10%);
@color-warning-active: darken(@color-warning, 10%);
@color-success-active: darken(@color-success, 10%);
//链接色
@color-link: #007aff; //链接色有可能不同于主色
@color-link-active: darken(@color-primary, 10%); //链接色有可能不同于主色
//文本色
@color-text: #333;
//背景色
@color-bg: #efeff4;
//这里是F7 的颜色定义,供参考,全部要改成上面的定义
/*
@blue:#007aff;
@red: #ff3b30;
@white: #ffffff;
@black: #000000;
@lightblue: #5ac8fa;
@yellow: #ffcc00;
@orange: #ff9500;
@pink: #ff2d55;
@green: #4cd964;
@gray: #8e8e93;
*/
//这里是原 ratchet 定义,供参考
// Action colors
/*
@default-color: #fff;
@positive-color: #5cb85c;
@negative-color: #d9534f;
*/
// Bars
// --------------------------------------------------
@bar-base-height: 2.2rem;
@bar-tab-height: 2.5rem;
@bar-side-spacing: 0.5rem;
// Cards
// --------------------------------------------------
@card-bg: #fff;
// Buttons
// --------------------------------------------------
@button-font-size: 0.6rem;
// Transitions
// --------------------------------------------------
@timing-fuction: cubic-bezier(.1,.5,.1,1); // Inspired by @c2prods
// Borders
// --------------------------------------------------
@border-default-width: 1px;
@border-default-color: #ddd;
@border-default: @border-default-width solid @border-default-color;
@border-radius: 0.3rem;