Răsfoiți Sursa

Update ModuleBar

Nikatlas 5 ani în urmă
părinte
comite
39cddab696
2 a modificat fișierele cu 23 adăugiri și 19 ștergeri
  1. 23 8
      Systems/ModuleBar.js
  2. 0 11
      yarn.lock

+ 23 - 8
Systems/ModuleBar.js

@@ -43,7 +43,7 @@ export default class ModuleBar {
 							namespace: key,
 							ctor: name
 						})}>
-							<View style={{minWidth: 50, minHeight:50, backgroundColor: 'rgba(0,0,0,0.2)'}}>
+							<View style={ModPrev.previewContainer}>
 								{this.CoreSystem.ModuleSystem.createElementCtor(list[key][name])}
 							</View>
 						</Text>
@@ -67,9 +67,24 @@ export default class ModuleBar {
 
 const ModPrev = StyleSheet.create({
 	container:{
+		paddingTop: 15,
 		marginBottom:34,
 		width:219
-		
+	},
+	previewContainer: {
+		minWidth: 50,
+		minHeight:40,
+		backgroundColor: 'rgba(255,255,255,0.1)',
+		borderWidth: 1,
+		borderColor: 'rgba(0,0,0,0.1)',
+		shadowColor: "rgba(0,0,0,0.81)",
+		shadowOffset: {
+			width: 0,
+			height: 1
+		},
+		shadowOpacity: 0.30,
+		shadowRadius: 4.65,
+		elevation: 3
 	},
 	NameCont:{
 		flex:1,
@@ -78,24 +93,24 @@ const ModPrev = StyleSheet.create({
 	},
 	name:{
 		textAlign:'left',
-		fontSize:14,
+		fontSize:12,
 		color:'#707070',
-		opacity:1,
+		opacity:0.8,
 		marginBottom:8,
 		letterSpacing:0
 	},
 	modern:{
 		color:'#707070',
-		fontSize:10,
+		fontSize:7,
 		letterSpacing:0.6,
 		opacity:0.5,
-		marginTop:5
+		marginTop:5,
+		textTransform: 'uppercase'
 	},
 	ContentCont:{
 		backgroundColor:'#F8F8F8',
 		width:216,
-		height:99,
-
+		padding: 10
 	},
 	content:{
 		flex:1,

+ 0 - 11
yarn.lock

@@ -5716,17 +5716,6 @@ [email protected]:
   resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
   integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==
 
-"trapilib@file:.yalc/trapilib":
-  version "1.1.1-aee1c675"
-  dependencies:
-    expo "^34.0.0-experiment.8"
-    prop-types "^15.7.2"
-    react "16.8.3"
-    react-dom "^16.8.6"
-    react-native "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz"
-    react-native-elements "^1.1.0"
-    react-native-web "^0.11.5"
-
 "trapilib@http://git.onarbooks.com/Klapi/TrapiLib.git":
   version "1.1.1"
   resolved "http://git.onarbooks.com/Klapi/TrapiLib.git#fd2d66f1ce2dedfd4eb7fb3d9ced30815dd3ccfa"