mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Improved styles and markup
This commit is contained in:
parent
2574ee2976
commit
324aa9bd84
|
@ -94,7 +94,7 @@ html, body
|
||||||
content: ''
|
content: ''
|
||||||
width 5px
|
width 5px
|
||||||
height 5px
|
height 5px
|
||||||
border-radius 100%
|
border-radius 3px
|
||||||
display block
|
display block
|
||||||
position absolute
|
position absolute
|
||||||
background white
|
background white
|
||||||
|
@ -198,7 +198,7 @@ html, body
|
||||||
top 20px
|
top 20px
|
||||||
height 32px
|
height 32px
|
||||||
width 32px
|
width 32px
|
||||||
// image 'images/starwars-icon.png' 32px 32px
|
image './images/starwars-icon.png' 32px 32px
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
transform translateY(-3px)
|
transform translateY(-3px)
|
||||||
|
@ -230,7 +230,7 @@ html, body
|
||||||
top 8px
|
top 8px
|
||||||
height 16px
|
height 16px
|
||||||
width 16px
|
width 16px
|
||||||
// image 'images/edit.png' 16px 16px
|
image './images/edit.png' 16px 16px
|
||||||
&:hover
|
&:hover
|
||||||
transform: rotate(270deg) translateX(100%)
|
transform: rotate(270deg) translateX(100%)
|
||||||
background #666
|
background #666
|
||||||
|
|
|
@ -46,7 +46,7 @@ module.exports = function(config, env) {
|
||||||
config.removeLoader('png');
|
config.removeLoader('png');
|
||||||
config.loader('png', function(cfg) {
|
config.loader('png', function(cfg) {
|
||||||
cfg.test = /\.png$/;
|
cfg.test = /\.png$/;
|
||||||
cfg.loader = 'file-loader'
|
cfg.loader = 'url-loader'
|
||||||
return cfg
|
return cfg
|
||||||
})
|
})
|
||||||
return config;
|
return config;
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
"react-router": "^0.13.5",
|
"react-router": "^0.13.5",
|
||||||
"rupture": "^0.6.1",
|
"rupture": "^0.6.1",
|
||||||
"stylus-loader": "^1.4.2",
|
"stylus-loader": "^1.4.2",
|
||||||
|
"url-loader": "^0.5.7",
|
||||||
"webpack": "^1.12.9"
|
"webpack": "^1.12.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ description: Walkthrough ObjectTypes
|
||||||
An ObjectType is the single, definitive source of information about your data. It contains the essential fields and behaviors of the data you’re querying.
|
An ObjectType is the single, definitive source of information about your data. It contains the essential fields and behaviors of the data you’re querying.
|
||||||
|
|
||||||
The basics:
|
The basics:
|
||||||
- Each ObjectType is a Python class that inherits graphene.ObjectType or inherits an implemented [interfaces](/docs/interfaces/).
|
- Each ObjectType is a Python class that inherits graphene.ObjectType or inherits an implemented [Interface](/docs/interfaces/).
|
||||||
- Each attribute of the ObjectType represents a GraphQL field.
|
- Each attribute of the ObjectType represents a GraphQL field.
|
||||||
|
|
||||||
## Quick example
|
## Quick example
|
||||||
|
|
Loading…
Reference in New Issue
Block a user